// load desk
        private void LoadDeskInfoByRoomIdAndByTabPageIndex(TabPage tp)
        {
            if(tp!=null)
            {
                // RoomInfo object
                RoomInfo r = tp.Tag as RoomInfo;
                // ListView object
                ListView lv = tp.Controls[0] as ListView;
                lv.Clear();

                DeskInfoBLL bll = new DeskInfoBLL();
                //get deskinfo based on roomId
                List<DeskInfo> listDesk = bll.GetAllDeskInfoByRoomId(r.RoomId);
                for (int i = 0; i < listDesk.Count; i++)
                {
                    lv.Items.Add(listDesk[i].DeskName, listDesk[i].DeskState);
                    lv.Items[i].Tag = listDesk[i];
                }
            }
           
        }