public static void subShowDLEvents(Form _mdiParent) { try { if (objDLEvents == null) objDLEvents = new GGCC.frmDLEvents(); objDLEvents.MdiParent = _mdiParent; objDLEvents.Show(); } catch (Exception ex) { clsErr.subLogErr("subShowDLEvents", ex); } }
public static void subCloseDLEvents() { try { objDLEvents.Close(); objDLEvents.Dispose(); objDLEvents = null; } catch (Exception ex) { clsErr.subLogErr("subCloseDLEvents", ex); } }