private void addCToolStripMenuItem_Click(object sender, EventArgs e) { if (gl == null || gl.IsDisposed) { gl = new Account_Plan_about_GL_File(); gl.MdiParent = this; gl.IdSoc = idSociete; gl.Show(); } else { gl.WindowState = FormWindowState.Maximized; gl.Activate(); } }
private void addCToolStripMenuItem_Click(object sender, EventArgs e) { if (gl == null || gl.IsDisposed) { gl = new Account_Plan_about_GL_File(); gl.MdiParent = this; gl.IdSoc = idSociete; gl.Show(); } else { gl.WindowState = FormWindowState.Maximized; gl.Activate(); } }