private void button1_Click(object sender, EventArgs e)
 {
     var form = new Hoofdmenu (naam);
     form.Location = this.Location;
     form.StartPosition = this.StartPosition;
     form.Show ();
     this.Hide ();
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var form = new Hoofdmenu(naam);

            form.Location      = this.Location;
            form.StartPosition = this.StartPosition;
            form.Show();
            this.Hide();
        }
Beispiel #3
0
        private void button9_Click_1(object sender, EventArgs e)
        {
            DbHandeler db   = new DbHandeler();
            string     naam = db.login(login);

            if (naam != "")
            {
                var form = new Hoofdmenu(naam);
                form.Location      = this.Location;
                form.StartPosition = this.StartPosition;
                form.Show();
                this.Hide();
            }
            else
            {
                txtbox_pincode.Text = "";
                login = "";
                txtbox_pincode.BackColor = Color.Crimson;
            }
        }
Beispiel #4
0
 private void button9_Click_1(object sender, EventArgs e)
 {
     DbHandeler db = new DbHandeler ();
     string naam = db.login(login);
     if (naam != "") {
         var form = new Hoofdmenu (naam);
         form.Location = this.Location;
         form.StartPosition = this.StartPosition;
         form.Show ();
         this.Hide ();
     } else {
         txtbox_pincode.Text = "";
         login = "";
         txtbox_pincode.BackColor = Color.Crimson;
     }
 }