Exemple #1
0
        //Door Juan
        private void kassaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.panel1.Controls.Clear();
            this.groupBox1.Text = "Studenten";
            studentenList       = SomerenUI.showStudents();

            drankenList = SomerenUI.showDrankVoorraad();

            drankenList.Location = new Point(85, 0);

            studentenList.HideSelection = false;
            studentenList.FullRowSelect = true;

            drankenList.HideSelection = false;
            drankenList.FullRowSelect = true;

            this.panel1.Controls.Add(studentenList);
            this.panel1.Controls.Add(drankenList);


            Button afrekenen = new Button();

            afrekenen.Text = "Afrekenen";
            this.panel1.Controls.Add(afrekenen);

            afrekenen.Location = new Point(490, 200);

            afrekenen.Click += afrekenenEvent;
        }
Exemple #2
0
 private void drankvoorraadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     // Made by: Davut
     this.panel1.Controls.Clear();
     this.groupBox1.Text = "DrankVoorraad";
     this.panel1.Controls.Add(SomerenUI.showDrankVoorraad());
 }