private void ClosePopupButton() { if (frmPopupHandle != null) { clsConst.bfrmPopupButton = false; frmPopupHandle.SaveLocation(); frmPopupHandle.Close(); frmPopupHandle = null; } }
private void CallPopupButton() { if (clsConst.bfrmPopupButton == false) { frmPopupHandle = new frmPopupButton(); frmPopupHandle.Show(); } else { frmPopupHandle.Activate(); } }