예제 #1
0
        public static void PopShow()
        {
            if (s_singleton == null)
                s_singleton = new CustomConfigForm();

            s_singleton.Show();
            s_singleton.Activate();
            s_singleton.WindowState = FormWindowState.Normal;
        }
예제 #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;
        }
예제 #3
0
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     s_singleton = null;
 }
예제 #4
0
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     s_singleton = null;
 }