+ 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?

10th Oct 2017, 8:05 PM
Vahid Vakili
Vahid Vakili - avatar
1 Odpowiedź
+ 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(); }
10th Oct 2017, 11:57 PM
Akin
Akin - avatar