private void cmd_login_Click(object sender, EventArgs e) { frm_SelectRoom selectroom = new frm_SelectRoom(); selectroom.Show(); this.Hide(); }
private void pictureBox1_Click(object sender, EventArgs e) { if (Program.CheckClickDev == '1') { frm_FirstPage firstpage = new frm_FirstPage(); firstpage.Show(); this.Hide(); } if (Program.CheckClickDev == '2') { frm_SelectRoom selectroom = new frm_SelectRoom(); selectroom.Show(); this.Hide(); } }