Exemplo n.º 1
0
 public frmSGMCustomer()
 {
     InitializeComponent();
     m_service = new SGM_Service.ServiceSoapClient();
     frmMSg = new frmSGMMessage();
     frmRechard = new frmSGMRechargeCard();
     serialDatahandler = new SerialDataReceivedEventHandler(CardReaderReceivedHandler);
     RFIDReader.RegistryReaderListener(Program.ReaderPort, serialDatahandler);
 }
Exemplo n.º 2
0
 public frmSGMCustomer()
 {
     InitializeComponent();
     m_service         = new SGM_Service.ServiceSoapClient();
     frmMSg            = new frmSGMMessage();
     frmRechard        = new frmSGMRechargeCard();
     serialDatahandler = new SerialDataReceivedEventHandler(CardReaderReceivedHandler);
     RFIDReader.RegistryReaderListener(Program.ReaderPort, serialDatahandler);
 }
Exemplo n.º 3
0
        private void btnRecharge_Click(object sender, EventArgs e)
        {
            frmSGMRechargeCard frmRechard = new frmSGMRechargeCard();

            frmRechard.StateRecharge    = true;
            frmRechard.StateChangeCard  = false;
            frmRechard.CardID           = m_dsCard.Tables[0].Rows[m_iCurrentCardIndex]["CARD_ID"].ToString();
            frmRechard.CurrentCardMoney = Int32.Parse(m_dsCard.Tables[0].Rows[m_iCurrentCardIndex]["CARD_MONEY"].ToString());
            frmRechard.CusID            = m_dsCustomer.Tables[0].Rows[m_iCurrentCustomerIndex]["CUS_ID"].ToString();
            frmRechard.ShowRecharge(this);


            //LoadCardList();
        }
Exemplo n.º 4
0
        private void btnRecharge_Click(object sender, EventArgs e)
        {
            frmSGMRechargeCard frmRechard = new frmSGMRechargeCard();
            frmRechard.StateRecharge = true;
            frmRechard.StateChangeCard = false;
            frmRechard.CardID = m_dsCard.Tables[0].Rows[m_iCurrentCardIndex]["CARD_ID"].ToString();
            frmRechard.CurrentCardMoney = Int32.Parse(m_dsCard.Tables[0].Rows[m_iCurrentCardIndex]["CARD_MONEY"].ToString());
            frmRechard.CusID = m_dsCustomer.Tables[0].Rows[m_iCurrentCustomerIndex]["CUS_ID"].ToString();
            frmRechard.ShowRecharge(this);

            //LoadCardList();
        }