private void pictureBox1_Click(object sender, EventArgs e) { Home_form hm = new Home_form(); hm.Show(); this.Hide(); }
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!!"); } }