From 993ecf49ae04ccea89f6bc4a32cfc0c45def1215 Mon Sep 17 00:00:00 2001
From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local>
Date: 星期三, 27 十月 2021 14:23:30 +0800
Subject: [PATCH] 2021-10-27-01
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs | 106 ++++++++++++++++++++++++++--------------------------
1 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs
old mode 100755
new mode 100644
index e2e762f..8f5e5db
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs
@@ -1,58 +1,58 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Shared.Phone.UserCenter
-{
- /// <summary>
- /// 鍋氭垚涓�涓瓨鍦ㄤ簬BodyFrameLayout搴曢儴杩涜鍗曞嚮鐨勬寜閽湬
- /// </summary>
- public class BottomClickButton : ClickButtonCommon
- {
- /// <summary>
- /// 鎺т欢鐨勭偣鍑讳簨浠�
- /// </summary>
- public new Action<Button, MouseEventArgs> ButtonClickEvent = null;
- /// <summary>
- /// 鏄惁妫�娴嬬晫闈�(榛樿涓嶆娴�)
- /// </summary>
- public bool CheckForm = false;
- /// <summary>
- /// Y杞村潗鏍�
- /// </summary>
- public int Yaxis = 0;
-
- /// <summary>
- /// 鍋氭垚涓�涓瓨鍦ㄤ簬BodyFrameLayout搴曢儴杩涜鍗曞嚮鐨勬寜閽�
- /// </summary>
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+ /// <summary>
+ /// 鍋氭垚涓�涓瓨鍦ㄤ簬BodyFrameLayout搴曢儴杩涜鍗曞嚮鐨勬寜閽湬
+ /// </summary>
+ public class BottomClickButton : ClickButtonCommon
+ {
+ /// <summary>
+ /// 鎺т欢鐨勭偣鍑讳簨浠�
+ /// </summary>
+ public new Action<Button, MouseEventArgs> ButtonClickEvent = null;
+ /// <summary>
+ /// 鏄惁妫�娴嬬晫闈�(榛樿涓嶆娴�)
+ /// </summary>
+ public bool CheckForm = false;
+ /// <summary>
+ /// Y杞村潗鏍�
+ /// </summary>
+ public int Yaxis = 0;
+
+ /// <summary>
+ /// 鍋氭垚涓�涓瓨鍦ㄤ簬BodyFrameLayout搴曢儴杩涜鍗曞嚮鐨勬寜閽�
+ /// </summary>
/// <param name="i_width">鏈変簺鐣岄潰寰堢壒娈�,涓嶇粺涓�鎸夐敭瀹藉害,鎵�浠ラ鐣欐鍙傛暟</param>
public BottomClickButton(int i_width = 907)
- {
- this.Yaxis = Application.GetRealHeight(1472);
-
- //杩欎釜鏄竴鑸綅缃�
- this.Width = Application.GetRealWidth(i_width);
- this.Height = Application.GetRealHeight(127);
- this.Y = this.Yaxis;
- this.Gravity = Gravity.CenterHorizontal;
+ {
+ this.Yaxis = Application.GetRealHeight(1472);
+
+ //杩欎釜鏄竴鑸綅缃�
+ this.Width = Application.GetRealWidth(i_width);
+ this.Height = Application.GetRealHeight(127);
+ this.Y = this.Yaxis;
+ this.Gravity = Gravity.CenterHorizontal;
this.Radius = (uint)Application.GetRealHeight(128) / 2;
this.TextSize = 16;
this.IsBold = true;
-
- base.ButtonClickEvent += (sender, e) =>
- {
- if (this.CheckForm == true && UserCenterResourse.DicActionForm.ContainsKey(this.formName) == true)
- {
- //妫�娴嬬晫闈�
- bool result = UserCenterResourse.DicActionForm[this.formName].CheckForm();
- if (result == false)
- {
- //妫�娴嬩笉閫氳繃
- return;
- }
- }
- this.ButtonClickEvent?.Invoke(sender, e);
- };
- }
- }
-}
+
+ base.ButtonClickEvent += (sender, e) =>
+ {
+ if (this.CheckForm == true && UserCenterResourse.DicActionForm.ContainsKey(this.formName) == true)
+ {
+ //妫�娴嬬晫闈�
+ bool result = UserCenterResourse.DicActionForm[this.formName].CheckForm();
+ if (result == false)
+ {
+ //妫�娴嬩笉閫氳繃
+ return;
+ }
+ }
+ this.ButtonClickEvent?.Invoke(sender, e);
+ };
+ }
+ }
+}
--
Gitblit v1.8.0