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(); } }
private void FormMasterLaundry_FormClosed(object sender, FormClosedEventArgs e) { formMasterLaundry = null; //throw new NotImplementedException(); }