public OrderMenuAddForm(MenuItem item, OrderMenusForm2 orderMenusForm2, OrderForm2 orderForm) { InitializeComponent(); materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.DARK; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); this.item = item; this.orderMenusForm2 = orderMenusForm2; this.orderForm = orderForm; }
public OrderMenusEditForm(OrderItem item, OrderMenusForm2 form, int index) { InitializeComponent(); materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.DARK; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); this.form = form; this.item = item; itemvoorraad = item.menuItem.voorraad; this.index = index; }
public OrderForm2(string sort, int tafelnummer, Bestelling order, Inlog werknemer, OrderMenusForm2 orderMenusForm) { InitializeComponent(); // Initialize MaterialSkinManager materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.DARK; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); this.sort = sort; this.order = order; this.tafelnummer = tafelnummer; this.werknemer = werknemer; this.orderMenusForm = orderMenusForm; }