JLChen
2020-12-23 3f752e5d4c19cc5757a6dcf73118d4da41836c40
HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs
@@ -103,8 +103,16 @@
                    lastButton.IsSelected = false;
                }
                btn.IsSelected = true;
                showedFunctionRoomId = btn.Tag.ToString() == "0" ? null : btn.Tag.ToString();
                LoadFunctionListRow(allocatedList.FindAll((obj) => obj.roomIds.Contains(showedFunctionRoomId)));
                //showedFunctionRoomId = btn.Tag.ToString() == "0" ? null : btn.Tag.ToString();
                showedFunctionRoomId = btn.Tag.ToString();
                if (showedFunctionRoomId == "0")
                {
                    LoadFunctionListRow(allocatedList);
                }
                else
                {
                    LoadFunctionListRow(allocatedList.FindAll((obj) => obj.roomIds.Contains(showedFunctionRoomId)));
                }
                btnChoosedRoom.Text = chooseRoomName;
                dialog.Close();
            };