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(); }