Example #1
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;
        }
Example #2
0
 public frmSGMLogin()
 {
     InitializeComponent();
     m_jsHelper = new JSonHelper();
     frmMsg = new frmSGMMessage();
 }
Example #3
0
 public CustomerDAL()
 {
     m_dbConnection = new DBConnetionDAL();
     m_jsHelper = new JSonHelper();
 }