From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 02 九月 2020 17:35:03 +0800
Subject: [PATCH] 2020-09-02-4

---
 ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs b/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
index 6a2f0d2..c9767d5 100755
--- a/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
+++ b/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
@@ -21,6 +21,10 @@
         /// </summary>
         public bool CloseFormByClickBack = true;
         /// <summary>
+        /// 璋冪敤AddForm鍑芥暟鏃�,鏄惁鑷姩璋冪敤ShowForm鍑芥暟,,榛樿鑷姩璋冪敤
+        /// </summary>
+        public bool AutoLoadShowFormMethord = true;
+        /// <summary>
         /// 鍘熸潵鐨勬粦鍔ㄦ爣璇�
         /// </summary>
         private bool oldScrollEnabled = false;
@@ -82,8 +86,11 @@
             //鍒濆鍖栫晫闈㈡鏋�
             this.InitForm();
 
-            //鎵цShowForm()鏂规硶
-            this.LoadShowFormMethod(parameter);
+            if (this.AutoLoadShowFormMethord == true)
+            {
+                //鎵цShowForm()鏂规硶
+                this.LoadShowFormMethod(parameter);
+            }
         }
 
         #endregion

--
Gitblit v1.8.0