コード例 #1
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GUIAbout about = new GUIAbout();
     about.SetTitle(PROGRAM_TITLE);
     about.SetVersion("Version " + VERSION_NUM);
     about.ShowDialog(this);
 }
コード例 #2
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs evt) {
     try {
         using (GUIAbout about = new GUIAbout()) {
             about.SetTitle(GlobalVariables.PROGRAM_TITLE);
             about.SetVersion("Version " + GlobalVariables.VERSION_NUM);
             about.ShowDialog(this);
         }
     } catch (Exception e) {
         Program.HandleException(this, e);
     }
 }