Exemplo n.º 1
0
 private void FormCustomerStayRpt_Load(object sender, EventArgs e)
 {
     dtpStart.Enabled = false;
     dtpEnd.Enabled   = false;
     cboHourS.Enabled = false;
     cboHourE.Enabled = false;
     lblStart.Text    = "入住/离店起始时间";
     lblEnd.Text      = "入住/离店结束时间";
     listCode         = hml.GetCodeDesc("CUSTOMER_STAY_INFO", "STATUS");
     listCodePay      = hml.GetCodeDesc("CUSTOMER_STAY_INFO", "PAY_TYPE");
     BindCbo();
     BindHour();
     rptHelper1.GridViewSource = dgvCustomerStay;
     rptHelper1.PrintVisible   = false;
 }
Exemplo n.º 2
0
 private void LoadUIInfo()
 {
     try
     {
         listCodePay = hml.GetCodeDesc("CUSTOMER_STAY_INFO", "PAY_TYPE");
         BindCbo();
         cboRoomStatus.SelectedIndex = 0;
     }
     catch (Exception err)
     {
         cmn.Show(err.Message);
     }
 }