From 9b38d5a32a6a047366370ed35bc559b68c3acf58 Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 17 Aug 2021 16:55:01 +0800 Subject: [PATCH] =?UTF-8?q?*=20=E6=9B=B4=E6=96=B0=E5=90=84=E4=B8=AA?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=9A=84=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=87=B320210817?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- Bin/net40/SunnyUI.Demo.exe | Bin 611840 -> 614400 bytes Bin/net40/SunnyUI.dll | Bin 2144256 -> 2144256 bytes Bin/net462/SunnyUI.dll | Bin 2144768 -> 2144768 bytes Bin/net5.0-windows/SunnyUI.dll | Bin 2178048 -> 2178048 bytes Bin/netcoreapp3.1/SunnyUI.dll | Bin 2113024 -> 2113024 bytes SunnyUI.Demo/Industrial/FPipe.designer.cs | 2 +- SunnyUI.Demo/SunnyUI.Demo.csproj | 4 + SunnyUI.Demo/app.manifest | 77 ++++++++++++++++++ SunnyUI.Net5.Demo/SunnyUI.Net5.Demo.csproj | 1 + SunnyUI.Net5.Demo/app.manifest | 77 ++++++++++++++++++ SunnyUI/Charts/UIBarChart.cs | 1 + SunnyUI/Charts/UIDoughnutChart.cs | 1 + SunnyUI/Charts/UILineChart.cs | 3 + SunnyUI/Charts/UIPieChart.cs | 1 + .../Controls/DropItem/UIToolStripDropDown.cs | 23 +++++- SunnyUI/Controls/UIBattery.cs | 1 + SunnyUI/Controls/UIButton.cs | 1 + SunnyUI/Controls/UICheckBox.cs | 1 + SunnyUI/Controls/UIComboBox.cs | 4 + SunnyUI/Controls/UIComboTreeView.cs | 24 +++++- SunnyUI/Controls/UIDataGridView.cs | 7 +- SunnyUI/Controls/UIDatePicker.cs | 2 + SunnyUI/Controls/UIDateTimePicker.cs | 1 + SunnyUI/Controls/UIFlowLayoutPanel.cs | 3 + SunnyUI/Controls/UIHeaderButton.cs | 3 +- SunnyUI/Controls/UIImageListBox.cs | 1 + SunnyUI/Controls/UILight.cs | 2 + SunnyUI/Controls/UIListBox.cs | 4 + SunnyUI/Controls/UINavBar.cs | 2 + SunnyUI/Controls/UINavMenu.cs | 2 + SunnyUI/Controls/UIPagination.cs | 1 + SunnyUI/Controls/UIPanel.cs | 1 + SunnyUI/Controls/UIPipe.cs | 1 + SunnyUI/Controls/UIProcessBar.cs | 4 +- SunnyUI/Controls/UIRadioButton.cs | 1 + SunnyUI/Controls/UIRichTextBox.cs | 2 + SunnyUI/Controls/UIScrollingText.cs | 1 + SunnyUI/Controls/UISignal.cs | 1 + SunnyUI/Controls/UISwitch.cs | 1 + SunnyUI/Controls/UITabControl.cs | 4 + SunnyUI/Controls/UITableLayoutPanel.cs | 24 +++++- SunnyUI/Controls/UITextBox.cs | 8 +- SunnyUI/Controls/UIToolTip.cs | 1 + SunnyUI/Controls/UITrackBar.cs | 2 +- SunnyUI/Controls/UITransfer.cs | 2 + SunnyUI/Controls/UITreeView.cs | 1 + SunnyUI/Controls/UIValve.cs | 3 +- SunnyUI/Font/UIFontImageDefine.cs | 1 + SunnyUI/Forms/UIEditForm.cs | 2 + SunnyUI/Forms/UIForm.cs | 2 + SunnyUI/Forms/UIFormHelper.cs | 2 + SunnyUI/Forms/UIWaitForm.cs | 23 +++++- SunnyUI/Pages/UIPage.cs | 4 + SunnyUI/Static/UEnvironment.cs | 23 +++++- SunnyUI/Style/UIStyle.cs | 2 + SunnyUI/Units/ULocalize.cs | 3 +- SunnyUI/Units/UTranslate.cs | 24 +++++- 58 files changed, 379 insertions(+), 16 deletions(-) create mode 100644 SunnyUI.Demo/app.manifest create mode 100644 SunnyUI.Net5.Demo/app.manifest 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 9419a0767d5a31a18d873a1e3f20a4254c8fa8ef..28d7ec72f9f423383cb6a648a79156f8b94313bd 100644 GIT binary patch delta 2909 zcmb7GO>om@8jfjqH)dg`)9!HSv@=32vp`4wl^wfv*hwjwWp`9;zy>M%%KmKHSFTM1zx9%%jcASt7 zv(8AdKYj1t^F7b|Dt&8L`rfXQ%#**{@#cvp`}1uR+4Nh7r>QC1+|=~h`KhOzO)GU4}V-5Hgoyn@+xfD;H`Lfx>y)8PxqDj7K#hhP_d9U zuB;korU)6mokEI=xC6%#n^FZy{0r(vaiY5ShjgE)_jEX)(Z}Jog>dWL9nNPxMBLib zN?OK(jM}(_APR~qGpZz$L`rC5S)?efB+tYZMA}wb&8kc2?1GSO-HZ@tVsY5;patN! zz64`<5YJxz#dPsNf9cKyzJ026Dy$pTvu!U|yOT!i(q1*|Y`zN7v19+tj!^jc4C0oxP1m&f}4@cwh<7E*R;X zfIQBO8$+bK@j6dM@hhkxd3UFZv!^b!(gnS&u_-NYW^9A^@pV>T2JxXXp6m64gXvW9; zLdZ`A{IM`a)3le0F=3YCf?wB#xI4wrD}NB}j!l$V<^af0zmf zVlgV@=RACn^KeYd!vc9d504W<9=?U~`luKm^8;)sL;;8aiVpFd7Vt3M026)yw}^YA z03z;nTCpipp$l}5()C3%H{B=+d@g64yjHq4O}rF6NPrybhk&y)l{IsvUn_q&X6W<4 z(_-OFap^LM1$0yuNS)DD3YV7NH%3>0uQhT;Wuzcctw@w;mr^2E{kr?rX#1YVOse*4 z$$(l6eFA#V_N|&d5UTpXrzh~hG=ymUX?3UBmD2Joh^Agb=>xsEe4#PO?()?s=vjp8 z{3e@QwYHIG%`$FuPK+s2}Zc?$RQ*NY$n7 z(T)_UAy><&vR;>%W)B(b&?`tTp~BRx z6AOf+_9js)Ss?@2xGne$)2_DhL`BvSh&QI(~*Qn#syup7w=%-U8m=<-;9 z^{19Xld@#J?nrW*%ytPXV%3xkA@;7{l#0Q`{xj-5A{|4PqX2Z%Anm1TmgT)1zixA! w5j#^%XT`}YYstH7n7B8`1W2?VKAYfhmTS=ICzhMP)W6L>vN!KI;{4h1KekkRGynhq delta 293 zcmZoTpxUrTbwYraEr3{dcZL5YEz(SU(r4hI9nj){x1m;|;=R1}`9$k@&$umz~- z08o6}V7gQ&Fg;@F+Io{x@68()OluUEUe~@M ziW!JmfS47C*?^dR`GzPCCl>jq(_5!+nZscs@Iq{ziOFhv|Gp0&UK^`A`EUO*heKvF z(<{d5Vga1ms-Yonx)w?b#U+V(DTz7xd8xKam8r!__IA8nyj(Vk#l@+)NjcLSLpYVE z8$@xkiW@2^AE4D&fGTo fQ2mv5(;N44oS!~nFUNuD59TmuY-fz){LcsgXozYH diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 9a251c14a45133a52440e4e28b4dd37baefc12be..de693e36dc5a0ccc2bf7d9a593109952902014b6 100644 GIT binary patch delta 222 zcmZqp(8SmP#1lGL8ur~i-q_RH!`Rxx)Y`+`+QZV?!`j-z*4o3~+QZS>!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#aLfmI-2fokro2fKXQXU^W)=^cEiU4~59)uAY8isX~B&P1Guhey$?t sX*{C&JR+G@(-oE}#412VC&NTR>i>KUtxUU--j?Gy@5%PL%M_9Y0eU1*f&c&j delta 222 zcmZqp(8SmP#1lGL)FZZ@Z0u?6VQlSTYVBce?O|!{VQuYUYwclg?cr$c;cV^UYVF}} z?cr(d;ce~VYwh80?Gb405p3-d+S()Bz$$P-DQdpY@m uOcd8|i8|`BWxB#Lg;)isC`TYv6r{fX+nEzF4&tusQ`S$}K6jZyvLFD@f>gNx diff --git a/Bin/net462/SunnyUI.dll b/Bin/net462/SunnyUI.dll index b87f09466de5c9559da54898d9fe79c66b0e897f..2c72785b0fcb74de19cea7f55c53e9982f2ac24f 100644 GIT binary patch delta 222 zcmZqp(!|&R#1lGL{$Aky-PqIG!`Rxx)Y`+`+QZV?!`j-z*4o3~+QZS>!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#Zg1FOLMHi;6glfmu{x6U2C-_<*{-G@yWh(&-{ z6o|!uSR9BYfLIcUrGQu(h-H9S7Kr75Sbnh*N-x{)LKy)bCe*dVGh`XKwZEg`C@GEmuer0svC_RdWCU delta 222 zcmZqp(!|&R#1lGLx}P36*x1wB!`Rxx)Y`+`+QZV?!`j-z*4o3~+QZS>!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#Zg1FL{)!P&g_<^!ISU(dX8X<^l-b{{rjAQk~) zQ6LrrVsRjr0AfiXmI7jFAeI4QSs<1JV)^YpYzjFGSbk_+`Z0aaGKByEp2y~EPS?k} wFPQ#q>p4{q^XW3n72*`2qSqCmqCoW(ADDR9w}06$P_y&IukEvzE2Iel05`f>_5c6? diff --git a/Bin/net5.0-windows/SunnyUI.dll b/Bin/net5.0-windows/SunnyUI.dll index b114b68d4b752fb952fecf945f8528260da56b54..417fa8d5a9b7488ff43aa2ca683250c4a86889d8 100644 GIT binary patch delta 222 zcmZqp(ZbjO#1lGLbT=H_)7aD6!`Rxx)Y`+`+QZV?!`j-z*4o3~+QZS>!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#ZA;j;i|j7V|FPd?vGEMKHdT@Ku7-}6}*h(&-{ z6o|!uSR9BYfLIcUrGQu(h-H9S7Kr75SbqDS&k83@SXkz@-Jjl}p%@^r{F%CEP1|kP uT}5hZ{KRf_Pk*7In5F;~E&T-*1*u>7vrbFuh>_&|!@XSF^E4GF2>}3l8)n-8 delta 222 zcmZqp(ZbjO#1lGLmj6(@)Y#M7!`Rxx)Y`+`+QZV?!`j-z*4o3~+QZS>!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#ZA;j;kC{Ea~qCarduGU39hj8#H1?R!281F;AY zivqD25Q_t`1Q1ICu@n$X12IUQED*~9vHbQupA}A+uv<&(A2y(XRA(s7Ho=V>ZV5&{5bYG@h& diff --git a/Bin/netcoreapp3.1/SunnyUI.dll b/Bin/netcoreapp3.1/SunnyUI.dll index 3672a6f0d9e5b8d3ba7e9d84eb63617d0781febc..b35c5785772e02cb4eabf4350711e3a5507fbe47 100644 GIT binary patch delta 222 zcmZqp)43vbQV0;>J-Nh8@}!U3 vzMV#oo^}_ROy|*7NL7G}Ui$|X1*-Sj9=mAep4+SHc1*ihx_zRyLcS0H>TO?B delta 222 zcmZqp)4!`a%y)!M_| z+QZY@!`s@!*V@D1+9S}~BiPy_w6#Y#fkR-6cd42HV0+S`%Cu%F?3jqKphg&cJ 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 {