private void LoadRules() { rules = controller.GetRules(); tbNhapToiThieu.Text = rules.MininumImport.ToString(); tbNoToiDa.Text = rules.MaximumOwe.ToString(); tbTonSauKhiBan.Text = rules.MaximumBookLeft.ToString(); tbTonTruocNhap.Text = rules.MinimumBookLeft.ToString(); }
public FormSellBook() { InitializeComponent(); CustomerController = new CustomerBLL(); BookController = new BookBLL(); //bookSelected = new Book(); BillController = new BillBLL(); RuleController = new MyRuleBLL(); ClearAndReload(); rules = RuleController.GetRules(); }
private void LoadRules() { rules = RulesController.GetRules(); }