+ 4
loading another form
I need to loading another form in a frame on my main form. Notic that This is not opening form in septate window. Can you help me?
1 Resposta
+ 2
This will help I think:
private ChildForm childForm;
private MoreForm moreForm;
ButtonThatOpenTheFirstChildForm_Click()
{
childForm = CreateTheChildForm();
childForm.MoreClick += More_Click;
childForm.Show();
}
More_Click()
{
childForm.Close();
moreForm = new MoreForm();
moreForm.Show();
}