示例#1
0
 public Register(int registerId, Store store, Cashier cashier)
 {
     this.id = registerId;
     this.store = store;
     this.cashier = cashier;
     createNewSale();
 }
示例#2
0
        public FormPOS()
        {
            InitializeComponent();

            Store store = new Store(1, "ABC","123 Abc St, ABC, CA 99999", 0.08m);
            Cashier cashier = new Cashier(store, 1, 1200m, "CashierA", "", "1/1/1988", "123 Abc St, ABC, CA 99999");
            setRegister(new Register(1, store, cashier));
        }
示例#3
0
        public FormPOS()
        {
            InitializeComponent();

            Store   store   = new Store(1, "ABC", "123 Abc St, ABC, CA 99999", 0.08m);
            Cashier cashier = new Cashier(store, 1, 1200m, "CashierA", "", "1/1/1988", "123 Abc St, ABC, CA 99999");

            setRegister(new Register(1, store, cashier));
        }