private void BThome_Click(object sender, EventArgs e) { Close(); FestivalListForm f2 = new FestivalListForm(); f2.Show(); }
private void button5_Click(object sender, EventArgs e) { FestivalListForm festival = new FestivalListForm(); festival.Show(); this.Close(); }
private void BThome_Click_1(object sender, EventArgs e) { FestivalListForm festivalListForm = new FestivalListForm(); festivalListForm.Show(); this.Close(); }
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"); } }