private void SetRoomTab() { ISRoom room = DBRooms.GetRoomData(user.Id); List <ISUser> roomMates = DBRooms.GetRoomMates(user); _SetRoomInfo(room, roomMates); }
private void _SetRoomNameField() { rooms = DBRooms.GetRooms(); if (rooms.Count > 0) { roomIdField.Items.Clear(); rooms.ForEach(r => roomIdField.Items.Add(r.RoomName)); } roomIdField.SelectedIndex = 0; }