public Form1() { InitializeComponent(); w = new Winkelmand(); p = new Product(); p.product(); datagrid(); }
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(); } }