Пример #1
0
 private void openProfile()
 {
     // show profile information
     frmProfile FrmProfile = new frmProfile(getCurrentlySelectedUser());
     FrmProfile.MdiParent = this.MdiParent;
     FrmProfile.StartPosition = FormStartPosition.CenterParent;
     FrmProfile.Show();
 }
Пример #2
0
 /*
  * Shows user's profile form
  */
 private void openProfile()
 {
     if (!focusForm("frmProfile"))
     {
         frmProfile FrmProfile = new frmProfile(this.current_user);
         FrmProfile.MdiParent = this;
         FrmProfile.StartPosition = FormStartPosition.CenterParent;
         FrmProfile.Show(); 
     }
 }