From 34b65350abbb8b740b9c3bc0b43254cbbe23fcb5 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 19 五月 2020 09:31:44 +0800
Subject: [PATCH] 合并代码,更改面板目标信息
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/InformationTipView.cs | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/InformationTipView.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/InformationTipView.cs
new file mode 100755
index 0000000..7733c6f
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/InformationTipView.cs
@@ -0,0 +1,26 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+ /// <summary>
+ /// 鍋氭垚涓�涓彁绀烘湁鏂版秷鎭殑瑙掓爣鎺т欢(缃簬鎸囧畾鎺т欢鐨勫彸涓婅)
+ /// </summary>
+ public class InformationTipView : ButtonBase
+ {
+ /// <summary>
+ /// 鍋氭垚涓�涓彁绀烘湁鏂版秷鎭殑瑙掓爣鎺т欢(缃簬鎸囧畾鎺т欢鐨勫彸涓婅)
+ /// </summary>
+ /// <param name="TargetView">鐩爣鎺т欢</param>
+ /// <param name="size">瑙掓爣澶у皬</param>
+ public InformationTipView(ButtonBase TargetView, int size = 30)
+ {
+ this.InitIconSize(size, size, true);
+ this.BackgroundColor = UserCenterColor.Current.Red;
+ this.Radius = (uint)this.GetPictrueRealSize(size) / 2;
+ this.X = TargetView.X + TargetView.Width / 2 + Application.GetRealWidth(10);
+ this.Y = TargetView.Y;
+ }
+ }
+}
--
Gitblit v1.8.0