diff --git a/.gitignore b/.gitignore
index 8730a3d0..516d9be6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -336,4 +336,5 @@ ASALocalRun/
.localhistory/
# BeatPulse healthcheck temp database
-healthchecksdb
\ No newline at end of file
+healthchecksdb
+/SunnyUI.Net5.Demo/bin/net5.0-windows
diff --git a/Bin/net40/SunnyUI.Demo.exe b/Bin/net40/SunnyUI.Demo.exe
index 9419a076..28d7ec72 100644
Binary files a/Bin/net40/SunnyUI.Demo.exe and b/Bin/net40/SunnyUI.Demo.exe differ
diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll
index 9a251c14..de693e36 100644
Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ
diff --git a/Bin/net462/SunnyUI.dll b/Bin/net462/SunnyUI.dll
index b87f0946..2c72785b 100644
Binary files a/Bin/net462/SunnyUI.dll and b/Bin/net462/SunnyUI.dll differ
diff --git a/Bin/net5.0-windows/SunnyUI.dll b/Bin/net5.0-windows/SunnyUI.dll
index b114b68d..417fa8d5 100644
Binary files a/Bin/net5.0-windows/SunnyUI.dll and b/Bin/net5.0-windows/SunnyUI.dll differ
diff --git a/Bin/netcoreapp3.1/SunnyUI.dll b/Bin/netcoreapp3.1/SunnyUI.dll
index 3672a6f0..b35c5785 100644
Binary files a/Bin/netcoreapp3.1/SunnyUI.dll and b/Bin/netcoreapp3.1/SunnyUI.dll differ
diff --git a/SunnyUI.Demo/Industrial/FPipe.designer.cs b/SunnyUI.Demo/Industrial/FPipe.designer.cs
index ea523d9d..49b80115 100644
--- a/SunnyUI.Demo/Industrial/FPipe.designer.cs
+++ b/SunnyUI.Demo/Industrial/FPipe.designer.cs
@@ -566,7 +566,7 @@ namespace Sunny.UI.Demo
//
this.AllowShowTitle = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(855, 642);
this.Controls.Add(this.uiValve4);
this.Controls.Add(this.uiValve2);
diff --git a/SunnyUI.Demo/SunnyUI.Demo.csproj b/SunnyUI.Demo/SunnyUI.Demo.csproj
index 3bbc4626..2213c1b2 100644
--- a/SunnyUI.Demo/SunnyUI.Demo.csproj
+++ b/SunnyUI.Demo/SunnyUI.Demo.csproj
@@ -34,6 +34,9 @@
SunnyUI.ico
+
+ app.manifest
+
False
@@ -521,6 +524,7 @@
.editorconfig
+
SettingsSingleFileGenerator
diff --git a/SunnyUI.Demo/app.manifest b/SunnyUI.Demo/app.manifest
new file mode 100644
index 00000000..c7cd7fe9
--- /dev/null
+++ b/SunnyUI.Demo/app.manifest
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
diff --git a/SunnyUI.Net5.Demo/SunnyUI.Net5.Demo.csproj b/SunnyUI.Net5.Demo/SunnyUI.Net5.Demo.csproj
index d90b48f7..f2089a92 100644
--- a/SunnyUI.Net5.Demo/SunnyUI.Net5.Demo.csproj
+++ b/SunnyUI.Net5.Demo/SunnyUI.Net5.Demo.csproj
@@ -13,6 +13,7 @@
SunnyUI.Net
Copyright ©SunnyUI.Net 2012-2021
https://gitee.com/yhuse/SunnyUI
+ app.manifest
diff --git a/SunnyUI.Net5.Demo/app.manifest b/SunnyUI.Net5.Demo/app.manifest
new file mode 100644
index 00000000..c7cd7fe9
--- /dev/null
+++ b/SunnyUI.Net5.Demo/app.manifest
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
diff --git a/SunnyUI/Charts/UIBarChart.cs b/SunnyUI/Charts/UIBarChart.cs
index 2d131746..29c1c5fe 100644
--- a/SunnyUI/Charts/UIBarChart.cs
+++ b/SunnyUI/Charts/UIBarChart.cs
@@ -18,6 +18,7 @@
*
* 2020-06-06: V2.2.5 增加文件说明
* 2020-08-21: V2.2.7 可设置柱状图最小宽度
+ * 2021-07-22: V3.0.5 增加更新数据的方法
******************************************************************************/
using System;
diff --git a/SunnyUI/Charts/UIDoughnutChart.cs b/SunnyUI/Charts/UIDoughnutChart.cs
index 8f58776e..15c6e070 100644
--- a/SunnyUI/Charts/UIDoughnutChart.cs
+++ b/SunnyUI/Charts/UIDoughnutChart.cs
@@ -17,6 +17,7 @@
* 创建日期: 2020-06-06
*
* 2020-06-06: V2.2.5 增加文件说明
+ * 2021-07-22: V3.0.5 增加更新数据的方法
******************************************************************************/
using System;
diff --git a/SunnyUI/Charts/UILineChart.cs b/SunnyUI/Charts/UILineChart.cs
index 656ddd22..e9c5e5e9 100644
--- a/SunnyUI/Charts/UILineChart.cs
+++ b/SunnyUI/Charts/UILineChart.cs
@@ -18,6 +18,9 @@
*
* 2020-10-01: V2.2.8 完成曲线图表
* 2021-04-06: V3.0.2 增加鼠标框选放大,可多次放大,右键点击恢复一次,双击恢复默认
+ * 2021-04-15: V3.0.3 有右键菜单时,取消恢复上次缩放,可在右键菜单增加节点,调用ZoomBack()方法
+ * 2021-06-18: V3.0.4 显示鼠标点格式更新
+ * 2021-07-22: V3.0.5 可自定义背景色,增加实时数据的Demo
******************************************************************************/
using System;
diff --git a/SunnyUI/Charts/UIPieChart.cs b/SunnyUI/Charts/UIPieChart.cs
index 88ac9709..4a3f831c 100644
--- a/SunnyUI/Charts/UIPieChart.cs
+++ b/SunnyUI/Charts/UIPieChart.cs
@@ -17,6 +17,7 @@
* 创建日期: 2020-06-06
*
* 2020-06-06: V2.2.5 增加文件说明
+ * 2021-07-22: V3.0.5 增加更新数据的方法
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs b/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs
index 054f6893..4dafafe7 100644
--- a/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs
+++ b/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs
@@ -1,4 +1,25 @@
-using System;
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.dll can be used for free under the GPL-3.0 license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UIToolStripDropDown.cs
+ * 文件说明: 弹窗管理类
+ * 当前版本: V3.0
+ * 创建日期: 2021-07-10
+ *
+ * 2021-07-10: V3.0.4 增加文件说明
+******************************************************************************/
+
+using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
diff --git a/SunnyUI/Controls/UIBattery.cs b/SunnyUI/Controls/UIBattery.cs
index f8ba6673..ad95ea63 100644
--- a/SunnyUI/Controls/UIBattery.cs
+++ b/SunnyUI/Controls/UIBattery.cs
@@ -17,6 +17,7 @@
* 创建日期: 2020-06-04
*
* 2020-06-04: V2.2.5 增加文件
+ * 2021-06-18: V3.0.4 修改可自定义背景色
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIButton.cs b/SunnyUI/Controls/UIButton.cs
index b734b128..d5d1dfdf 100644
--- a/SunnyUI/Controls/UIButton.cs
+++ b/SunnyUI/Controls/UIButton.cs
@@ -21,6 +21,7 @@
* 2020-07-26: V2.2.6 增加Selected及选中颜色配置
* 2020-08-22: V2.2.7 空格键按下press背景效果,添加双击事件,解决因快速点击导致过慢问题
* 2020-09-14: V2.2.7 Tips颜色可设置
+ * 2021-07-18: V3.0.5 增加ShowFocusColor,用来显示Focus状态
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UICheckBox.cs b/SunnyUI/Controls/UICheckBox.cs
index d57c5d36..da0fae28 100644
--- a/SunnyUI/Controls/UICheckBox.cs
+++ b/SunnyUI/Controls/UICheckBox.cs
@@ -19,6 +19,7 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-04-16: V2.2.1 增加ReadOnly属性
* 2020-04-25: V2.2.4 更新主题配置类
+* 2021-04-26: V3.0.3 增加默认事件CheckedChanged
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs
index d2065188..ec454aa4 100644
--- a/SunnyUI/Controls/UIComboBox.cs
+++ b/SunnyUI/Controls/UIComboBox.cs
@@ -18,6 +18,10 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-06-11: V2.2.5 增加DataSource,支持数据绑定
+ * 2021-05-06: V3.0.3 解决鼠标下拉选择,触发SelectedIndexChanged两次的问题
+ * 2021-06-03: V3.0.4 更新了数据绑定相关代码
+ * 2021-08-03: V3.0.5 Items.Clear后清除显示
+ * 2021-08-15: V3.0.6 重写了水印文字的画法,并增加水印文字颜色
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIComboTreeView.cs b/SunnyUI/Controls/UIComboTreeView.cs
index 24f4d0e2..c4dbd8b3 100644
--- a/SunnyUI/Controls/UIComboTreeView.cs
+++ b/SunnyUI/Controls/UIComboTreeView.cs
@@ -1,4 +1,26 @@
-using System;
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.dll can be used for free under the GPL-3.0 license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UIComboTreeView.cs
+ * 文件说明: 树形列表框
+ * 当前版本: V3.0
+ * 创建日期: 2020-11-11
+ *
+ * 2021-07-29: V3.0.5 修复SelectedNode=null的问题
+ * 2020-11-11: V3.0.0 增加文件说明
+******************************************************************************/
+
+using System;
using System.ComponentModel;
using System.Drawing;
using System.Text;
diff --git a/SunnyUI/Controls/UIDataGridView.cs b/SunnyUI/Controls/UIDataGridView.cs
index c54b6440..aeecaba1 100644
--- a/SunnyUI/Controls/UIDataGridView.cs
+++ b/SunnyUI/Controls/UIDataGridView.cs
@@ -20,10 +20,13 @@
* 2020-04-25: V2.2.4 功能增强、美化
* 2020-07-15: V2.2.6 更改默认配置为原生
* 2020-07-18: V2.2.6 重绘水平滚动条
- * 2020-08-22: V2.2.7 更新了水平和垂直滚动条的显示,优化滚动效果。
+ * 2020-08-22: V2.2.7 更新了水平和垂直滚动条的显示,优化滚动效果
* 2020-08-28: V2.2.7 调整水平滚动条
- * 2021-03-25: V3.0.2 修改垂直滚动条和原版一致,并增加翻页方式滚动。
+ * 2021-03-25: V3.0.2 修改垂直滚动条和原版一致,并增加翻页方式滚动
* 2021-04-01: V3.0.2 编辑输入时,用Enter键代替Tab键跳到下一个单元格
+ * 2021-04-29: V3.0.3 设置数据行头部颜色
+ * 2021-05-22: V3.0.4 增加了一个RowHeight,默认23
+ * 2021-06-27: V3.0.4 自定义单元格颜色
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIDatePicker.cs b/SunnyUI/Controls/UIDatePicker.cs
index 3bf82602..7e235646 100644
--- a/SunnyUI/Controls/UIDatePicker.cs
+++ b/SunnyUI/Controls/UIDatePicker.cs
@@ -18,6 +18,8 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-08-07: V2.2.7 可编辑输入,日期范围控制以防止出错
+ * 2021-04-15: V3.0.3 增加ShowToday显示今日属性
+ * 2021-08-14: V3.0.6 增加可选择年、年月、年月日
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIDateTimePicker.cs b/SunnyUI/Controls/UIDateTimePicker.cs
index 26934032..3de53818 100644
--- a/SunnyUI/Controls/UIDateTimePicker.cs
+++ b/SunnyUI/Controls/UIDateTimePicker.cs
@@ -20,6 +20,7 @@
* 2020-07-06: V2.2.6 重写下拉窗体,缩短创建时间
* 2020-08-07: V2.2.7 可编辑输入,日期范围控制以防止出错
* 2020-09-16: V2.2.7 更改滚轮选择时间的方向
+ * 2021-04-15: V3.0.3 增加ShowToday显示今日属性
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIFlowLayoutPanel.cs b/SunnyUI/Controls/UIFlowLayoutPanel.cs
index 72db5e26..8412c2c8 100644
--- a/SunnyUI/Controls/UIFlowLayoutPanel.cs
+++ b/SunnyUI/Controls/UIFlowLayoutPanel.cs
@@ -17,6 +17,9 @@
* 创建日期: 2020-09-29
*
* 2020-09-29: V2.2.8 增加文件说明
+ * 2021-07-10: V3.0.4 增加滚动条颜色属性
+ * 2021-07-31: V3.0.5 可像原生控件一样通过Controls.Add增加
+ * 2021-08-11: V3.0.5 删除点击的Focus事件
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIHeaderButton.cs b/SunnyUI/Controls/UIHeaderButton.cs
index d26b4ba2..43d3da6b 100644
--- a/SunnyUI/Controls/UIHeaderButton.cs
+++ b/SunnyUI/Controls/UIHeaderButton.cs
@@ -18,9 +18,10 @@
*
* 2021-02-10: V3.0.1 增加文件说明
* 2021-03-27: V3.0.2 增加字体图标背景时鼠标移上背景色
+ * 2021-06-01: V3.0.4 增加图片与文字的位置
+ * 2021-06-22: V3.0.4 增加ShowSelected,是否显示选中状态
******************************************************************************/
-
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/SunnyUI/Controls/UIImageListBox.cs b/SunnyUI/Controls/UIImageListBox.cs
index c54449ae..e6adbf44 100644
--- a/SunnyUI/Controls/UIImageListBox.cs
+++ b/SunnyUI/Controls/UIImageListBox.cs
@@ -19,6 +19,7 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-04-25: V2.2.4 更新主题配置类
* 2020-05-21: V2.2.5 增加鼠标滑过高亮
+ * 2021-08-07: V3.0.5 从文件载入图片,并且解除占用
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UILight.cs b/SunnyUI/Controls/UILight.cs
index e8fba964..ca265a8e 100644
--- a/SunnyUI/Controls/UILight.cs
+++ b/SunnyUI/Controls/UILight.cs
@@ -17,6 +17,8 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-06-19: V3.0.4 增加方形显示,优化渐变色
+ * 2021-08-07: V3.0.5 默认不显示灯光亮线
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIListBox.cs b/SunnyUI/Controls/UIListBox.cs
index 10614989..f0cd5161 100644
--- a/SunnyUI/Controls/UIListBox.cs
+++ b/SunnyUI/Controls/UIListBox.cs
@@ -20,6 +20,10 @@
* 2020-04-25: V2.2.4 更新主题配置类
* 2020-05-21: V2.2.5 增加鼠标滑过高亮
* 开发日志:https://www.cnblogs.com/yhuse/p/12933885.html
+ * 2021-06-03: V3.0.4 修改对象绑定的显示问题
+ * 2021-07-29: V3.0.5 增加多选行
+ * 2021-07-30: V3.0.5 选中项显示方角
+ * 2021-08-04: V3.0.5 增加Items变更的事件
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UINavBar.cs b/SunnyUI/Controls/UINavBar.cs
index 9d73ac7e..000c6d37 100644
--- a/SunnyUI/Controls/UINavBar.cs
+++ b/SunnyUI/Controls/UINavBar.cs
@@ -19,6 +19,8 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-08-28: V2.2.7 增加节点的Image绘制
* 2021-03-20: V3.0.2 增加可设置背景图片
+ * 2021-06-08: V3.0.4 标题选中高亮颜色增加可调整高度
+ * 2021-08-07: V3.0.5 显示/隐藏子节点提示箭头,增加选中项圆角
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UINavMenu.cs b/SunnyUI/Controls/UINavMenu.cs
index 972a5916..4c0ec87d 100644
--- a/SunnyUI/Controls/UINavMenu.cs
+++ b/SunnyUI/Controls/UINavMenu.cs
@@ -19,6 +19,8 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-07-01: V2.2.6 解决引发事件所有结点重绘导致闪烁;解决滚轮失效问题。
* 2020-03-12: V3.0.2 增加设置二级菜单底色
+ * 2021-06-14: V3.0.4 增加右侧图标
+ * 2021-08-07: V3.0.5 显示/隐藏子节点提示箭头
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIPagination.cs b/SunnyUI/Controls/UIPagination.cs
index 253c1634..249b2163 100644
--- a/SunnyUI/Controls/UIPagination.cs
+++ b/SunnyUI/Controls/UIPagination.cs
@@ -18,6 +18,7 @@
*
* 2020-07-15: V2.2.6 新增分页控件
* 2021-03-27: V3.0.2 修正因两次查询数量相等而引起的不刷新
+ * 2021-07-10: V3.0.4 设置总数在页面不超过总页数的情况下不刷新
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIPanel.cs b/SunnyUI/Controls/UIPanel.cs
index 24f72355..733b6704 100644
--- a/SunnyUI/Controls/UIPanel.cs
+++ b/SunnyUI/Controls/UIPanel.cs
@@ -18,6 +18,7 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-04-25: V2.2.4 更新主题配置类
+ * 2021-05-09: V3.0.3 增加双缓冲,减少闪烁
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIPipe.cs b/SunnyUI/Controls/UIPipe.cs
index 5ecaa215..6fe3ee56 100644
--- a/SunnyUI/Controls/UIPipe.cs
+++ b/SunnyUI/Controls/UIPipe.cs
@@ -17,6 +17,7 @@
* 创建日期: 2021-07-26
*
* 2020-07-26: V3.0.5 增加管道控件
+ * 2021-07-29: V3.0.5 优化管道连接
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIProcessBar.cs b/SunnyUI/Controls/UIProcessBar.cs
index 16c00298..e7e02b8b 100644
--- a/SunnyUI/Controls/UIProcessBar.cs
+++ b/SunnyUI/Controls/UIProcessBar.cs
@@ -17,7 +17,9 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
- * 2020-04-19: V2.2 增加数值变化事件
+ * 2020-04-19: V2.2.5 增加数值变化事件
+ * 2021-08-07: V3.0.5 增加垂直方向的进度显示
+ * 2021-08-14: V3.0.6 修改不显示百分比时,显示数值
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIRadioButton.cs b/SunnyUI/Controls/UIRadioButton.cs
index 17461797..d7e3fc85 100644
--- a/SunnyUI/Controls/UIRadioButton.cs
+++ b/SunnyUI/Controls/UIRadioButton.cs
@@ -19,6 +19,7 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-04-16: V2.2.1 增加ReadOnly属性
* 2020-04-25: V2.2.4 更新主题配置类
+ * 2021-04-26: V3.0.3 增加默认事件CheckedChanged
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIRichTextBox.cs b/SunnyUI/Controls/UIRichTextBox.cs
index 20b50964..c7114cba 100644
--- a/SunnyUI/Controls/UIRichTextBox.cs
+++ b/SunnyUI/Controls/UIRichTextBox.cs
@@ -17,6 +17,8 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-05-25: V3.0.4 支持可改背景色
+ * 2021-07-29: V3.0.5 修改滚动条没有文字时自动隐藏
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIScrollingText.cs b/SunnyUI/Controls/UIScrollingText.cs
index 64120213..132004c4 100644
--- a/SunnyUI/Controls/UIScrollingText.cs
+++ b/SunnyUI/Controls/UIScrollingText.cs
@@ -17,6 +17,7 @@
* 创建日期: 2020-06-29
*
* 2020-06-29: V2.2.6 新增控件
+ * 2021-07-16: V3.0.5 增加属性控制开启滚动
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UISignal.cs b/SunnyUI/Controls/UISignal.cs
index 31c85f8a..d5aaa26d 100644
--- a/SunnyUI/Controls/UISignal.cs
+++ b/SunnyUI/Controls/UISignal.cs
@@ -17,6 +17,7 @@
* 创建日期: 2021-06-19
*
* 2021-06-19: V3.0.4 增加文件说明
+ * 2021-06-20: V3.0.4 调整默认显示高度
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UISwitch.cs b/SunnyUI/Controls/UISwitch.cs
index 5825a955..660c6d72 100644
--- a/SunnyUI/Controls/UISwitch.cs
+++ b/SunnyUI/Controls/UISwitch.cs
@@ -18,6 +18,7 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-04-25: V2.2.4 更新主题配置类
+ * 2021-05-06: V3.0.3 更新Active状态改变时触发ValueChanged事件
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UITabControl.cs b/SunnyUI/Controls/UITabControl.cs
index a9e5ffa3..50d00a35 100644
--- a/SunnyUI/Controls/UITabControl.cs
+++ b/SunnyUI/Controls/UITabControl.cs
@@ -19,6 +19,10 @@
* 2020-01-01: V2.2.0 增加文件说明
* 2020-06-27: V2.2.5 重绘左右选择按钮
* 2020-08-12: V2.2.7 标题垂直居中
+ * 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标志,移除TabPage后,是否自动销毁TabPage
******************************************************************************/
using Sunny.UI.Win32;
diff --git a/SunnyUI/Controls/UITableLayoutPanel.cs b/SunnyUI/Controls/UITableLayoutPanel.cs
index 555f1359..09240b5e 100644
--- a/SunnyUI/Controls/UITableLayoutPanel.cs
+++ b/SunnyUI/Controls/UITableLayoutPanel.cs
@@ -1,4 +1,26 @@
-using System.ComponentModel;
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.dll can be used for free under the GPL-3.0 license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UITableLayoutPanel.cs
+ * 文件说明: 动态布局面板
+ * 当前版本: V3.0
+ * 创建日期: 2021-07-18
+ *
+ * 2021-07-18: V3.0.5 增加文件说明
+ * 2021-07-18: V3.0.5 更新了放在TableLayoutPanel里控件的自定义颜色问题
+******************************************************************************/
+
+using System.ComponentModel;
using System.Windows.Forms;
namespace Sunny.UI
diff --git a/SunnyUI/Controls/UITextBox.cs b/SunnyUI/Controls/UITextBox.cs
index a57a1ecd..732882eb 100644
--- a/SunnyUI/Controls/UITextBox.cs
+++ b/SunnyUI/Controls/UITextBox.cs
@@ -18,8 +18,14 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-06-03: V2.2.5 增加多行,增加滚动条
- * 2020-09-03: V2.2.7 增加FocusedSelectAll属性,激活时全选。
+ * 2020-09-03: V2.2.7 增加FocusedSelectAll属性,激活时全选
+ * 2021-04-15: V3.0.3 修改文字可以居中显示
+ * 2021-04-17: V3.0.3 不限制高度为根据字体计算,可进行调整,解决多行输入时不能输入回车的问题
* 2021-04-18: V3.0.3 增加ShowScrollBar属性,单独控制垂直滚动条
+ * 2021-06-01: V3.0.4 增加图标和字体图标的显示
+ * 2021-07-18: V3.0.5 修改Focus可用
+ * 2021-08-03: V3.0.5 增加GotFocus和LostFocus事件
+ * 2021-08-15: V3.0.6 重写了水印文字的画法,并增加水印文字颜色
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIToolTip.cs b/SunnyUI/Controls/UIToolTip.cs
index 0c62414b..244c2c43 100644
--- a/SunnyUI/Controls/UIToolTip.cs
+++ b/SunnyUI/Controls/UIToolTip.cs
@@ -18,6 +18,7 @@
*
* 2020-07-21: V2.2.6 增加控件
* 2020-07-25: V2.2.6 更新绘制
+ * 2021-08-16: V3.0.6 增加ToolTip接口,解决类似UITextBox这类的组合控件无法显示ToolTip的问题
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UITrackBar.cs b/SunnyUI/Controls/UITrackBar.cs
index 46153d54..c3276822 100644
--- a/SunnyUI/Controls/UITrackBar.cs
+++ b/SunnyUI/Controls/UITrackBar.cs
@@ -17,7 +17,7 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
- *
+ * 2021-04-11: V3.0.2 增加垂直显示方式
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UITransfer.cs b/SunnyUI/Controls/UITransfer.cs
index c3f8ec13..32fe43bb 100644
--- a/SunnyUI/Controls/UITransfer.cs
+++ b/SunnyUI/Controls/UITransfer.cs
@@ -18,6 +18,8 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-08-14: V2.2.7 增加左右列表项个数变化事件
+ * 2021-07-18: V3.0.5 新增两个事件,可获取左侧、右侧Item点击事件
+ * 2021-08-08: V3.0.5 增加了显示多个移动的属性
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UITreeView.cs b/SunnyUI/Controls/UITreeView.cs
index 9414b8a3..3a444f87 100644
--- a/SunnyUI/Controls/UITreeView.cs
+++ b/SunnyUI/Controls/UITreeView.cs
@@ -19,6 +19,7 @@
* 2020-05-05: V2.2.5 增加文件
* 2020-07-07: V2.2.6 全部重写,增加圆角,CheckBoxes等
* 2020-08-12: V2.2.7 更新可设置背景色
+ * 2021-07-19: V3.0.5 调整了显示CheckBoxes时图片位置
******************************************************************************/
using System;
diff --git a/SunnyUI/Controls/UIValve.cs b/SunnyUI/Controls/UIValve.cs
index 659654d2..599b2799 100644
--- a/SunnyUI/Controls/UIValve.cs
+++ b/SunnyUI/Controls/UIValve.cs
@@ -16,7 +16,8 @@
* 当前版本: V3.0
* 创建日期: 2021-08-08
*
- * 2021-08-08: V3.0.5 增加阀门控件
+ * 2021-08-07: V3.0.5 增加阀门控件
+ * 2021-08-08: V3.0.5 完成四个方向的阀门
******************************************************************************/
using System;
diff --git a/SunnyUI/Font/UIFontImageDefine.cs b/SunnyUI/Font/UIFontImageDefine.cs
index 27c041d4..da15b39f 100644
--- a/SunnyUI/Font/UIFontImageDefine.cs
+++ b/SunnyUI/Font/UIFontImageDefine.cs
@@ -17,6 +17,7 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-07-18: V3.0.5 将字体图标最大尺寸从64调整到128
******************************************************************************/
using System.Drawing;
diff --git a/SunnyUI/Forms/UIEditForm.cs b/SunnyUI/Forms/UIEditForm.cs
index 8507973e..e5e60255 100644
--- a/SunnyUI/Forms/UIEditForm.cs
+++ b/SunnyUI/Forms/UIEditForm.cs
@@ -17,6 +17,8 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-04-26: V3.0.3 代码生成增加Switch类型,代码生成增加Combobox类型
+ * 2021-05-19: V3.0.3 动态生成表单,增加校验方法
******************************************************************************/
using System;
diff --git a/SunnyUI/Forms/UIForm.cs b/SunnyUI/Forms/UIForm.cs
index 9f7f3887..4e69b13a 100644
--- a/SunnyUI/Forms/UIForm.cs
+++ b/SunnyUI/Forms/UIForm.cs
@@ -24,6 +24,8 @@
* 2020-09-17: V2.2.7 增加了窗体可拉拽调整大小ShowDragStretch属性
* 2021-02-04: V3.0.1 标题栏增加扩展按钮
* 2021-05-06: V3.0.3 增加属性,标题栏可放置控件
+ * 2021-08-17: V3.0.6 增加TitleFont属性
+ * 2021-08-17: V3.0.6 适应主屏幕任务栏在屏幕各个方向均可
******************************************************************************/
using System;
diff --git a/SunnyUI/Forms/UIFormHelper.cs b/SunnyUI/Forms/UIFormHelper.cs
index 8723f02c..304f413d 100644
--- a/SunnyUI/Forms/UIFormHelper.cs
+++ b/SunnyUI/Forms/UIFormHelper.cs
@@ -18,6 +18,8 @@
*
* 2020-01-01: V2.2.0 增加文件说明
* 2020-05-05: V2.2.5 增加下拉选择框,进度提升窗体
+ * 2021-05-09: V3.0.3 增加RemovePage接口,更改GetTopMost为原生接口TopMost
+ * 2021-06-27: V3.0.4 增加一个反馈的接口,Feedback,Page可将对象反馈给Frame
******************************************************************************/
using System;
diff --git a/SunnyUI/Forms/UIWaitForm.cs b/SunnyUI/Forms/UIWaitForm.cs
index 6351db38..6cb80588 100644
--- a/SunnyUI/Forms/UIWaitForm.cs
+++ b/SunnyUI/Forms/UIWaitForm.cs
@@ -1,4 +1,25 @@
-using System.ComponentModel;
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.dll can be used for free under the GPL-3.0 license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UIWaitForm.cs
+ * 文件说明: 等待窗体
+ * 当前版本: V3.0
+ * 创建日期: 2020-10-13
+ *
+ * 2020-10-13: V3.0.0 增加文件说明
+******************************************************************************/
+
+using System.ComponentModel;
namespace Sunny.UI
{
diff --git a/SunnyUI/Pages/UIPage.cs b/SunnyUI/Pages/UIPage.cs
index db78a2d2..6d448e4e 100644
--- a/SunnyUI/Pages/UIPage.cs
+++ b/SunnyUI/Pages/UIPage.cs
@@ -17,6 +17,10 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-05-21: V3.0.4 更改了下页面切换重复执行的Init事件调用
+ * 2021-06-20: V3.0.4 增加标题行,替代UITitlePage
+ * 2021-07-18: V3.0.5 修复OnLoad在加载时重复加载两次的问题,增加Final函数,每次页面切换,退出页面都会执行
+ * 2021-08-17: V3.0.6 增加TitleFont属性
******************************************************************************/
using System;
diff --git a/SunnyUI/Static/UEnvironment.cs b/SunnyUI/Static/UEnvironment.cs
index 59a11f50..fc4d5068 100644
--- a/SunnyUI/Static/UEnvironment.cs
+++ b/SunnyUI/Static/UEnvironment.cs
@@ -1,4 +1,25 @@
-using Microsoft.Win32;
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.dll can be used for free under the GPL-3.0 license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UEnvironment.cs
+ * 文件说明: 判断.Net运行环境类
+ * 当前版本: V3.0
+ * 创建日期: 2021-06-02
+ *
+ * 2021-06-02: V3.0.4 增加文件说明
+******************************************************************************/
+
+using Microsoft.Win32;
using System;
namespace Sunny.UI
diff --git a/SunnyUI/Style/UIStyle.cs b/SunnyUI/Style/UIStyle.cs
index 2258a9bd..e4234714 100644
--- a/SunnyUI/Style/UIStyle.cs
+++ b/SunnyUI/Style/UIStyle.cs
@@ -17,6 +17,8 @@
* 创建日期: 2020-01-01
*
* 2020-01-01: V2.2.0 增加文件说明
+ * 2021-07-12: V3.0.5 增加紫色主题
+ * 2021-07-18: V3.0.5 增加多彩主题,以颜色深色,文字白色为主
******************************************************************************/
using System;
diff --git a/SunnyUI/Units/ULocalize.cs b/SunnyUI/Units/ULocalize.cs
index 84be13cf..098f23a5 100644
--- a/SunnyUI/Units/ULocalize.cs
+++ b/SunnyUI/Units/ULocalize.cs
@@ -16,7 +16,8 @@
* 当前版本: V3.0
* 创建日期: 2020-01-01
*
- * 2020-04-19: V2.2 增加文件说明
+ * 2020-04-19: V2.2.0 增加文件说明
+ * 2021-07-24: V3.0.5 内置字符串已经处理完国际化
******************************************************************************/
namespace Sunny.UI
diff --git a/SunnyUI/Units/UTranslate.cs b/SunnyUI/Units/UTranslate.cs
index 725de874..1791da0c 100644
--- a/SunnyUI/Units/UTranslate.cs
+++ b/SunnyUI/Units/UTranslate.cs
@@ -1,4 +1,26 @@
-namespace Sunny.UI
+/******************************************************************************
+ * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
+ * CopyRight (C) 2012-2021 ShenYongHua(沈永华).
+ * QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
+ *
+ * Blog: https://www.cnblogs.com/yhuse
+ * Gitee: https://gitee.com/yhuse/SunnyUI
+ * GitHub: https://github.com/yhuse/SunnyUI
+ *
+ * SunnyUI.Common.dll can be used for free under the MIT license.
+ * If you use this code, please keep this note.
+ * 如果您使用此代码,请保留此说明。
+ ******************************************************************************
+ * 文件名称: UTranslate.cs
+ * 文件说明: 多语翻译接口
+ * 当前版本: V3.0
+ * 创建日期: 2021-07-23
+ *
+ * 2021-07-23: V3.0.5 增加文件说明
+******************************************************************************/
+
+
+namespace Sunny.UI
{
public interface ITranslate
{