コード例 #1
0
        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);
     }
 }