From a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 06 三月 2020 15:31:36 +0800 Subject: [PATCH] 删除了郭雪城的 DeviceUi 这个类 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs index 978c5e4..d152b43 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs @@ -129,10 +129,18 @@ topFrameLayout.AddTag("btnBack", btnBack); //鏍囬 - var txttitle = new TopLayoutTitleControl(); - topFrameLayout.AddChidren(txttitle); - //绮椾綋 + var txttitle = new Button(); + txttitle.Name = "txtTitle"; + txttitle.TextSize = 17; + txttitle.X = Application.GetRealWidth(161); + txttitle.Height = Application.GetRealHeight(69); + txttitle.Width = Application.GetRealWidth(850); + txttitle.Gravity = Gravity.CenterVertical; + txttitle.TextColor = UserCenterColor.Current.TopLayoutTitleText; + txttitle.TextAlignment = TextAlignment.CenterLeft; txttitle.IsBold = true; + topFrameLayout.AddChidren(txttitle); + topFrameLayout.AddTag("txtTitle", txttitle); } @@ -169,6 +177,8 @@ /// <param name="parameter">鍚姩鍙傛暟锛氬弬鏁扮敱鎸囧畾鐢婚潰鐨凷howForm鍑芥暟鎵�鎸囧畾</param> public override void AddForm(params object[] parameter) { + base.AddForm(parameter); + //妫�娴嬭兘鍚﹁拷鍔犵敾闈� if (UserCenterLogic.CheckCanAddForm(this) == false) { @@ -194,11 +204,14 @@ /// </summary> public override void CloseFormBefore() { + base.CloseFormBefore(); + + //宸︽粦浣胯兘 + this.ScrollEnabled = true; + this.m_parameter = null; //娓呯┖bodyFrame - this.ClearBodyFrame(); - - base.CloseFormBefore(); + this.ClearBodyFrame(); } #endregion -- Gitblit v1.8.0