예제 #1
0
 private void aboutNacossEVotingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (about == null)
     {
         about = new FrmAbout {MdiParent = this};
         about.FormClosed += about_FormClosed;
         about.Show();
         about.WindowState = FormWindowState.Normal;
     }
     else
     {
         about.Activate();
         about.WindowState = FormWindowState.Normal;
     }
 }
예제 #2
0
 void about_FormClosed(object sender, FormClosedEventArgs e)
 {
     about = null;
 }