public static void Error(string str, Exception e)
 {
     ErrorForm form = new ErrorForm();
     form.errorTextBox.Text = e.ToString() + "\n";
     form.descriptionTextBox.Text = str;
     form.ShowDialog();
 }
Beispiel #2
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();
        }
 public static void Error(string str)
 {
     ErrorForm form = new ErrorForm();
     form.errorTextBox.Text = str + "\n";
     form.ShowDialog();
 }