public static void CreateDialog() { if (_instance == null) { _instance = new MiniSizeLogDialog(); _instance.ShowDialog(); } }
private void OnClosing(object sender, CancelEventArgs cancelEventArgs) { _instance = null; }