private void button4_Click(object sender, EventArgs e)
        {
            Form46 f3 = new Form46();

            this.Hide();
            f3.Show();
        }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "pakistan")
     {
         Form46 f46 = new Form46();
         this.Close();
         f46.Show();
     }
     else
     {
         MessageBox.Show("You entered 'WRONG' Password", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }