public void ShowRecharge(frmSGMCustomer frmParent) { this.frmParent = frmParent; if (m_bRecharge) { txtCardID.Enabled = false; txtCardID.Text = m_stCardID; txtExMoney.Text = m_iExCardMoney.ToString(); } else { txtCardID.Enabled = true; ResetInput(); if (m_bChangeCard) { txtCardMoney.Enabled = false; //txtExMoney.Enabled = false; txtCardMoney.Text = m_iCurrentCardMoney.ToString(); txtExMoney.Text = m_iExCardMoney.ToString(); } else { txtCardMoney.Enabled = true; //txtExMoney.Enabled = true; } txtCardID.Focus(); } GetPriceGas(); }