Esempio n. 1
0
 private void kelolaUserToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (usermanager == null)
     {
         usermanager             = new usermanager();
         usermanager.MdiParent   = this.MdiParent;
         usermanager.FormClosed += new FormClosedEventHandler(Usermanager_FormClosed);
         usermanager.Show();
     }
     else
     {
         usermanager.Activate();
     }
 }
Esempio n. 2
0
 private void Usermanager_FormClosed(object sender, FormClosedEventArgs e)
 {
     usermanager = null;
 }