private void btnGuest_Click(object sender, EventArgs e) { this.Hide(); ParticpantView openInstance = new ParticpantView(); openInstance.ShowDialog(); Environment.Exit(0); }
private void btnUser_Click(object sender, EventArgs e) { // Opens the participants registration form. this.Hide(); ParticpantView openInstance = new ParticpantView(); openInstance.ShowDialog(); Environment.Exit(0); }