Пример #1
0
 private void FamiliesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmFamilies == null)
     {
         frmFamilies             = new FamiliesFrm();
         frmFamilies.MdiParent   = this;
         frmFamilies.FormClosed += FrmFamilies_FormClosed;
         frmFamilies.Show();
     }
     else
     {
         frmFamilies.Activate();
     }
 }
Пример #2
0
 private void FrmFamilies_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmFamilies = null;
 }