public static Frm_SingleFrom Create() { if (frm == null) { frm = new Frm_SingleFrom(); frm.FormClosed += frm_FormClosed; } return(frm); }
private static void frm_FormClosed(object sender, FormClosedEventArgs e) { frm.Dispose(); frm = null; }