public static void PopShow()
        {
            if (s_singleton == null)
                s_singleton = new CustomConfigForm();

            s_singleton.Show();
            s_singleton.Activate();
            s_singleton.WindowState = FormWindowState.Normal;
        }
Exemple #2
0
        public static void PopShow()
        {
            if (s_singleton == null)
            {
                s_singleton = new CustomConfigForm();
            }

            s_singleton.Show();
            s_singleton.Activate();
            s_singleton.WindowState = FormWindowState.Normal;
        }
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     s_singleton = null;
 }
Exemple #4
0
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     s_singleton = null;
 }