public static void showError(List <string> fehler) { if (formError == null) { formError = new FormError(); } formError.listBox1.DataSource = fehler; formError.BringToFront(); if (!formError.Visible) { formError.Show(); } }
private void FormError_FormClosed(object sender, FormClosedEventArgs e) { formError = null; }