示例#1
0
 private void btnCardDetail_Click(object sender, EventArgs e)
 {
     if (_cardDTO != null && _rechargeDTO != null)
     {
         frmCardInfo = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
         frmCardInfo.ShowDialog();
     }
     m_iTimeOutReset = 0;
 }
示例#2
0
        public frmSGMSaleGas(SystemAdminDTO adminDTO, GasStationDTO gasStationDTO, int priceGas92, int priceGas95, int priceGasDO, float totalGas92, float totalGas95, float totalGasDO)
        {
            InitializeComponent();
            _adminDTO = adminDTO;
            _gasStationDTO = gasStationDTO;

            m_iCurrentPriceGas92 = priceGas92;
            m_iCurrentPriceGas95 = priceGas95;
            m_iCurrentPriceGasDO = priceGasDO;
            m_iCurrentTotalGas92 = totalGas92;
            m_iCurrentTotalGas95 = totalGas95;
            m_iCurrentTotalGasDO = totalGasDO;
            m_jsHelper = new JSonHelper();
            frmMsg = new frmSGMMessage();
            frmCardInfo = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
            lblCurrentPrice.Text = SGMText.SALEGAS_CURRENT_PRICE + SGMText.GAS_92_TEXT + " : " +  m_iCurrentPriceGas92 + " , "  + SGMText.GAS_95_TEXT + " : "+ m_iCurrentPriceGas95 + " , " + SGMText.GAS_DO_TEXT + " : " + m_iCurrentPriceGasDO;
        }
示例#3
0
        public frmSGMSaleGas(SystemAdminDTO adminDTO, GasStationDTO gasStationDTO, int priceGas92, int priceGas95, int priceGasDO, float totalGas92, float totalGas95, float totalGasDO)
        {
            InitializeComponent();
            _adminDTO      = adminDTO;
            _gasStationDTO = gasStationDTO;

            m_iCurrentPriceGas92 = priceGas92;
            m_iCurrentPriceGas95 = priceGas95;
            m_iCurrentPriceGasDO = priceGasDO;
            m_iCurrentTotalGas92 = totalGas92;
            m_iCurrentTotalGas95 = totalGas95;
            m_iCurrentTotalGasDO = totalGasDO;
            m_jsHelper           = new JSonHelper();
            frmMsg               = new frmSGMMessage();
            frmCardInfo          = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
            lblCurrentPrice.Text = SGMText.SALEGAS_CURRENT_PRICE + SGMText.GAS_92_TEXT + " : " + m_iCurrentPriceGas92 + " , " + SGMText.GAS_95_TEXT + " : " + m_iCurrentPriceGas95 + " , " + SGMText.GAS_DO_TEXT + " : " + m_iCurrentPriceGasDO;
        }
示例#4
0
 private void btnCardDetail_Click(object sender, EventArgs e)
 {
     if (_cardDTO != null && _rechargeDTO != null)
     {
         frmCardInfo = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
         frmCardInfo.ShowDialog();
     }
     m_iTimeOutReset = 0;
 }