public static void PopShow() { if (s_singleton == null) s_singleton = new CustomConfigForm(); s_singleton.Show(); s_singleton.Activate(); s_singleton.WindowState = FormWindowState.Normal; }
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; }