コード例 #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();
 }
コード例 #2
0
        public FormSellBook()
        {
            InitializeComponent();
            CustomerController = new CustomerBLL();
            BookController     = new BookBLL();
            //bookSelected = new Book();
            BillController = new BillBLL();
            RuleController = new MyRuleBLL();

            ClearAndReload();
            rules = RuleController.GetRules();
        }
コード例 #3
0
 private void LoadRules()
 {
     rules = RulesController.GetRules();
 }