Ejemplo n.º 1
0
 private void bChantier_Click(object sender, EventArgs e)
 {
     if (svr == null || svr.IsDisposed)
     {
         svr = new SVR();
         svr.MdiParent = this;
         svr.idSoc = idSociete;
         svr.codeSoc = CodeSoc;
         svr.NomSoc = NomSoc;
         svr.Show();
     }
     else
     {
         lst.WindowState = FormWindowState.Maximized;
         lst.Activate();
     }
 }
Ejemplo n.º 2
0
 private void summaryVarienceReportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (svr == null || svr.IsDisposed)
     {
         svr = new SVR();
         svr.MdiParent = this;
         svr.idSoc = idSociete;
         svr.codeSoc = CodeSoc;
         svr.NomSoc = NomSoc;
         svr.Show();
     }
     else
     {
         lst.WindowState = FormWindowState.Maximized;
         lst.Activate();
     }
 }