private void cb_room_SelectedIndexChanged(object sender, EventArgs e) { if (displayedItem == null) { return; } if (displayedItem.RoomCode == cb_room.Text) { return; } currentTT.MoveRooms(displayedItem, Convert.ToByte(cb_room.SelectedIndex)); RefreshViews(); }