Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
        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();
 }