示例#1
0
        private void sauvegardeToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            foreach (Form frm in MdiChildren)
            {
                frm.Close();
            }
            FormSauvegarde f1 = new FormSauvegarde();

            f1.ShowDialog();
        }
示例#2
0
        private void sauvegardeToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            //foreach (Form child in this.MdiChildren)
            //{
            //    child.Close();
            //}
            FormSauvegarde f1 = new FormSauvegarde();

            f1.ShowDialog();
        }