public void add_order(string name, string type, int quantity, int price, int total)
        {
            OrderClass order = new OrderClass();

            order.ItemName     = name;
            order.ItemType     = type;
            order.ItemQuantity = quantity;
            order.ItemPrice    = price;
            order.Total1       = total;
            OrderDL.orderlist.Add(order);
        }
Example #2
0
 void addOrder(OrderClass selecteditems)
 {
     orderlist.Add(selecteditems);
 }