Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Problem with my MDI program
11-04-2007, 04:00 AM #1
Problem with my MDI program
I made an MDI program, and im trying to take another program ive made in the past and open it in the main container. So i added existing item into the program. and i added the appropriate code into the source (nameofthemain.frmcontainer parent) like all the other mdi children, then after the initialization (this.mdiparent = parent)
then on the button to open the program:
//create a new instance of the child form Name_of_main.NAME_OF_THE_FORM_I_JUST_IMPORTED name = new name_of_the_main.NAME OF THE FORM I JUST IMPORTED(this); //show the form name.Show();