public void Hide_Form() { if (Form != null) { Form.Close(); Form = null; } }
/// <summary> /// Occurs when this command is clicked /// </summary> public override void OnClick() { IWin32Window pWin = null; if (Form == null || Form.IsDisposed) { Form = new Frm_Report(); } if (!Form.Visible) { Form.Set_HookHelper = m_hookHelper; Form.Show(pWin); } }