Exemplo n.º 1
0
 private void userInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.accountInfoForm == null)
     {
         this.accountInfoForm             = new AccountInfoForm();
         this.accountInfoForm.MdiParent   = this;
         this.accountInfoForm.FormClosed += new FormClosedEventHandler(this.accountInfo_FormClosed);
         this.accountInfoForm.Show();
     }
     else
     {
         this.accountInfoForm.Activate();
     }
 }
Exemplo n.º 2
0
 private void accountInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.accountInfoForm = null;
 }
Exemplo n.º 3
0
 private void userInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.accountInfoForm == null)
     {
         this.accountInfoForm = new AccountInfoForm();
         this.accountInfoForm.MdiParent = this;
         this.accountInfoForm.FormClosed += new FormClosedEventHandler(this.accountInfo_FormClosed);
         this.accountInfoForm.Show();
     }
     else
     {
         this.accountInfoForm.Activate();
     }
 }
Exemplo n.º 4
0
 private void accountInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.accountInfoForm = null;
 }