| | |
| | | /// <summary> |
| | | /// 当前窗体 |
| | | /// </summary> |
| | | static FrameLayout bodyView; |
| | | public static RoomPage bodyView; |
| | | /// <summary> |
| | | /// 功能列表集合显示区域 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 重载界面 |
| | | /// </summary> |
| | | void ReLoadPage() |
| | | public void ReLoadPage() |
| | | { |
| | | bodyView.RemoveAll(); |
| | | LoadPage(); |
| | | if (bodyView != null) |
| | | { |
| | | bodyView.RemoveAll(); |
| | | LoadPage(); |
| | | } |
| | | } |
| | | |
| | | public void LoadPage() |
| | |
| | | }; |
| | | bodyView.AddChidren(functionListView); |
| | | |
| | | |
| | | foreach (var function in room.GetRoomFunctions(false)) |
| | | { |
| | | if (MainPage.RoomNotSupportFunctionList.Contains( function.spk)) |