Example #1
0
 private void viewUsersToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (v == null)
     {
         ViewUsers v = new ViewUsers();
         v.FormClosed += V_FormClosed;
         v.MdiParent   = this;
         v.Show();
     }
     else
     {
         v.Activate();
     }
 }
Example #2
0
 private void V_FormClosed(object sender, FormClosedEventArgs e)
 {
     v = null;
     //throw new NotImplementedException();
 }