示例#1
0
 /// <summary>
 /// Handles the Click event of the aboutToolStripMenuItem control.  Displays the
 /// <see cref="AboutBoxForm"/>.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the
 /// event data.</param>
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var aboutBoxForm = new AboutBoxForm())
     {
         aboutBoxForm.ShowDialog(this);
     }
 }
示例#2
0
 /// <summary>
 /// Handles the Click event of the aboutToolStripMenuItem control.  Displays the
 /// <see cref="AboutBoxForm"/>.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the 
 /// event data.</param>
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var aboutBoxForm = new AboutBoxForm())
     {
         aboutBoxForm.ShowDialog(this);
     }
 }