private void Window_Closed(object sender, EventArgs e) { instance = null; }
private void ok_Clicked(object sender, RoutedEventArgs e) { Close(); instance = null; }
public static ErrorDialog Instance() { if (instance == null) instance = new ErrorDialog(); return instance; }