From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs | 32 ++++++++++++++++++++++----------
1 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
index 5f17c9e..2ca711c 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
@@ -5,7 +5,19 @@
{
public class VerticalBoutonFLayout:BaseFramLayout
{
+ /// <summary>
+ /// 鏄惁鍙互鐐瑰嚮
+ /// </summary>
+ private bool mIsClick = true;
+ /// <summary>
+ /// 璁剧疆鎺у埗鐐瑰嚮浜嬩欢
+ /// </summary>
+ /// <param name="isClick">false鐐瑰嚮鏃犳晥</param>
+ public void setClick(bool isClick)
+ {
+ this.mIsClick = isClick;
+ }
public const int widthFrameLayout = 80;
public const int heightFrameLayout = 140-15;
public const int cornerValue = 12;
@@ -133,30 +145,30 @@
{
EventHandler<MouseEventArgs> UpClick = (sender, e) =>
{
+ action?.Invoke(OFFFLayout, OFFButton);
OFFFLayout.BackgroundColor = MusicColor.WhiteColor;
OFFButton.TextColor = 0xFFA5AEBC;
-
//寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
};
OFFFLayout.MouseUpEventHandler += UpClick;
OFFButton.MouseUpEventHandler += UpClick;
- //EventHandler<MouseEventArgs> MoveClick = (sender, e) =>
- //{
- // this.BackgroundColor = 0x00000000;
- // //寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
- //};
- //this.MouseMoveEventHandler += MoveClick;
- //btnImage.MouseMoveEventHandler += MoveClick;
- //btnName.MouseMoveEventHandler += MoveClick;
+ EventHandler<MouseEventArgs> CancelClick = (sender, e) =>
+ {
+ OFFFLayout.BackgroundColor = MusicColor.WhiteColor;
+ OFFButton.TextColor = 0xFFA5AEBC;
+ //寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
+ };
+ OFFFLayout.MouseUpOutsideEventHandler += CancelClick;
+ OFFButton.MouseUpOutsideEventHandler += CancelClick;
EventHandler<MouseEventArgs> DownClick = (sender, e) =>
{
//鎸変笅鍘绘敼鍙樿儗鏅鑹�
OFFFLayout.BackgroundColor = MusicColor.MusicTxet14SelectedColor;
OFFButton.TextColor = MusicColor.WhiteColor;
- action?.Invoke(OFFFLayout, OFFButton);
+
};
OFFFLayout.MouseDownEventHandler += DownClick;
OFFButton.MouseDownEventHandler += DownClick;
--
Gitblit v1.8.0