public VipNoBorrowWindow(int id) { InitializeComponent(); vipNoInfo = new VipNoInfo(); vipNoBLL = new VipNoBLL(); vipLevelBLL = new VipLevelBLL(); dpBLL = new DepartBLL(); borrowKindBLL = new BorrowKindBLL(); vipNoInfo.VipId = id; vipNoBorrowBLL = new VipNoBorrowBLL(); }
public VipNoReturnWindow(int id) { InitializeComponent(); vipNoInfo = new VipNoInfo(); vipNoBLL = new VipNoBLL(); //vipLVBLL = new VipLevelBLL(); //dpBLL = new DepartBLL(); vnBorrowBLL = new VipNoBorrowBLL(); vnBorrow = new VipNoBorrow(); borrowKindBLL = new BorrowKindBLL(); bRetBLL = new BikeReturnBLL(); vnBorrow.VipId = id; vipNoInfo.VipId = id; first = true; }
public VipReturnWindow(int id) { InitializeComponent(); vipMoneyTemp = new VipMoney(); vipMoneyTemp.VipId = id; vipMoneyTemp.IsVip = true; moneyBLL = new VipMoneyBLL(); vipInfo = new VIPInfo(); vipBLL = new VipBLL(); vipLVBLL = new VipLevelBLL(); dpBLL = new DepartBLL(); borrowBLL = new VipBorrowBLL(); borrowInfo = new VipBorrowInfo(); borrowKindBLL = new BorrowKindBLL(); bRetBLL = new BikeReturnBLL(); borrowInfo.VipId = id; vipInfo.VipId = id; first = true; returnBg.DoWork += new DoWorkEventHandler(returnBg_DoWork); returnBg.RunWorkerCompleted += new RunWorkerCompletedEventHandler(returnBg_RunWorkerCompleted); }