old mode 100755
new mode 100644
File was renamed from ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs |
| | |
| | | using Shared.Phone.UserCenter;
|
| | | using System; |
| | | using System.Collections.Generic;
|
| | | using System.Threading.Tasks;
|
| | |
|
| | | namespace Shared.Phone |
| | | { |
| | |
| | | |
| | | //TopMenuFrameLayout做成 |
| | | topMenuFrameLayout = new NormalFrameLayout(); |
| | | topMenuFrameLayout.Height = ControlCommonResourse.TopMenuFrameHeight; |
| | | topMenuFrameLayout.Height = HdlControlResourse.TopMenuFrameHeight; |
| | | topMenuFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; |
| | | topMenuFrameLayout.Name = "topMenuFrameLayout"; |
| | | this.AddChidren(topMenuFrameLayout);
|
| | | |
| | | //TopFrameLayout做成 |
| | | topFrameLayout = new NormalFrameLayout(); |
| | | topFrameLayout.Height = ControlCommonResourse.TopFrameHeight; |
| | | topFrameLayout.Height = HdlControlResourse.TopFrameHeight; |
| | | topFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; |
| | | topFrameLayout.Y = topMenuFrameLayout.Bottom; |
| | | topFrameLayout.Name = "topFrameLayout"; |
| | |
| | | bodyFrameLayout.RemoveAll(); |
| | | }
|
| | | bodyFrameLayout = new NormalFrameLayout(); |
| | | bodyFrameLayout.Height = ControlCommonResourse.BodyFrameHeight; |
| | | bodyFrameLayout.Height = HdlControlResourse.BodyFrameHeight; |
| | | bodyFrameLayout.Y = topFrameLayout.Bottom; |
| | | bodyFrameLayout.BackgroundColor = UserCenterColor.Current.BodyFrameLayout; |
| | | bodyFrameLayout.Name = "bodyFrameLayout"; |
| | |
| | | public override void AddForm(params object[] parameter)
|
| | | {
|
| | | //界面加载中
|
| | | ControlCommonResourse.IsFormAdding = true;
|
| | | HdlControlResourse.IsFormAdding = true; |
| | |
|
| | | base.AddForm(parameter);
|
| | |
|
| | |
| | | this.LoadShowFormMethod(parameter);
|
| | |
|
| | | //界面加载结束
|
| | | ControlCommonResourse.IsFormAdding = false;
|
| | | HdlControlResourse.IsFormAdding = false; |
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | bodyFrameLayout.AddChidren(btnHelp);
|
| | | //底线
|
| | | int lineWidth = btnHelp.GetRealWidthByText();
|
| | | var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
|
| | | var btnLine = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false); |
| | | btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
|
| | | btnLine.Gravity = Gravity.CenterHorizontal;
|
| | | btnLine.Y = btnHelp.Bottom - Application.GetRealHeight(8);
|
| | |
| | | frame.AddChidren(btnReLoad);
|
| | | btnReLoad.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //点击重新加载时,允许再次联网
|
| | | HdlWifiLogic.Current.CanAccessHttp = true;
|
| | |
|
| | | //清除全部控件
|
| | | this.ClearBodyFrame();
|
| | |
|