private void bunifuThinButton22_Click(object sender, EventArgs e) { if (textBox1.Text == "admin") { if (textBox2.Text == "admin") { this.Hide(); Main ss = new Main(); ss.Show(); } else if (textBox2.Text == "easteregg") { easteregg ee = new easteregg(); ee.Show(); } else { MessageBox.Show("Password Is Incorrect"); } } else { MessageBox.Show("Username and/or Password Is Incorrect"); } }
private void label2_Click(object sender, EventArgs e) { easteregg egg = new easteregg(); egg.Show(); }