MDI form can display multiple child window inside them.By this we can simply manage the child windows from the parent form.Closing the parent window,the user closes the other windows.
Create the standard window application......
take the menuscript control in the form and also add 4 window form......like this
design the menuscript like this .
in the form load event write this line........
double click on the login menu you will get the code window and write the code in this window.
in the signup click event .............
in the about us click event
in the contact click event...........
write all the code listed above....................
you noticed that the last line of each click event. it used for different arrangement of the child window and please check the output and notice the difference when you open multiple window............
this.layoutMDI -it helps in arranging the child window . there are 4 different arrangement .......
Create the standard window application......
take the menuscript control in the form and also add 4 window form......like this
design the menuscript like this .
in the form load event write this line........
double click on the login menu you will get the code window and write the code in this window.
in the signup click event .............
in the about us click event
in the contact click event...........
write all the code listed above....................
you noticed that the last line of each click event. it used for different arrangement of the child window and please check the output and notice the difference when you open multiple window............
this.layoutMDI -it helps in arranging the child window . there are 4 different arrangement .......
- Cascade
- Tile Horizontal
- Tile Vertical
- Arrange Icons
No comments :
Post a Comment