From bd46c57c77c276014db3192a4e2cc96e23c93202 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 21 二月 2020 13:08:47 +0800 Subject: [PATCH] 先上传个版本吧 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/CommonFormBase.cs | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/CommonFormBase.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/CommonFormBase.cs index 7e1e04b..f947cc3 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/CommonFormBase.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/CommonFormBase.cs @@ -51,6 +51,9 @@ /// <param name="parameter">鍚姩鍙傛暟锛氬弬鏁扮敱鎸囧畾鐢婚潰鐨凷howForm鍑芥暟鎵�鎸囧畾</param> public virtual void AddForm(params object[] parameter) { + //鍏抽棴杈撳叆娉曠晫闈� + this.CloseInputPanel(); + return; } @@ -76,6 +79,8 @@ /// </summary> public virtual void CloseFormBefore() { + //鍏抽棴杈撳叆娉曠晫闈� + this.CloseInputPanel(); } /// <summary> @@ -210,10 +215,10 @@ { } - #endregion + #endregion #region 鈻� 涓�鑸殑鏂规硶_________________________ - + /// <summary> /// 鏄剧ず淇℃伅妗� /// </summary> @@ -243,7 +248,7 @@ catch (Exception ex) { //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け - this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost)); + this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError)); //Log鍑哄姏 HdlLogLogic.Current.WriteLog(ex); @@ -262,6 +267,13 @@ public bool NowFormIsAction() { return UserCenterResourse.NowActionFormID == this.FormID; + } + + /// <summary> + /// 鍏抽棴杈撳叆娉曠晫闈�(鏈疄鐜�) + /// </summary> + public void CloseInputPanel() + { } #endregion @@ -338,11 +350,9 @@ catch (Exception ex) { //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け - this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost)); - + this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError)); //Log鍑哄姏 HdlLogLogic.Current.WriteLog(ex); - return null; } } @@ -360,5 +370,6 @@ } #endregion + } } -- Gitblit v1.8.0