From 3aa397ab145382935492b11c1f18c9634e69910b Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期四, 10 十二月 2020 16:45:00 +0800
Subject: [PATCH] 请合并,门锁和晾衣架第一版代码

---
 ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs b/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
index c9767d5..05bff9a 100755
--- a/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
+++ b/ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
@@ -47,14 +47,14 @@
             bodyFrameLayout.BackgroundColor = UserCenterColor.Current.DialogBackColor;
             this.AddChidren(bodyFrameLayout);
 
-            if (CloseFormByClickBack == true)
+            bodyFrameLayout.MouseUpEventHandler += (sender, e) =>
             {
-                bodyFrameLayout.MouseUpEventHandler += (sender, e) =>
+                if (CloseFormByClickBack == true)
                 {
                     //鍏抽棴鑷韩
                     this.CloseForm();
-                };
-            }
+                }
+            };
         }
 
         #endregion

--
Gitblit v1.8.0