Esempio n. 1
0
        public static KejuDialog GetInstance(KejuQA kejuQA)
        {
            if (_instance == null)
            {
                _instance = new KejuDialog();
                _instance.UpdateDialog(kejuQA);
            }

            return(_instance);
        }
Esempio n. 2
0
 /// <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);
 }