예제 #1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Home_form hm = new Home_form();

            hm.Show();
            this.Hide();
        }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Home_form hm = new Home_form();

            hm.Show();
            this.Hide();
        }
 private void Login_button_Click(object sender, EventArgs e)
 {
     if (User_name_textBox.Text == "kta" && Password_textBox.Text == "kta")
     {
         Home_form h = new Home_form();
         h.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Invalid Username or password!!");
     }
 }