private void sauvegardeToolStripMenuItem2_Click(object sender, EventArgs e) { foreach (Form frm in MdiChildren) { frm.Close(); } FormSauvegarde f1 = new FormSauvegarde(); f1.ShowDialog(); }
private void sauvegardeToolStripMenuItem1_Click(object sender, EventArgs e) { //foreach (Form child in this.MdiChildren) //{ // child.Close(); //} FormSauvegarde f1 = new FormSauvegarde(); f1.ShowDialog(); }