示例#1
0
 private void manageProductToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (formMasterLaundry == null)
     {
         formMasterLaundry             = new FormMasterLaundry();
         formMasterLaundry.MdiParent   = this;
         formMasterLaundry.FormClosed += FormMasterLaundry_FormClosed;
         formMasterLaundry.Show();
     }
     else
     {
         formMasterLaundry.Activate();
     }
 }
示例#2
0
 private void FormMasterLaundry_FormClosed(object sender, FormClosedEventArgs e)
 {
     formMasterLaundry = null;
     //throw new NotImplementedException();
 }