private void init() { billdao = new BillDao(); dataGrid2.SelectionMode = DataGridSelectionMode.Single; dataGrid2.IsReadOnly = true; getAllSell(); }
public BillMgr(IBillDao entityDao, IBillDetailMgr billDetailMgr, IActingBillMgr actingBillMgr, INumberControlMgr numberControlMgr, IUserMgr userMgr, ILocationLotDetailMgr locationLotDetailMgr, IEntityPreferenceMgr entityPreferenceMgr, IPlannedBillMgr plannedBillMgr, IBillTransactionMgr billTransactionMgr, ICriteriaMgr criteriaMgr, IPriceListDetailMgr priceListDetailMgr) : base(entityDao) { this.actingBillMgr = actingBillMgr; this.numberControlMgr = numberControlMgr; this.billDetailMgr = billDetailMgr; this.userMgr = userMgr; this.locationLotDetailMgr = locationLotDetailMgr; this.entityPreferenceMgr = entityPreferenceMgr; this.plannedBillMgr = plannedBillMgr; this.billTransactionMgr = billTransactionMgr; this.criteriaMgr = criteriaMgr; this.priceListDetailMgr = priceListDetailMgr; }
public BillService(IBillDao dao) { this.dao = dao; }
public BillBaseMgr(IBillDao entityDao) { this.entityDao = entityDao; }