예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "islamabad" && textBox2.Text == "mark zuckerberg" && textBox3.Text == "riyal" && textBox6.Text == "asia" && textBox7.Text == "nacl")
     {
         MessageBox.Show("Congratulations ! You have crossed level 4");
         this.Hide();
         Form6 f6 = new Form6();
         f6.Show();
     }
     else
     {
         MessageBox.Show("Your entered answers are wrong :(");
         this.Hide();
         Form7 f7 = new Form7();
         f7.Show();
     }
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "nostrils" && textBox2.Text == "sun")
     {
         MessageBox.Show("Congratulations ! You have crossed level 2");
         this.Hide();
         Form4 f4 = new Form4();
         f4.Show();
     }
     else
     {
         MessageBox.Show("You entered a wrong answer :( ");
         this.Hide();
         Form7 f7 = new Form7();
         f7.Show();
     }
 }
예제 #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "skin" && textBox2.Text == "cu" && textBox3.Text == "28" && textBox4.Text == "newton")
     {
         MessageBox.Show("Congratulations ! You have crossed level 4");
         this.Hide();
         Form6 f6 = new Form6();
         f6.Show();
     }
     else
     {
         MessageBox.Show("Your entered answers are wrong :(");
         this.Hide();
         Form7 f7 = new Form7();
         f7.Show();
     }
 }
예제 #4
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "nile" && textBox2.Text == "tasteless" && textBox3.Text == "tiger")
     {
         MessageBox.Show("Congratulations ! You have crossed level 3");
         this.Hide();
         Form5 f5 = new Form5();
         f5.Show();
     }
     else
     {
         MessageBox.Show("Your entered answers are wrong :(");
         this.Hide();
         Form7 f7 = new Form7();
         f7.Show();
     }
 }
예제 #5
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "camel")
     {
         MessageBox.Show("Congratulations ! You have crossed level 1");
         this.Hide();
         Form3 f3 = new Form3();
         f3.Show();
     }
     else
     {
         MessageBox.Show("You entered a wrong answer :( ");
         this.Hide();
         Form7 f7 = new Form7();
         f7.Show();
     }
 }