How to hide mdi child forms in c#.net? -


I want a code to hide the appearance of many children in MDI whenever I click as a child, it Should be in front Other forms will automatically hide. How can I do this?

If you are watching MdiChildActivate event, you hide all MDI children who like this Not active:

  Private Zero MDIMain_Mdi Child Active (Object Sender, EventArgs e) {foreach (f.MdiChildren from) {if (this.ActiveMdiChild! = F) F. Hyde ( ); }}  

Comments