private void button4_Click(object sender, EventArgs e) { this.Hide(); NewUserRegistration ss = new NewUserRegistration(); ss.Show(); }
private void confirm_Click(object sender, EventArgs e) { name = "New User Registration"; if (Email_textBox.Text == email) { if (Key_textBox.Text == key) { MessageBox.Show("class: " + name); this.Hide(); NewUserRegistration ss = new NewUserRegistration(); ss.Show(); } else { MessageBox.Show("Wrong Key!\n Enter the 6-character KEY you received in the subscription."); } } else { MessageBox.Show("Wrong Input"); } }