예제 #1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            fDeleteRoom _deleteRoom = new fDeleteRoom(this);

            this.Hide();
            _deleteRoom.ShowDialog();
            this.Show();
        }
예제 #2
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     if (AccountManagementDAO.Instance.checkShowForm(getGroupCode(), "fDeleteRoom") == true)
     {
         fDeleteRoom f = new fDeleteRoom(this);
         this.Hide();
         f.ShowDialog();
         this.Show();
     }
     else
     {
         MessageBox.Show("Bạn không có quyền truy cập");
     }
 }