示例#1
0
 public Form1()
 {
     InitializeComponent();
     w = new Winkelmand();
     p = new Product();
     p.product();
     datagrid();
 }
示例#2
0
 public void verzend(bool isgeslaagd, List <SaleLinesItem> productendb)
 {
     if (isgeslaagd)
     {
         Sales.ActiveForm.Close();
         Verzendingsinterface verzend = verzending(0, productendb);
         verzend.StuurEmail();
     }
     else
     {
         Sales.ActiveForm.Close();
         Winkelmand w = new Winkelmand();
         w.wm.productdb = productendb;
         w.Visible      = true;
         w.showwinkelwagen();
     }
 }