Esempio n. 1
0
 private void BingdingCmb()
 {
     cmbVipLevel.DataSource    = levelBLL.VipLevelSelectByIsVip(true);
     cmbVipLevel.DisplayMember = "LVNAME";
     cmbVipLevel.ValueMember   = "LVID";
     cmbDPID.DataSource        = departBLL.DepartSelect();
     cmbDPID.DisplayMember     = "DPNAME";
     cmbDPID.ValueMember       = "DPID";
 }
 private void BingdingCmb()
 {
     this.Invoke(new Action(() =>
     {
         cmbLevel.DataSource    = levelBLL.VipLevelSelectByIsVip(false);
         cmbLevel.DisplayMember = "LVNAME";
         cmbLevel.ValueMember   = "LVID";
     }));
 }
Esempio n. 3
0
 void bg_DoWork(object sender, DoWorkEventArgs e)
 {
     vipLevelList = levelBLL.VipLevelSelectByIsVip(false);
     departList   = departBLL.DepartSelect();
 }
Esempio n. 4
0
 void bg_DoWork(object sender, DoWorkEventArgs e)
 {
     vipLVList = vipLVBLL.VipLevelSelectByIsVip(true);
 }