예제 #1
0
 public static void Error(string str, Exception e)
 {
     ErrorForm form = new ErrorForm();
     form.errorTextBox.Text = e.ToString() + "\n";
     form.descriptionTextBox.Text = str;
     form.ShowDialog();
 }
예제 #2
0
 public static void Error(string str)
 {
     ErrorForm form = new ErrorForm();
     form.errorTextBox.Text = str + "\n";
     form.ShowDialog();
 }