| | |
| | | /// </summary>
|
| | | public NormalFrameLayout FrameWhiteCentet2 = null;
|
| | |
|
| | | /// <summary> |
| | | /// 是否显示收藏按钮 |
| | | /// <summary>
|
| | | /// 是否显示收藏按钮
|
| | | /// </summary>
|
| | | public bool ShowColltionButton = true;
|
| | | #endregion
|
| | | |
| | |
|
| | | #region ■ 初始化_____________________________
|
| | | |
| | |
|
| | | /// <summary>
|
| | | /// 画面显示(底层会固定调用此方法,借以完成画面创建)
|
| | | /// </summary>
|
| | |
| | | btnRoomName.Text = device.GetRoomListName();
|
| | | btnRoomName.Width = btnRoomName.GetRealWidthByText();
|
| | | FrameWhiteCentet1.AddChidren(btnRoomName);
|
| | | //成员没有收藏功能
|
| | | if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == false && ShowColltionButton)
|
| | | if (ShowColltionButton)
|
| | | {
|
| | | var btnCollection = new IconViewControl(40);
|
| | | btnCollection.X = Application.GetRealWidth(273);
|
| | |
| | | topFrameLayout.AddChidren(btnSetting);
|
| | |
|
| | | //如果是成员没有功能
|
| | | if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == true)
|
| | | if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == true)
|
| | | {
|
| | | btnSetting.Visible = false;
|
| | | }
|