loading another form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
Vahid - avatar
1 Answer
+ 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