private void DepartmentStockOutConfirmForm_Load(object sender, EventArgs e) { deptStockOutList = new StockOutViewCollection(bdsDeptStockOut); bdsDeptStockOut.DataSource = deptStockOutList; bdsDeptStockOut.ResetBindings(true); deptStockOutDetailList = new StockOutDetailViewCollection(bdsDeptStockOutDetail); bdsDeptStockOutDetail.DataSource = deptStockOutDetailList; bdsDeptStockOutDetail.ResetBindings(true); }
private void MainStockOutReportForm_Load(object sender, EventArgs e) { stockOutList = new StockOutViewCollection(bdsStockOut); bdsStockOut.DataSource = stockOutList; bdsStockOut.ResetBindings(true); stockOutDetailViewList = new StockOutDetailViewCollection(bdsStockOutDetail); bdsStockOutDetail.DataSource = stockOutDetailViewList; bdsStockOutDetail.ResetBindings(true); }