Beispiel #1
0
 private void getVipList()
 {
     vipBirthList = vipBLL.VipSelectByDpId(StaticData.departLocal.DpId);
     if (vipBirthList == null)
     {
         return;
     }
     txtBirth.BeginInvoke(new CompeleteDelete(Compelete));
 }
        private void FillVipId()
        {
            try
            {
                List <VIPInfo> vipList = new List <VIPInfo>();
                vipList                = vipBLL.VipSelectByDpId(Int32.Parse(cmbVipDepart.SelectedValue.ToString()));
                cmbVipId.DataSource    = vipList;
                cmbVipId.DisplayMember = "VIPID";
                cmbVipId.ValueMember   = "VIPID";
                VFirst  = false;
                IsFirst = false;

                if (IsCardChang)
                {
                    cmbVipId.SelectedValue = vipId;
                    FillLVMessage();
                    IsCardChang = false;
                }
            }
            catch (Exception ex)
            {
            }
        }
Beispiel #3
0
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     backgroundWorker1.ReportProgress(10); //这里让进度条显示进度
     vipList = vipBLL.VipSelectByDpId(selectDpId);
     backgroundWorker1.ReportProgress(70); //这里让进度条显示进度
 }