In my Windows Application using c#, I have created Mdi parent form and few child forms. I have linked the forms correctly, but I want that, If any child form is open then the parent form should not be working or be able to select till the child form is closed. How can I do it?
Thanks in Advance !!!

Sujeet SumanRank #790 · 2.9K reputationPosted Jan 24, 2016, 8:28 AM EST
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 24, 2016, 12:21 AM EST
ChildForm chld= new ChildFirm();
chld.ShowDialog();
If it helps you select it as correct answer.
Mithun PattankarRank #1,446 · 1.1K reputationPosted Jan 24, 2016, 12:18 AM EST
AnkushRank #8,005 · 230 reputationPosted Jan 24, 2016, 12:48 AM EST
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 24, 2016, 2:44 AM EST
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 24, 2016, 2:51 AM EST
child.Show ();
If it helps you select it as correct answer.
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 24, 2016, 2:57 AM EST
child.Show ();
If it helps you select it as correct answer.
AnkushRank #8,005 · 230 reputationPosted Jan 24, 2016, 5:17 AM EST
AnkushRank #8,005 · 230 reputationPosted Jan 24, 2016, 5:23 AM EST
AnkushRank #8,005 · 230 reputationPosted Jan 24, 2016, 5:23 AM EST
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 24, 2016, 7:00 AM EST
AnkushRank #8,005 · 230 reputationPosted Jan 24, 2016, 9:39 AM EST