From ec34983e291d1c85284472a27109d55891f9a6b5 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 07 八月 2020 16:20:16 +0800 Subject: [PATCH] 不是新代码,别 合并 --- ZigbeeApp/Shared/Phone/CommonForm/CommonFormBase.cs | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/CommonForm/CommonFormBase.cs b/ZigbeeApp/Shared/Phone/CommonForm/CommonFormBase.cs index e6cc62c..3089a89 100755 --- a/ZigbeeApp/Shared/Phone/CommonForm/CommonFormBase.cs +++ b/ZigbeeApp/Shared/Phone/CommonForm/CommonFormBase.cs @@ -235,7 +235,7 @@ { return; } - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { var alert = new ShowMsgControl(msgType, msg, buttonText); if (action != null) @@ -288,6 +288,16 @@ return HdlControlLogic.Current.GetPictrueRealSize(i_size); } + /// <summary> + /// 鍒ゆ柇鎸囧畾鐨勭晫闈㈡槸鍚︽墦寮� + /// </summary> + /// <param name="formId"></param> + /// <returns></returns> + public bool IsFormOpen(string formId) + { + return UserCenterResourse.DicActionForm.ContainsKey(formId); + } + #endregion #region 鈻� 妫�娴嬮敊璇痏__________________________ @@ -296,7 +306,7 @@ /// 妫�娴嬬晫闈㈢殑閿欒 /// </summary> /// <returns></returns> - public bool CheckForm() + public virtual bool CheckForm() { //妫�娴嬫帶浠� return this.CheckControl(this); -- Gitblit v1.8.0