private void button3_Click(object sender, EventArgs e)
        {
            Form45 f3 = new Form45();

            this.Hide();
            f3.Show();
        }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "pakistan")
     {
         Form45 f45 = new Form45();
         this.Close();
         f45.Show();
     }
     else
     {
         MessageBox.Show("You entered 'WRONG' Passweord", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }