예제 #1
0
        private void SetRoomTab()
        {
            ISRoom        room      = DBRooms.GetRoomData(user.Id);
            List <ISUser> roomMates = DBRooms.GetRoomMates(user);

            _SetRoomInfo(room, roomMates);
        }
예제 #2
0
        private void _SetRoomNameField()
        {
            rooms = DBRooms.GetRooms();

            if (rooms.Count > 0)
            {
                roomIdField.Items.Clear();
                rooms.ForEach(r => roomIdField.Items.Add(r.RoomName));
            }

            roomIdField.SelectedIndex = 0;
        }