Beispiel #1
0
 public void AddToCredit(object sender, System.EventArgs e)
 {
     if (pos.isNoItems())
     {
         MessageBox.Show("No items, cannot append to credit");
     }
     else
     {
         Add_Credit_UI add_credit = new Add_Credit_UI();
         add_credit.setItemsModel(POS_Model);
         add_credit.setStockModel(StockModel);
         add_credit.setPOS(pos);
         add_credit.Show();
     }
 }
Beispiel #2
0
 public Add_Credit_Controller(Add_Credit_UI add_credit)
 {
     this.add_credit = add_credit;
 }