Hello,
I want to create a small project to enter customer records and it's associated banks.
Please advise how can i create using MDI forms parent/child.
Thanking You
Bharati
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jan 7, 2013, 7:29 AM
arockia arulnathanPosted Jan 7, 2013, 7:06 AM
You can add the new MDI Form from Add New Item. And In the designer itself you can create the menu for your data entry project. And After created the menu item, double click that menu to link the other form to that menu. The code behind will be shown.
From that you can add the following code:
Form frm = new Form1();
frm.showDialogue();
frm.MDIParent(this);
the MDIParent(this) method will help us to make the form link with the active parent MDI.
showDialogue() help us to avoid the duplicate form of same menu item.
Hope It helps.