private void affectationCodeMemoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (code == null || code.IsDisposed)
     {
         code           = new Code_Memo();
         code.MdiParent = this;
         code.idSoc     = idSociete;
         code.Show();
     }
     else
     {
         code.WindowState = FormWindowState.Maximized;
         code.Activate();
     }
 }
 private void affectationCodeMemoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (code == null || code.IsDisposed)
     {
         code = new Code_Memo();
         code.MdiParent = this;
         code.idSoc = idSociete;
         code.Show();
     }
     else
     {
         code.WindowState = FormWindowState.Maximized;
         code.Activate();
     }
 }