예제 #1
0
        //Button events
        private void btnActionOpnemen_Click(object sender, EventArgs e)
        {
            this.Close();
            OrderMenusForm form = new OrderMenusForm(werknemer, tafelNummer);

            form.Show();
        }
예제 #2
0
        private void btn_Terug_Click(object sender, EventArgs e)
        {
            OrderMenusForm form = new OrderMenusForm(werknemer, tafelnummer);

            this.Close();
            form.Show();
        }
예제 #3
0
        public OrderForm(string sort, int tafelnummer, Bestelling order, Inlog werknemer, OrderMenusForm 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;
        }