Esempio n. 1
0
 private void gerirUtilizadoresToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (users == null)
     {
         users = new FrmUsers();
         users.MdiParent = this;
         users.Dock = DockStyle.Fill;
         users.FormClosed += Users_FormClosed;
         users.Show();
     }
     else
     {
         users.Activate();
     }
 }
Esempio n. 2
0
 private void Users_FormClosed(object sender, FormClosedEventArgs e)
 {
     users = null;
 }