Hello friends, today we will learn about MDI PARENT Form.
We will use the previous example of datagridview in desktop application-showing data.
Now add a new item by exploring solution explorer and add –> New Item , ADD NEW ITEM selection form will open as shown in the image.
Now add select windows form and name this form as mdimaster.
Change ismdicontainer to true to change a normal windows form to mdi parent form.
Use this code to show a mdi parent.
mdimaster mm = new mdimaster();
Download the project add mdi parent form to desktop application