Inheritance: System.Windows.Forms.Form
コード例 #1
0
 public static void ShowDialog(IWin32Window owner, Exception ex)
 {
     Trace.TraceError(ex.Message);
     using (var dlg = new ErrorDialog())
     {
         dlg.ErrorLabel.Text = ex.Message;
         dlg.ShowDialog(owner);
     }
 }