예제 #1
0
 public CashierInputView(SalesManager.TransactionHandler h, SalesManager.ItemHandler i, SalesManager.EndTransactionHandler e)
 {
     transHandler   = h;
     itemHandler    = i;
     endTransaction = e;
     InitializeComponent();
     uxAdd.Enabled = false;
     uxFinishTransaction.Enabled = false;
     uxItemName.Enabled          = false;
     uxPrice.Enabled             = false;
     uxQuantity.Enabled          = false;
     uxItemList.Items.Add(" Item          Price         Quantity");
 }
예제 #2
0
 public ConsoleInput(SalesManager.TransactionHandler h, SalesManager.ItemHandler i, SalesManager.EndTransactionHandler e)
 {
     transHandler   = h;
     itemHandler    = i;
     endTransaction = e;
 }