private void importGrossToNetToolStripMenuItem_Click(object sender, EventArgs e) { if (imp == null || imp.IsDisposed) { imp = new Import_of_Gross_to_Net(); imp.MdiParent = this; imp.CodeSoc = CodeSoc; imp.RefSoc = idSociete; imp.NomSoc = NomSoc; imp.Show(); } else { imp.WindowState = FormWindowState.Maximized; imp.Activate(); } }
private void importGrossToNetToolStripMenuItem_Click(object sender, EventArgs e) { if (imp == null || imp.IsDisposed) { imp = new Import_of_Gross_to_Net(); imp.MdiParent = this; imp.CodeSoc = CodeSoc; imp.RefSoc = idSociete; imp.NomSoc = NomSoc; imp.Show(); } else { imp.WindowState = FormWindowState.Maximized; imp.Activate(); } }