public orderUserControl1 SendNotification(orderParts orderParts, orderUserControl1 order, int index, string s, decimal quantity)
 {
     manfacture.ConstructOrder(orderParts, order, index, s, quantity);
     form.setFlow.Controls.Add(order);
     form.Myorders[form.Myorders.Count] = order;
     return(order);
 }
 public void ConstructOrder(orderParts orderParts, orderUserControl1 n, int index)
 {
     orderParts.setImage(n);
     n.Name     = orderParts.setName();
     n.Type     = orderParts.setType();
     n.Exters   = orderParts.setExters();
     n.Size1    = orderParts.setSize();
     n.Index    = index;
     n.Quantity = 1;
 }
Exemple #3
0
 public void ConstructOrder(orderParts orderParts, orderUserControl1 n, int index, string s, decimal quantity)
 {
     orderParts.setImage(n);
     n.Name     = orderParts.setName();
     n.Type     = orderParts.setType();
     n.Exters   = orderParts.setExters();
     n.Size1    = s;
     n.Index    = index;
     n.Quantity = quantity;
 }