Example #1
0
 public void copy(BillItemLine line)
 {
     itemName  = line.itemName;
     desc      = line.desc;
     quantity  = line.quantity;
     cost      = line.cost;
     className = line.className;
 }
Example #2
0
 public void updateItemLine(string itemName, BillItemLine line)
 {
     foreach (BillItemLine l in itemLines)
     {
         if (l.ItemName == itemName)
         {
             l.copy(line);
             break;
         }
     }
 }
Example #3
0
 public void addItemLine(BillItemLine line)
 {
     itemLines.Add(line);
 }