diff --git a/SunnyUI/Controls/UIAnalogMeter.cs b/SunnyUI/Controls/UIAnalogMeter.cs
index 208d63ed..2fe5ab56 100644
--- a/SunnyUI/Controls/UIAnalogMeter.cs
+++ b/SunnyUI/Controls/UIAnalogMeter.cs
@@ -1,7 +1,7 @@
-/******************************************************************************
- * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
- * CopyRight (C) 2012-2025 ShenYongHua(沈永华).
- * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+锘/******************************************************************************
+ * SunnyUI 寮婧愭帶浠跺簱銆佸伐鍏风被搴撱佹墿灞曠被搴撱佸椤甸潰寮鍙戞鏋躲
+ * CopyRight (C) 2012-2025 ShenYongHua(娌堟案鍗).
+ * QQ缇わ細56829229 QQ锛17612584 EMail锛歋unnyUI@QQ.Com
*
* Blog: https://www.cnblogs.com/yhuse
* Gitee: https://gitee.com/yhuse/SunnyUI
@@ -9,13 +9,13 @@
*
* SunnyUI can be used for free under the GPL-3.0 license.
* If you use this code, please keep this note.
- * 如果您使用此代码,请保留此说明。
+ * 濡傛灉鎮ㄤ娇鐢ㄦ浠g爜锛岃淇濈暀姝よ鏄庛
******************************************************************************
- * 文件名称: UIAnalogMeter.cs
- * 文件说明: 仪表
- * 文件作者: Luca Bonotto
- * 开源协议: CPOL
- * 引用地址: https://www.codeproject.com/Articles/24945/Analog-Meter
+ * 鏂囦欢鍚嶇О: UIAnalogMeter.cs
+ * 鏂囦欢璇存槑: 浠〃
+ * 鏂囦欢浣滆: Luca Bonotto
+ * 寮婧愬崗璁: CPOL
+ * 寮曠敤鍦板潃: https://www.codeproject.com/Articles/24945/Analog-Meter
******************************************************************************/
/*
@@ -42,6 +42,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("ValueChanged")]
[DefaultProperty("Value")]
+ [Description("浠〃鎺т欢")]
public class UIAnalogMeter : UIControl
{
#region Enumerator
@@ -320,9 +321,9 @@ namespace Sunny.UI
#region Events delegates
///
- /// 重载控件尺寸变更
+ /// 閲嶈浇鎺т欢灏哄鍙樻洿
///
- /// 参数
+ /// 鍙傛暟
protected override void OnSizeChanged(EventArgs e)
{
base.OnSizeChanged(e);
@@ -333,9 +334,9 @@ namespace Sunny.UI
}
///
- /// 重载绘图
+ /// 閲嶈浇缁樺浘
///
- /// 绘图参数
+ /// 缁樺浘鍙傛暟
protected override void OnPaint(PaintEventArgs e)
{
if (Width <= 0 || Height <= 0) return;
diff --git a/SunnyUI/Controls/UIAvatar.cs b/SunnyUI/Controls/UIAvatar.cs
index 923b09e3..95c07823 100644
--- a/SunnyUI/Controls/UIAvatar.cs
+++ b/SunnyUI/Controls/UIAvatar.cs
@@ -37,6 +37,7 @@ namespace Sunny.UI
[DefaultEvent("Click")]
[DefaultProperty("Symbol")]
[ToolboxItem(true)]
+ [Description("澶村儚鎺т欢")]
public sealed class UIAvatar : UIControl, ISymbol, IZoomScale
{
///
diff --git a/SunnyUI/Controls/UIBattery.cs b/SunnyUI/Controls/UIBattery.cs
index 46e2ec3b..780d451d 100644
--- a/SunnyUI/Controls/UIBattery.cs
+++ b/SunnyUI/Controls/UIBattery.cs
@@ -35,6 +35,7 @@ namespace Sunny.UI
///
[DefaultProperty("Power")]
[ToolboxItem(true)]
+ [Description("鐢垫睜鐢甸噺鎺т欢")]
public sealed class UIBattery : UIControl
{
private Color colorDanger = UIColor.Orange;
diff --git a/SunnyUI/Controls/UIBreadcrumb.cs b/SunnyUI/Controls/UIBreadcrumb.cs
index 81307b3d..857d0492 100644
--- a/SunnyUI/Controls/UIBreadcrumb.cs
+++ b/SunnyUI/Controls/UIBreadcrumb.cs
@@ -41,6 +41,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("ItemIndexChanged")]
[DefaultProperty("ItemIndex")]
+ [Description("闈㈠寘灞戝鑸潯鎺т欢")]
public class UIBreadcrumb : UIControl
{
///
diff --git a/SunnyUI/Controls/UIButton.cs b/SunnyUI/Controls/UIButton.cs
index 0fdd21fb..0018e55b 100644
--- a/SunnyUI/Controls/UIButton.cs
+++ b/SunnyUI/Controls/UIButton.cs
@@ -52,6 +52,7 @@ namespace Sunny.UI
[DefaultEvent("Click")]
[DefaultProperty("Text")]
[ToolboxItem(true)]
+ [Description("鎸夐挳鎺т欢")]
public class UIButton : UIControl, IButtonControl
{
///
diff --git a/SunnyUI/Controls/UICalendar.cs b/SunnyUI/Controls/UICalendar.cs
index b21fa892..11294af7 100644
--- a/SunnyUI/Controls/UICalendar.cs
+++ b/SunnyUI/Controls/UICalendar.cs
@@ -30,6 +30,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("鏃ュ巻鎺т欢")]
public class UICalendar : UIUserControl, ITranslate
{
public UICalendar()
diff --git a/SunnyUI/Controls/UICheckBox.cs b/SunnyUI/Controls/UICheckBox.cs
index 36ae4105..d9fad392 100644
--- a/SunnyUI/Controls/UICheckBox.cs
+++ b/SunnyUI/Controls/UICheckBox.cs
@@ -42,6 +42,7 @@ namespace Sunny.UI
[DefaultEvent("CheckedChanged")]
[DefaultProperty("Checked")]
[ToolboxItem(true)]
+ [Description("澶嶉夋鎺т欢")]
public class UICheckBox : UIControl
{
///
diff --git a/SunnyUI/Controls/UICheckBoxGroup.cs b/SunnyUI/Controls/UICheckBoxGroup.cs
index f000ef02..44b24490 100644
--- a/SunnyUI/Controls/UICheckBoxGroup.cs
+++ b/SunnyUI/Controls/UICheckBoxGroup.cs
@@ -44,6 +44,7 @@ namespace Sunny.UI
///
[DefaultProperty("Items")]
[DefaultEvent("ValueChanged")]
+ [Description("澶氶夋缁勬帶浠")]
public class UICheckBoxGroup : UIGroupBox
{
///
diff --git a/SunnyUI/Controls/UIColorPicker.cs b/SunnyUI/Controls/UIColorPicker.cs
index c8a82151..6502cd9e 100644
--- a/SunnyUI/Controls/UIColorPicker.cs
+++ b/SunnyUI/Controls/UIColorPicker.cs
@@ -41,6 +41,7 @@ namespace Sunny.UI
///
[DefaultProperty("ValueChanged")]
[ToolboxItem(true)]
+ [Description("棰滆壊閫夋嫨妗嗘帶浠")]
public sealed class UIColorPicker : UIDropControl
{
private void InitializeComponent()
diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs
index 9e3419a6..afc50f06 100644
--- a/SunnyUI/Controls/UIComboBox.cs
+++ b/SunnyUI/Controls/UIComboBox.cs
@@ -60,6 +60,7 @@ namespace Sunny.UI
[DefaultProperty("Items")]
[DefaultEvent("SelectedIndexChanged")]
[ToolboxItem(true)]
+ [Description("缁勫悎妗嗘帶浠")]
[LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "SelectedValue")]
public sealed partial class UIComboBox : UIDropControl, IToolTip, IHideDropDown
{
diff --git a/SunnyUI/Controls/UIComboDataGridView.cs b/SunnyUI/Controls/UIComboDataGridView.cs
index 20987c98..f815d26d 100644
--- a/SunnyUI/Controls/UIComboDataGridView.cs
+++ b/SunnyUI/Controls/UIComboDataGridView.cs
@@ -46,6 +46,7 @@ namespace Sunny.UI
{
[DefaultProperty("ValueChanged")]
[ToolboxItem(true)]
+ [Description("琛ㄦ牸鍒楄〃妗嗘帶浠")]
public class UIComboDataGridView : UIDropControl, IToolTip
{
private void InitializeComponent()
diff --git a/SunnyUI/Controls/UIComboTreeView.cs b/SunnyUI/Controls/UIComboTreeView.cs
index 1535d6a0..558b85ae 100644
--- a/SunnyUI/Controls/UIComboTreeView.cs
+++ b/SunnyUI/Controls/UIComboTreeView.cs
@@ -41,6 +41,7 @@ namespace Sunny.UI
[DefaultEvent("NodeSelected")]
[DefaultProperty("Nodes")]
[ToolboxItem(true)]
+ [Description("鏍戝舰鍒楄〃妗嗘帶浠")]
public class UIComboTreeView : UIDropControl, IToolTip
{
public UIComboTreeView()
diff --git a/SunnyUI/Controls/UIContextMenuStrip.cs b/SunnyUI/Controls/UIContextMenuStrip.cs
index 0512a0fa..01f05d03 100644
--- a/SunnyUI/Controls/UIContextMenuStrip.cs
+++ b/SunnyUI/Controls/UIContextMenuStrip.cs
@@ -31,6 +31,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("涓婁笅鏂囪彍鍗")]
public sealed class UIContextMenuStrip : ContextMenuStrip, IStyleInterface, IZoomScale
{
private ContextMenuColorTable ColorTable = new ContextMenuColorTable();
diff --git a/SunnyUI/Controls/UIDataGridView.cs b/SunnyUI/Controls/UIDataGridView.cs
index 8a3ccd78..c6f3439b 100644
--- a/SunnyUI/Controls/UIDataGridView.cs
+++ b/SunnyUI/Controls/UIDataGridView.cs
@@ -60,6 +60,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("琛ㄦ牸鎺т欢")]
public class UIDataGridView : DataGridView, IStyleInterface, IZoomScale
{
private readonly UIScrollBar VBar = new UIScrollBar();
diff --git a/SunnyUI/Controls/UIDataGridViewFooter.cs b/SunnyUI/Controls/UIDataGridViewFooter.cs
index d13ae3b8..aa59924a 100644
--- a/SunnyUI/Controls/UIDataGridViewFooter.cs
+++ b/SunnyUI/Controls/UIDataGridViewFooter.cs
@@ -33,6 +33,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
[ToolboxItem(true)]
+ [Description("琛ㄦ牸椤佃剼鎺т欢")]
public sealed class UIDataGridViewFooter : UIControl
{
public UIDataGridViewFooter()
diff --git a/SunnyUI/Controls/UIDatePicker.cs b/SunnyUI/Controls/UIDatePicker.cs
index dc670808..8664899d 100644
--- a/SunnyUI/Controls/UIDatePicker.cs
+++ b/SunnyUI/Controls/UIDatePicker.cs
@@ -40,6 +40,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultProperty("Value")]
[DefaultEvent("ValueChanged")]
+ [Description("鏃ユ湡閫夋嫨妗嗘帶浠")]
public sealed partial class UIDatePicker : UIDropControl, IToolTip
{
public delegate void OnDateTimeChanged(object sender, DateTime value);
diff --git a/SunnyUI/Controls/UIDateTimePicker.cs b/SunnyUI/Controls/UIDateTimePicker.cs
index c84c85d0..5f0276d5 100644
--- a/SunnyUI/Controls/UIDateTimePicker.cs
+++ b/SunnyUI/Controls/UIDateTimePicker.cs
@@ -38,6 +38,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultProperty("Value")]
[DefaultEvent("ValueChanged")]
+ [Description("鏃ユ湡鏃堕棿閫夋嫨妗嗘帶浠")]
public sealed class UIDatetimePicker : UIDropControl, IToolTip
{
private void InitializeComponent()
diff --git a/SunnyUI/Controls/UIDigitalLabel.cs b/SunnyUI/Controls/UIDigitalLabel.cs
index 1dd6722c..8e766df1 100644
--- a/SunnyUI/Controls/UIDigitalLabel.cs
+++ b/SunnyUI/Controls/UIDigitalLabel.cs
@@ -40,6 +40,7 @@ namespace Sunny.UI
[DefaultEvent("ValueChanged")]
[DefaultProperty("Value")]
[ToolboxItem(true)]
+ [Description("鍐锋恫鏅舵樉绀篖CD鏍囩鎺т欢")]
public class UIDigitalLabel : UIControl
{
public UIDigitalLabel()
diff --git a/SunnyUI/Controls/UIDoubleUpDown.cs b/SunnyUI/Controls/UIDoubleUpDown.cs
index 1fc5b396..97c4b7b1 100644
--- a/SunnyUI/Controls/UIDoubleUpDown.cs
+++ b/SunnyUI/Controls/UIDoubleUpDown.cs
@@ -44,6 +44,7 @@ namespace Sunny.UI
{
[DefaultEvent("ValueChanged")]
[DefaultProperty("Value")]
+ [Description("鏁板瓧涓婁笅閫夋嫨妗嗘帶浠")]
public sealed partial class UIDoubleUpDown : UIPanel, IToolTip
{
public delegate void OnValueChanged(object sender, double value);
diff --git a/SunnyUI/Controls/UIFlowLayoutPanel.cs b/SunnyUI/Controls/UIFlowLayoutPanel.cs
index 430fa3c4..eede35e7 100644
--- a/SunnyUI/Controls/UIFlowLayoutPanel.cs
+++ b/SunnyUI/Controls/UIFlowLayoutPanel.cs
@@ -42,6 +42,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("婊氬姩瀹瑰櫒鎺т欢")]
public class UIFlowLayoutPanel : UIPanel, IToolTip
{
private UIVerScrollBarEx VBar;
diff --git a/SunnyUI/Controls/UIGifAvatar.cs b/SunnyUI/Controls/UIGifAvatar.cs
index a8d38285..f2fb43a6 100644
--- a/SunnyUI/Controls/UIGifAvatar.cs
+++ b/SunnyUI/Controls/UIGifAvatar.cs
@@ -32,6 +32,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
[ToolboxItem(true)]
+ [Description("Gif鍔ㄦ佸ご鍍忔帶浠")]
public class UIGifAvatar : UIControl, IZoomScale
{
private Image image;
diff --git a/SunnyUI/Controls/UIGroupBox.cs b/SunnyUI/Controls/UIGroupBox.cs
index 08245390..d6befc39 100644
--- a/SunnyUI/Controls/UIGroupBox.cs
+++ b/SunnyUI/Controls/UIGroupBox.cs
@@ -34,6 +34,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
[DefaultProperty("Text")]
+ [Description("缁勬鎺т欢")]
public partial class UIGroupBox : UIPanel
{
public UIGroupBox()
diff --git a/SunnyUI/Controls/UIHeaderButton.cs b/SunnyUI/Controls/UIHeaderButton.cs
index 39d3ef99..bdc7f308 100644
--- a/SunnyUI/Controls/UIHeaderButton.cs
+++ b/SunnyUI/Controls/UIHeaderButton.cs
@@ -43,6 +43,7 @@ namespace Sunny.UI
[DefaultEvent("Click")]
[DefaultProperty("Text")]
[ToolboxItem(true)]
+ [Description("椤堕儴鍥炬爣鎸夐挳鎺т欢")]
public class UIHeaderButton : UIControl, IButtonControl, ISymbol
{
public UIHeaderButton()
diff --git a/SunnyUI/Controls/UIIPTextBox.cs b/SunnyUI/Controls/UIIPTextBox.cs
index 52fa39d8..51aa7fbf 100644
--- a/SunnyUI/Controls/UIIPTextBox.cs
+++ b/SunnyUI/Controls/UIIPTextBox.cs
@@ -35,6 +35,7 @@ namespace Sunny.UI
{
[DefaultProperty("Text")]
[DefaultEvent("ValueChanged")]
+ [Description("IP鍦板潃杈撳叆妗嗘帶浠")]
public sealed partial class UIIPTextBox : UIPanel
{
private IPAddress _value;
diff --git a/SunnyUI/Controls/UIImageButton.cs b/SunnyUI/Controls/UIImageButton.cs
index 61300923..ce45f9f0 100644
--- a/SunnyUI/Controls/UIImageButton.cs
+++ b/SunnyUI/Controls/UIImageButton.cs
@@ -32,6 +32,7 @@ namespace Sunny.UI
///
/// 鍥惧儚鎸夐挳
///
+ [Description("鍥惧儚鎸夐挳鎺т欢")]
public sealed class UIImageButton : PictureBox, IStyleInterface, IZoomScale, IFormTranslator
{
private bool IsPress;
diff --git a/SunnyUI/Controls/UIImageListBox.cs b/SunnyUI/Controls/UIImageListBox.cs
index 9046c173..3cdecff4 100644
--- a/SunnyUI/Controls/UIImageListBox.cs
+++ b/SunnyUI/Controls/UIImageListBox.cs
@@ -38,6 +38,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
[DefaultEvent("ItemClick")]
+ [Description("鍥剧墖鍒楄〃妗嗘帶浠")]
public sealed partial class UIImageListBox : UIPanel, IToolTip
{
private readonly ImageListBox listbox = new ImageListBox();
diff --git a/SunnyUI/Controls/UIIntegerUpDown.cs b/SunnyUI/Controls/UIIntegerUpDown.cs
index 7ef5fadc..d9d5c515 100644
--- a/SunnyUI/Controls/UIIntegerUpDown.cs
+++ b/SunnyUI/Controls/UIIntegerUpDown.cs
@@ -43,6 +43,7 @@ namespace Sunny.UI
{
[DefaultEvent("ValueChanged")]
[DefaultProperty("Value")]
+ [Description("鏁板瓧涓婁笅閫夋嫨妗嗘帶浠")]
public sealed partial class UIIntegerUpDown : UIPanel, IToolTip
{
public delegate void OnValueChanged(object sender, int value);
diff --git a/SunnyUI/Controls/UILabel.cs b/SunnyUI/Controls/UILabel.cs
index 4a9b5a06..4a795640 100644
--- a/SunnyUI/Controls/UILabel.cs
+++ b/SunnyUI/Controls/UILabel.cs
@@ -34,6 +34,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("Click")]
[DefaultProperty("Text")]
+ [Description("鏍囩鎺т欢")]
public class UILabel : Label, IStyleInterface, IZoomScale, IFormTranslator
{
public UILabel()
diff --git a/SunnyUI/Controls/UILedBulb.cs b/SunnyUI/Controls/UILedBulb.cs
index fb159b2c..3f6cb16d 100644
--- a/SunnyUI/Controls/UILedBulb.cs
+++ b/SunnyUI/Controls/UILedBulb.cs
@@ -34,6 +34,7 @@ namespace Sunny.UI
/// provide a sleek looking representation of an LED light that is sizable,
/// has a transparent background and can be set to different colors.
///
+ [Description("LED鐏帶浠")]
public class UILedBulb : Control, IZoomScale
{
#region Public and Private Members
diff --git a/SunnyUI/Controls/UILedDisplay.cs b/SunnyUI/Controls/UILedDisplay.cs
index 8f668a50..45b5dbef 100644
--- a/SunnyUI/Controls/UILedDisplay.cs
+++ b/SunnyUI/Controls/UILedDisplay.cs
@@ -31,6 +31,7 @@ namespace Sunny.UI
/// LED鏄剧ず灞
///
[DefaultProperty("Text")]
+ [Description("LED鏄剧ず灞忔帶浠")]
public class UILedDisplay : Control
{
#region 缁勪欢璁捐鍣ㄧ敓鎴愮殑浠g爜
diff --git a/SunnyUI/Controls/UILedLabel.cs b/SunnyUI/Controls/UILedLabel.cs
index 1675d0e3..37a247df 100644
--- a/SunnyUI/Controls/UILedLabel.cs
+++ b/SunnyUI/Controls/UILedLabel.cs
@@ -30,6 +30,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("Click")]
[DefaultProperty("Text")]
+ [Description("LED鏍囩鎺т欢")]
public class UILedLabel : UIControl
{
public UILedLabel()
diff --git a/SunnyUI/Controls/UILedStopwatch.cs b/SunnyUI/Controls/UILedStopwatch.cs
index fc28299b..16913361 100644
--- a/SunnyUI/Controls/UILedStopwatch.cs
+++ b/SunnyUI/Controls/UILedStopwatch.cs
@@ -29,6 +29,7 @@ namespace Sunny.UI
///
[DefaultEvent("TimerTick")]
[DefaultProperty("Text")]
+ [Description("LED璁℃椂鍣ㄦ帶浠")]
public sealed class UILedStopwatch : UILedDisplay
{
private readonly System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
diff --git a/SunnyUI/Controls/UILight.cs b/SunnyUI/Controls/UILight.cs
index 66d155b0..bae005c4 100644
--- a/SunnyUI/Controls/UILight.cs
+++ b/SunnyUI/Controls/UILight.cs
@@ -40,6 +40,7 @@ namespace Sunny.UI
}
[ToolboxItem(true)]
+ [Description("鎻愮ず鐏帶浠")]
public sealed class UILight : UIControl
{
private Timer timer;
diff --git a/SunnyUI/Controls/UILine.cs b/SunnyUI/Controls/UILine.cs
index 723c12bf..0b84c6c1 100644
--- a/SunnyUI/Controls/UILine.cs
+++ b/SunnyUI/Controls/UILine.cs
@@ -34,6 +34,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
[ToolboxItem(true)]
+ [Description("鍒嗗壊绾挎帶浠")]
public sealed class UILine : UIControl
{
public UILine()
diff --git a/SunnyUI/Controls/UIListBox.cs b/SunnyUI/Controls/UIListBox.cs
index 2bc3a65c..1b533dfc 100644
--- a/SunnyUI/Controls/UIListBox.cs
+++ b/SunnyUI/Controls/UIListBox.cs
@@ -45,6 +45,7 @@ namespace Sunny.UI
{
[DefaultEvent("ItemClick")]
[DefaultProperty("Items")]
+ [Description("鍒楄〃妗嗘帶浠")]
public sealed class UIListBox : UIPanel, IToolTip
{
private readonly ListBoxEx listbox = new ListBoxEx();
diff --git a/SunnyUI/Controls/UIMarkLabel.cs b/SunnyUI/Controls/UIMarkLabel.cs
index 0e1dc4f6..50e28c95 100644
--- a/SunnyUI/Controls/UIMarkLabel.cs
+++ b/SunnyUI/Controls/UIMarkLabel.cs
@@ -29,6 +29,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("Click")]
[DefaultProperty("Text")]
+ [Description("甯﹂鑹叉爣绛炬帶浠")]
public sealed class UIMarkLabel : UILabel
{
public UIMarkLabel()
diff --git a/SunnyUI/Controls/UIMenuButton.cs b/SunnyUI/Controls/UIMenuButton.cs
index a23966dc..edb8350d 100644
--- a/SunnyUI/Controls/UIMenuButton.cs
+++ b/SunnyUI/Controls/UIMenuButton.cs
@@ -28,6 +28,7 @@ namespace Sunny.UI
{
[DefaultEvent("Click")]
[DefaultProperty("Text")]
+ [Description("涓嬫媺鑿滃崟鎸夐挳鎺т欢")]
public class UIMenuButton : UISymbolButton
{
private bool _showDropArrow = true;
diff --git a/SunnyUI/Controls/UIMillisecondTimer.cs b/SunnyUI/Controls/UIMillisecondTimer.cs
index cd682575..e3a3e271 100644
--- a/SunnyUI/Controls/UIMillisecondTimer.cs
+++ b/SunnyUI/Controls/UIMillisecondTimer.cs
@@ -19,15 +19,16 @@
* 2021-08-15: V3.0.6 澧炲姞鏂囦欢璇存槑
******************************************************************************/
-using Sunny.UI.Win32;
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
+using Sunny.UI.Win32;
namespace Sunny.UI
{
[DefaultEvent("Tick")]
[DefaultProperty("Interval")]
+ [Description("姣瀹氭椂鍣ㄦ帶浠")]
public class UIMillisecondTimer : Component
{
public event EventHandler Tick;
diff --git a/SunnyUI/Controls/UIMiniPagination.cs b/SunnyUI/Controls/UIMiniPagination.cs
index 92c0bc52..0099af9f 100644
--- a/SunnyUI/Controls/UIMiniPagination.cs
+++ b/SunnyUI/Controls/UIMiniPagination.cs
@@ -34,6 +34,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("杩蜂綘鍒嗛〉鎺т欢")]
public class UIMiniPagination : UIPanel
{
public delegate void OnPageChangeEventHandler(object sender, object pagingSource, int pageIndex, int count);
diff --git a/SunnyUI/Controls/UINavBar.cs b/SunnyUI/Controls/UINavBar.cs
index 377944e6..2f8497cc 100644
--- a/SunnyUI/Controls/UINavBar.cs
+++ b/SunnyUI/Controls/UINavBar.cs
@@ -42,6 +42,7 @@ namespace Sunny.UI
{
[DefaultEvent("MenuItemClick")]
[DefaultProperty("Nodes")]
+ [Description("瀵艰埅鏍忔帶浠")]
public sealed partial class UINavBar : ScrollableControl, IStyleInterface, IZoomScale
{
public readonly TreeView Menu = new TreeView();
diff --git a/SunnyUI/Controls/UINavMenu.cs b/SunnyUI/Controls/UINavMenu.cs
index 5f58c207..625766f0 100644
--- a/SunnyUI/Controls/UINavMenu.cs
+++ b/SunnyUI/Controls/UINavMenu.cs
@@ -52,6 +52,7 @@ namespace Sunny.UI
{
[DefaultEvent("MenuItemClick")]
[DefaultProperty("Nodes")]
+ [Description("瀵艰埅鑿滃崟鎺т欢")]
public sealed class UINavMenu : TreeView, IStyleInterface, IZoomScale
{
public delegate void OnMenuItemClick(TreeNode node, NavMenuItem item, int pageIndex);
diff --git a/SunnyUI/Controls/UINumPadTextBox.cs b/SunnyUI/Controls/UINumPadTextBox.cs
index 1ddc22ec..1fa46cb8 100644
--- a/SunnyUI/Controls/UINumPadTextBox.cs
+++ b/SunnyUI/Controls/UINumPadTextBox.cs
@@ -34,6 +34,7 @@ namespace Sunny.UI
{
[ToolboxItem(true)]
[DefaultEvent("ValueChanged")]
+ [Description("妯℃嫙鏁板瓧閿洏杈撳叆妗嗘帶浠")]
public class UINumPadTextBox : UIDropControl, IToolTip, IHideDropDown
{
public UINumPadTextBox()
diff --git a/SunnyUI/Controls/UIPagination.cs b/SunnyUI/Controls/UIPagination.cs
index 175a834b..ef8e2e27 100644
--- a/SunnyUI/Controls/UIPagination.cs
+++ b/SunnyUI/Controls/UIPagination.cs
@@ -36,6 +36,7 @@ using System.Windows.Forms;
namespace Sunny.UI
{
+ [Description("鍒嗛〉鎺т欢")]
public class UIPagination : UIPanel, ITranslate
{
public delegate void OnPageChangeEventHandler(object sender, object pagingSource, int pageIndex, int count);
diff --git a/SunnyUI/Controls/UIPanel.cs b/SunnyUI/Controls/UIPanel.cs
index 9ad7a717..f60b19e9 100644
--- a/SunnyUI/Controls/UIPanel.cs
+++ b/SunnyUI/Controls/UIPanel.cs
@@ -36,6 +36,7 @@ using System.Drawing.Drawing2D;
namespace Sunny.UI
{
+ [Description("闈㈡澘鎺т欢")]
public partial class UIPanel : UIUserControl
{
public UIPanel()
diff --git a/SunnyUI/Controls/UIPipe.cs b/SunnyUI/Controls/UIPipe.cs
index e6516e3b..c6da87a7 100644
--- a/SunnyUI/Controls/UIPipe.cs
+++ b/SunnyUI/Controls/UIPipe.cs
@@ -30,6 +30,7 @@ using System.Drawing.Drawing2D;
namespace Sunny.UI
{
[ToolboxItem(true)]
+ [Description("绠¢亾鎺т欢")]
public class UIPipe : UIControl
{
public UIPipe()
diff --git a/SunnyUI/Controls/UIProcessBar.cs b/SunnyUI/Controls/UIProcessBar.cs
index dd5f7975..329f7688 100644
--- a/SunnyUI/Controls/UIProcessBar.cs
+++ b/SunnyUI/Controls/UIProcessBar.cs
@@ -38,6 +38,7 @@ namespace Sunny.UI
[ToolboxItem(true)]
[DefaultEvent("ValueChanged")]
[DefaultProperty("Value")]
+ [Description("杩涘害鏉℃帶浠")]
public sealed class UIProcessBar : UIControl
{
private int maximum = 100;
diff --git a/SunnyUI/Controls/UITabControl.cs b/SunnyUI/Controls/UITabControl.cs
index d92aeb5c..f3ce1731 100644
--- a/SunnyUI/Controls/UITabControl.cs
+++ b/SunnyUI/Controls/UITabControl.cs
@@ -19,25 +19,25 @@
* 2020-01-01: V2.2.0 澧炲姞鏂囦欢璇存槑
* 2020-06-27: V2.2.5 閲嶇粯宸﹀彸閫夋嫨鎸夐挳
* 2020-08-12: V2.2.7 鏍囬鍨傜洿灞呬腑
- * 2021-04-01: V3.0.2 淇敼绗竴涓猅abPage鍏充笉鎺夌殑Bug
+ * 2021-04-01: V3.0.2 淇敼绗竴涓 TabPage 鍏充笉鎺夌殑Bug
* 2021-06-08: V3.0.4 Tab椤垫爣棰橀変腑楂樹寒棰滆壊澧炲姞鍙皟鏁撮珮搴
* 2021-07-14: V3.0.5 鏀寔Tab鍦ㄤ笅鏂规樉绀
- * 2021-08-14: V3.0.6 澧炲姞DisposeTabPageAfterRemove鏍囧織锛岀Щ闄abPage鍚庯紝鏄惁鑷姩閿姣乀abPage
+ * 2021-08-14: V3.0.6 澧炲姞 DisposeTabPageAfterRemove 鏍囧織锛岀Щ闄 TabPage 鍚庯紝鏄惁鑷姩閿姣 TabPage
* 2022-01-02: V3.0.9 澧炲姞瑙掓爣
* 2022-01-13: V3.1.0 淇敼鍒犻櫎椤甸潰鏃剁殑椤甸潰璺宠浆
* 2022-04-18: V3.1.5 鍏抽棴鎸夐挳澧炲姞榧犳爣绉诲叆鐨勬晥鏋
* 2022-04-20: V3.1.5 涓嶆樉绀烘爣绛鹃〉鏃跺睆钄藉乏鍙抽敭
* 2022-05-11: V3.1.8 淇灞忚斀宸﹀彸閿悗鍏朵粬鎺т欢鏃犳硶浣跨敤宸﹀彸閿殑闂
* 2022-05-17: V3.1.9 淇浜嗕竴涓椤垫棤娉曞叧闂殑闂
- * 2022-06-19: V3.2.0 澶氶〉闈㈡鏋跺叧闂〉闈㈡椂鎵цUIPage鐨凢ormClosed浜嬩欢
+ * 2022-06-19: V3.2.0 澶氶〉闈㈡鏋跺叧闂〉闈㈡椂鎵ц UIPage 鐨 FormClosed 浜嬩欢
* 2023-05-12: V3.3.6 閲嶆瀯DrawString鍑芥暟
* 2023-11-06: V3.5.2 閲嶆瀯涓婚
- * 2023-12-13: V3.6.2 浼樺寲UIPage鐨処nit鍜孎inal鍔犺浇閫昏緫
- * 2024-11-29: V3.8.0 淇浜哠electedIndex=-1鏃剁殑鎶ラ敊
+ * 2023-12-13: V3.6.2 浼樺寲 UIPage 鐨 Init 鍜 Final 鍔犺浇閫昏緫
+ * 2024-11-29: V3.8.0 淇浜 SelectedIndex = -1鏃剁殑鎶ラ敊
* 2024-12-12: V3.8.0 淇鏍囩鏂囧瓧瓒婄晫鏄剧ず #IB8571
* 2024-12-12: V3.8.0 澧炲姞鏈夐〉绛鹃鑹 #IB7U69
- * 2025-02-07: V3.8.1 淇鍒囨崲涓婚鑹叉椂锛孴abPage鏈缃儗鏅壊锛#IBKDR7
- * 2025-02-13: V3.8.1 澧炲姞鏍囩椤靛垎鍓茬嚎灞炴howTabDivider锛#IBLERL
+ * 2025-02-07: V3.8.1 淇鍒囨崲涓婚鑹叉椂锛孴abPage 鏈缃儗鏅壊锛#IBKDR7
+ * 2025-02-13: V3.8.1 澧炲姞鏍囩椤靛垎鍓茬嚎灞炴 ShowTabDivider锛#IBLERL
******************************************************************************/
using System;