private void OpenMoneyRechargeForm()
        {
            if (this.memberInfo == null)
            {
                ShowWarnMsgBox(MessageConst.errMsg_DataError);
                return;
            }

            string memberKey = this.memberInfo.Member_ID.ToString();
            Form061_MoneyRecharge f61 = checkFormIsOpened("Form61_MoneyRecharge") as Form061_MoneyRecharge;
            if (f61 != null)
            {
                f61.ShowDialog();
            }
            else
            {
                f61 = new Form061_MoneyRecharge(memberKey);
                f61.ShowDialog();
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 会员充值按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnMoneyRecharge_Click(object sender, EventArgs e)
        {
            string memberKey = this.gridViewMembers.GetRowCellDisplayText(this.gridViewMembers.FocusedRowHandle, "Member_ID");
            if (string.IsNullOrEmpty(memberKey))
            {
                ShowInfoMsgBox(MessageConst.errMsg_noSelect);
                return;
            }

            using (Form061_MoneyRecharge frm61_MoneyRecharge = new Form061_MoneyRecharge(string.Empty))
            {
                frm61_MoneyRecharge.ShowDialog();
            }
        }