Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Admin_Fn f12 = new Admin_Fn();

            f12.Show();
            this.Hide();
        }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (UserName.Contains(textBox1.Text) && Password.Contains(textBox2.Text))
     {
         Admin_Fn f10 = new Admin_Fn();
         this.Hide();
         f10.Show();
     }
     else
     {
         MessageBox.Show("Error");
     }
 }