Beispiel #1
0
 public static void ShowException(Exception ex)
 {
     using (var box = new AboutBox())
     {
         MessageBox.Show(ex.Message, box.AssemblyTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Beispiel #2
0
 /// <summary>
 /// コマンド AboutBox
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void uiMenuAbout_Click(object sender, EventArgs e)
 {
     using (var box = new AboutBox())
     {
         box.ShowDialog();
     }
 }