示例#1
0
        private void BThome_Click(object sender, EventArgs e)
        {
            Close();
            FestivalListForm f2 = new FestivalListForm();

            f2.Show();
        }
示例#2
0
        private void button5_Click(object sender, EventArgs e)
        {
            FestivalListForm festival = new FestivalListForm();

            festival.Show();
            this.Close();
        }
示例#3
0
        private void BThome_Click_1(object sender, EventArgs e)
        {
            FestivalListForm festivalListForm = new FestivalListForm();

            festivalListForm.Show();
            this.Close();
        }
示例#4
0
 private void BTlogin_Click(object sender, EventArgs e)
 {
     if (tbUsername.Text != null && tbPassword.Text != null)
     {
         if (dbs.login(tbUsername.Text, tbPassword.Text))
         {
             FestivalListForm fm = new FestivalListForm();
             fm.Show();
             this.Hide();
         }
         else
         {
             MessageBox.Show("Gebruikersnaam en/of wachtwoord is onbekend.", "Waarschuwing");
         }
     }
     else
     {
         MessageBox.Show("Geen lege invoervelden toegestaan.", "Waarschuwing");
     }
 }