private void button3_Click(object sender, EventArgs e) { this.Hide(); fRoom _room = new fRoom(); _room.ShowDialog(); this.Show(); }
private void button3_Click(object sender, EventArgs e) { if (AccountManagementDAO.Instance.checkShowForm(getGroupCode(), "fRoom") == true) { this.Hide(); fRoom _room = new fRoom(fLoginCurrent); _room.ShowDialog(); this.RemoveAllRoom(); this.LoadRoom(); this.ReLoadStatusOfRooms(); this.Show(); } else { MessageBox.Show("Bạn không có quyền truy cập"); } }