parent form from child form - urgent plz
hi all,
im creating a windows application in C#.net.in that,
im having form1 with listbox.
im calling form2 from form1.
in form2 i want to populate the list box of form1 and activate form1
(if i use
form1 fn=new form1();
fn.show();
---> it creates a new instance of form1.that i dont want.i want to populate the listbox of already existing form1 and activate that form)
(ie)i want to access the parent form1 from child form2.
|