public static KejuDialog GetInstance(KejuQA kejuQA) { if (_instance == null) { _instance = new KejuDialog(); _instance.UpdateDialog(kejuQA); } return(_instance); }
/// <summary> /// Raises the Form.FormClosed event /// </summary> /// <param name="e">Arguments for this event</param> protected override void OnFormClosed(FormClosedEventArgs e) { KejuDialog.IsOpen = false; _instance = null; base.OnFormClosed(e); }