From 6fa9d69da922c8049f5acfcbb9ce9fd26811024c Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 16 四月 2020 17:10:57 +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..70dd722 --- /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)Application.GetMinRealAverage(size) / 2; + this.X = TargetView.X + TargetView.Width / 2 + Application.GetRealWidth(10); + this.Y = TargetView.Y; + } + } +} -- Gitblit v1.8.0