To create MDI form we have to open a form then we have to set the

property ‘IsMdiContainer’ of the form to ‘true’. The form will look like this.

this.IsMdiContainer = true;               


Now add menu, to add menu use menuStrip from tools.



Now, once the MDI form is created we need to do its coding.

    private void mdiRecords_Load(object sender, EventArgs e)
                this.IsMdiContainer = true;               
                frmRecord fr = new frmRecord();
             //here setting child form MdiParent to this MDI form.
                fr.MdiParent = this;



  Here, MDIParent1 is parent form and Record (frmRecord) is child form.


  Modified On Nov-29-2017 07:01:19 PM

Leave Comment