Exemplo n.º 1
0
 private void consultCompanyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cons == null || cons.IsDisposed)
     {
         cons           = new Consult_Company();
         cons.MdiParent = this;
         cons.Show();
     }
     else
     {
         cons.WindowState = FormWindowState.Maximized;
         cons.Activate();
     }
 }
Exemplo n.º 2
0
 private void consultCompanyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cons == null || cons.IsDisposed)
     {
         cons = new Consult_Company();
         cons.MdiParent = this;
         cons.Show();
     }
     else
     {
         cons.WindowState = FormWindowState.Maximized;
         cons.Activate();
     }
 }