| | |
| | | /// <summary>
|
| | | /// 用户主体界面(中间部分)
|
| | | /// </summary>
|
| | | private FrameLayout bodyFrameView = null;
|
| | | private NormalFrameLayout bodyFrameView = null;
|
| | | /// <summary>
|
| | | /// 界面缓存(2020.05.07:切换时不移除界面,直接隐藏)
|
| | | /// </summary>
|
| | |
| | | return; |
| | | }
|
| | | #if iOS
|
| | | if (Shared.Application.PhoneType >= 10)
|
| | | if (Shared.Application.IsFullScreen == true)
|
| | | {
|
| | | //高版本的苹果机型,屏幕底部会有一个黑色的杠
|
| | | ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(242);
|
| | | }
|
| | | #endif
|
| | | //用户主体界面(中间部分)
|
| | | this.bodyFrameView = new FrameLayout();
|
| | | this.bodyFrameView = new NormalFrameLayout();
|
| | | bodyFrameView.Height = this.Height - UserCenter.ControlCommonResourse.BottomFrameHeight;
|
| | | bodyFrameView.BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
|
| | | this.AddChidren(bodyFrameView);
|
| | |
| | | this.SetAllControlStatu(); |
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 获取当前激活的界面
|
| | | /// </summary>
|
| | | /// <returns></returns>
|
| | | public EditorCommonForm GetNowActionForm()
|
| | | {
|
| | | int index = ((int)this.nowSelectMenu) - 1;
|
| | | if (index != -1)
|
| | | {
|
| | | //调用此界面的激活函数
|
| | | return this.listForm[index];
|
| | | }
|
| | | return null;
|
| | | }
|
| | |
|
| | | #endregion |
| | |
|
| | | #region ■ 结构体_____________________________ |