{
HelpForm frm = new HelpForm();
frm.Show();
} I want to pass a value to HelpForm. Is it possible?
Create a Method "LoadPage(string name)" or sth similar in "HelpForm" class with the public modifier. Then you are able to write frm.LoadPage(e.NameOfThePageWhereButtonWasClicked) instead of frm.Show().
Обсуждают сегодня