Beispiel #1
0
 private void changePasswordMenuItem_Click(object sender, EventArgs e)
 {
     if (userCPForm == null)
     {
         userCPForm           = new UserControlPanelForm(currentUserName);
         userCPForm.MdiParent = this;
         userCPForm.Show();
     }
     else
     {
         userCPForm.Activate();
     }
 }
Beispiel #2
0
 private void userCPMenuItem_Click(object sender, EventArgs e)
 {
     UserControlPanelForm userCPForm = new UserControlPanelForm(currentUserName);
     userCPForm.MdiParent = this;
     userCPForm.Show();
 }