Close all child forms from the mdiparent form using this.MdiChildren in windows application
By Super Man
I will provide you a code for how to close all the all child forms in windows application
foreach (Form aForm in this.MdiChildren)
{
aForm.Close();
}
Close all child forms from the mdiparent form using this.MdiChildren in windows application (1899 Views)