Ejemplo n.º 1
0
 private void BackToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (accountInformation == null || accountInformation.IsDisposed)
     {
         accountInformation = new AccountInformation();
         accountInformation.Show();
     }
     else
     {
         if (accountInformation.WindowState == FormWindowState.Minimized)
         {
             accountInformation.WindowState = FormWindowState.Maximized;
         }
         accountInformation.Activate();
     }
 }