| | |
| | | public static ListRoomViewFrom Instance |
| | | { |
| | | get |
| | | { |
| | | {
|
| | | if (roomManagement == null)
|
| | | {
|
| | | //初始化左滑菜单
|
| | | roomManagement = new ListRoomViewFrom();
|
| | | CommonPage.Instance.AddLeftView(roomManagement);
|
| | | roomManagement.ShowForm();
|
| | | } |
| | | return roomManagement; |
| | | } |
| | | } |
| | |
| | | };
|
| | |
|
| | | //获取楼层
|
| | | this.curFloorId = Config.Instance.Home.CurrentFloorId;
|
| | | var dicFloor = HdlRoomLogic.Current.GetFloorSortList();
|
| | | if (dicFloor.Count == 0)
|
| | | {
|
| | | return;
|
| | | }
|
| | | this.curFloorId = Config.Instance.Home.CurrentFloorId;
|
| | | //楼层图标
|
| | | var btnIconContr = new MostRightIconControl(69, 69);
|
| | | btnIconContr.UnSelectedImagePath = "Item/Drop_Down.png";
|
| | |
| | | /// </summary>
|
| | | public void RefreshListRoom()
|
| | | {
|
| | | //把头部也一起初始化了
|
| | | this.topFrameLayout.RemoveAll();
|
| | | //初始化头部信息
|
| | | this.InitTopFrame();
|
| | |
|
| | | //先清空
|
| | | this.listView.frameTable.RemoveAll();
|
| | | this.listView.frameTable.Height = Application.GetRealHeight(100);
|
| | |
| | | });
|
| | | };
|
| | | }
|
| | | //初始化未分配卡片
|
| | | this.InitRoomCardControl(XX, YY);
|
| | | //成员是没有未分配这个东西出来的
|
| | | if (UserCenterResourse.UserInfo.AuthorityNo == 1 || UserCenterResourse.UserInfo.AuthorityNo == 2)
|
| | | {
|
| | | //初始化未分配卡片
|
| | | this.InitRoomCardControl(XX, YY);
|
| | | }
|
| | | //调整桌布高度
|
| | | this.listView.AdjustTableHeight();
|
| | | }
|