Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

MDI and child management

$
0
0

Hi all,

If i have a MDIform and two other forms (form1 ,form2) as child of parent MDIForm,when i create a new instance of child forms i can set my form easily to it is parent

form1 frm1 = new ...

frm1.mdiparent = this;

my question is here how i can create instance of form2 and set it as child of MDIparent from inside the first form1, in other words now form1 is running i want to create form2 instance as child of parent MDIform on form1 close event.

thanks


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>