Beispiel #1
0
 private void MM_service_Click(object sender, EventArgs e)
 {
     if (ms == null)
     {
         ms             = new ManageService();
         ms.MdiParent   = this;
         ms.FormClosed += new FormClosedEventHandler(Ms_FormClosed);
         ms.Show();
     }
     else
     {
         ms.Activate();
     }
 }
Beispiel #2
0
 private void Ms_FormClosed(object sender, FormClosedEventArgs e)
 {
     ms = null;
 }