Compare commits

...

879 Commits

Author SHA1 Message Date
Sunny
42a042beb3 * UIDataGridView: 修复数据更新时是否自动滚动到最后一行 2025-04-21 22:54:29 +08:00
Sunny
123427892e * UITabControl: 更新部分注释 2025-04-21 22:15:14 +08:00
Sunny
0b7f218b3c * UITabControl: 修复不可关闭的主页被关闭了 #IC1XIU 2025-04-17 22:20:30 +08:00
Sunny
c5e5a11188 * UINavMenu: 增加节点文字居中的属性 2025-04-17 13:48:50 +08:00
Sunny
8bf338e488 3.8.3 2025-04-06 20:20:28 +08:00
Sunny
0d989a75ea * EnumEx: DisplayText特性改为原生的Description特性 2025-04-06 16:42:44 +08:00
Sunny
00897c5cc5 * UIBreadcrumb: 增加SetItemColor,设置单个节点颜色,可以用RemoveItemColor移除 2025-04-03 23:24:27 +08:00
Sunny
cd04f9cf19 * UIDigitalLabel: 增加ShowText属性,可以显示文字 #IBY64V 2025-04-03 22:43:44 +08:00
Sunny
7fd73a8808 * UILedLabel: 重构显示位置,并增加Padding属性关联显示 2025-03-31 21:03:58 +08:00
Sunny
b9c87e15e8 * UIComboBox: 修复过滤下拉框跟随主题配色 2025-03-18 22:36:33 +08:00
Sunny
4f75336ed5 * 增加控件在工具箱说明文字 2025-03-18 22:12:54 +08:00
Sunny
8fce03fff2 * 增加控件在工具箱说明文字 2025-03-17 23:50:55 +08:00
Sunny
42c453820c * 更新一些控件的字体图标 2025-03-16 13:27:59 +08:00
Sunny
dc503f0eea * UIDoubleUpDown: 增加按钮字体图标的大小属性
* UIIntegerUpDown: 增加按钮字体图标的大小属性
2025-03-16 13:20:12 +08:00
Sunny
76426019e3 更新Demo 2025-03-09 21:17:23 +08:00
Sunny
f40426c113 V3.8.2 2025-03-09 20:55:59 +08:00
Sunny
28a1f1a451 * UIBarChart: 增加Y轴零度线偏移量,Option.ZeroLineOffset 2025-03-05 21:12:11 +08:00
Sunny
ec00734884 * UIBattery: 增加图标旋转角度,增加图标偏移位置,调整图标最大值 2025-03-04 21:18:52 +08:00
Sunny
282c1ae17c * UITabControl: 增加标签页分割线属性ShowTabDivider,#IBLERL 2025-02-13 10:45:17 +08:00
Sunny
76910ac4ff * UITabControlMenu: 修复切换主题色时,TabPage未设置背景色,#IBKDR7 2025-02-07 21:12:24 +08:00
Sunny
a07043ae07 * UITabControl: 修复切换主题色时,TabPage未设置背景色,#IBKDR7 2025-02-07 21:09:34 +08:00
Sunny
8decdf00cf * UIColorPicker: 增加手动输入ARGB值调色 #IBHL0H 2025-02-04 22:13:55 +08:00
Sunny
c451a61a66 更新Demo 2025-02-04 21:36:42 +08:00
Sunny
2c3022a322 + UIStatusBox: 增加根据状态显示图片控件 2025-01-18 17:33:21 +08:00
Sunny
b0093af77a * UIMenuButton: 更改属性描述 2025-01-15 17:49:06 +08:00
Sunny
8727038717 * UIForm: 修复窗体边框显示不全 #IBGJBS 2025-01-09 20:44:27 +08:00
Sunny
b9daa7e005 更新版本日期 2025-01-07 22:19:21 +08:00
Sunny
031be368e4 * UFontAwesomeV6: 更新为Font Awesome version: 6.7.2 2025-01-06 21:54:57 +08:00
Sunny
6a5d7bea2f 更新描述 2025-01-02 21:51:25 +08:00
Sunny
8a5f6ea7b0 更改描述 2025-01-02 21:47:14 +08:00
Sunny
36b7d41336 V3.8.1 2024-12-27 23:34:17 +08:00
Sunny
66fec152d4 V3.8.1 2024-12-27 22:28:21 +08:00
Sunny
1d60a09987 重构 2024-12-27 21:37:59 +08:00
Sunny
6b5d644bd9 重构 2024-12-27 21:28:27 +08:00
Sunny
b01e4e14e1 + UIMenuButton: 增加下拉菜单按钮 2024-12-26 21:35:08 +08:00
Sunny
5d9e0a6f53 + UIMenuButton: 增加下拉菜单按钮 2024-12-26 21:32:53 +08:00
Sunny
65a35f5bad 增加了两处翻译 2024-12-23 22:49:45 +08:00
Sunny
c0c3298fd1 * UITitlePanel: 增加Padding设置 #IBB1UF 2024-12-14 20:11:13 +08:00
Sunny
2c70e734c4 * UITabControl: 增加未选页签颜色 #IB7U69 2024-12-12 23:11:35 +08:00
Sunny
d0c731fe97 * UITabControl: 修复标签文字越界显示 #IB8571 2024-12-12 22:31:28 +08:00
Sunny
09ba37daa3 * UIVerificationCode: 可以自定义颜色 #IBABW1 2024-12-12 20:49:26 +08:00
Sunny
000c567255 * UIComboDataGridView: 修复一个报错 #IB8YK9 2024-12-04 21:40:44 +08:00
Sunny
beb21ebb91 * UICalendar: 切换语言实时刷新 2024-12-02 21:34:22 +08:00
Sunny
452e9e6e15 * UIScrollingText: 停止滚动时,可以设置默认显示位置 2024-12-02 21:25:39 +08:00
Sunny
120dbf2151 * UICheckBoxGroup: 修复TitleTop为0时,条目显示错位的问题 #IB7STO
* UIRadioButtonGroup: 修复TitleTop为0时,条目显示错位的问题 #IB7STO
2024-11-29 10:59:06 +08:00
Sunny
98d280d9f0 * UITabControl: 修复了SelectedIndex=-1时的报错 2024-11-29 09:35:54 +08:00
Sunny
f831a92cf7 * UIComboDataGridView: 解决下拉框显示过滤编辑框不能一直显示 #IB7AFB 2024-11-28 21:05:48 +08:00
Sunny
661b44090c 更新Demo 2024-11-27 22:50:09 +08:00
Sunny
741d10939a * UFontAwesomeV6: 更新为Font Awesome version: 6.7.1 2024-11-27 22:33:15 +08:00
Sunny
22677c9974 更新Demo 2024-11-19 23:08:47 +08:00
Sunny
9dbc2e80bd 3.8.0.1 2024-11-19 22:31:12 +08:00
Sunny
28cc5b3823 V3.8.0 2024-11-19 22:10:21 +08:00
Sunny
c6650b3c0e * UINotifier: 点击提示关闭,增加输出提示 2024-11-19 12:33:30 +08:00
Sunny
1708d57ef1 重构 2024-11-19 09:46:37 +08:00
Sunny
7e6ee8e98b * UIPanel: 增加透明度 2024-11-19 09:40:43 +08:00
Sunny
3c2ba689eb 更新 2024-11-15 10:30:17 +08:00
Sunny
4760de7dd1 * UILineChart: 增加了鼠标移上绘制十字线颜色 2024-11-14 10:17:21 +08:00
Sunny
c676e92fda * UILineChart: 增加了鼠标移上绘制十字线样式 2024-11-13 11:05:53 +08:00
Sunny
92607169d5 * UIComboDataGridView: 增加下拉框滚动条宽度调整属性 2024-11-12 15:03:45 +08:00
Sunny
e4c483dfeb * UINavBar: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题 2024-11-11 11:24:12 +08:00
Sunny
af41257d35 * UIComboBox: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIComboBox: 删除ScrollBarColor、ScrollBarBackColor、ScrollBarStyleInherited属性
* UIColorPicker:  增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIComboDataGridView: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIComboTreeView: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIDatePicker: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIDatetimePicker: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UIDatePicker: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
* UINumPadTextBox: 增加StyleDropDown属性,手动修改Style时设置此属性以修改下拉框主题
2024-11-10 22:43:32 +08:00
Sunny
76b13321e6 * UControl: UITreeView增加了一个刷新节点状态的扩展函数 2024-11-06 14:33:31 +08:00
Sunny
63952daa11 * UIScrollBar: 修复了一些重载事件 2024-11-04 14:00:21 +08:00
Sunny
b68740f828 重构 2024-11-03 23:24:23 +08:00
Sunny
45d2eed8b9 * UIPage: 增加标题栏图片属性IconImage,优先于Symbol 2024-10-30 21:46:30 +08:00
Sunny
ecc5d49b90 * UIBaseForm: IconImage增加IconImageSize属性,可调整大小 2024-10-29 22:55:52 +08:00
Sunny
88bce81140 * UIComboBox: 增加了SelectionChangeCommitted事件,下拉框显示鼠标点击条目时响应 2024-10-28 22:46:47 +08:00
Sunny
2d98153089 * UIBarChart: 增加了一个快捷的显示数据函数ShowData 2024-10-25 10:44:56 +08:00
Sunny
49c9419590 * UIDigitalLabel: 增加DPI支持 2024-10-22 21:05:30 +08:00
Sunny
e9ffd02edc V3.7.2 2024-10-06 21:31:18 +08:00
Sunny
a411027eb1 * UIBaseForm: 增加属性IconImage,以改善Icon转Image显示不佳,状态栏显示仍然用Icon属性 2024-10-05 22:11:46 +08:00
Sunny
e67f03d9da * 重构多语翻译类 2024-10-05 21:09:26 +08:00
Sunny
7af419a5c0 * 重构多语翻译类 2024-09-29 22:27:03 +08:00
Sunny
5f09fe5626 * 重构多语翻译类 2024-09-27 23:34:14 +08:00
Sunny
2daddaef65 * 重构多语翻译类 2024-09-26 23:33:08 +08:00
Sunny
7bdde150c2 增加示例说明 2024-09-24 22:22:18 +08:00
Sunny
ecc1433b37 更新文档 2024-09-24 22:08:38 +08:00
Sunny
2ae270d571 更新文档 2024-09-23 22:21:59 +08:00
Sunny
9a3320c10f 更新文档 2024-09-22 22:21:11 +08:00
Sunny
aec616b1cf 增加文档 2024-09-22 21:18:27 +08:00
Sunny
b3ef1e1288 更新忽略项 2024-09-22 21:18:14 +08:00
Sunny
f12bef2dd8 * 重构多语翻译类 2024-09-17 22:49:54 +08:00
Sunny
2c24db60d9 * 重构多语翻译类 2024-09-16 21:54:35 +08:00
Sunny
1ccaaad57c * 重构多语翻译类 2024-09-16 21:47:57 +08:00
Sunny
3a506824d1 * 多页面框架重构 2024-09-16 17:33:34 +08:00
Sunny
c0fbc85a76 * 重构多语翻译类 2024-09-14 22:05:03 +08:00
Sunny
98c7a8f81e * 重构多语翻译类 2024-09-13 23:43:27 +08:00
Sunny
fd053e6553 * 重构多语翻译类 2024-09-10 23:31:49 +08:00
Sunny
6543a103a4 * UICheckBoxGroup: 2024-09-09: V3.7.0 更改计算节点位置的方法,解决问题:#IAPY94
* UIRadioButtonGroup: 2024-09-09: V3.7.0 更改计算节点位置的方法,解决问题:#IAPY94
2024-09-09 15:47:06 +08:00
Sunny
7fb69265ee * UIDataGridView: 解决有隐藏行时,滚动条滚动时出错的问题 #IAOW3A 2024-09-04 21:33:52 +08:00
Sunny
d1957cb75c * UINumPadTextBox: 增加ShowDropDown()弹窗方法 2024-09-03 16:34:42 +08:00
Sunny
6794b58d65 * UIRadioButton: 修改AutoSize属性可以保存在Design.cs文件里面,#IAKYX4
* UICheckBox: 修改AutoSize属性可以保存在Design.cs文件里面,#IAKYX4
2024-08-30 21:18:08 +08:00
Sunny
4dd0a284ac * UIDatePicker: 修复格式化字符串包含/时显示错误
* UIDateTimePicker: 修复格式化字符串包含/时显示错误
2024-08-28 21:55:55 +08:00
Sunny
51c6da4833 * UIDataGridView: 增加属性AutoScrollToBottom,数据更新时是否自动滚动到最后一行 2024-08-27 14:14:36 +08:00
Sunny
c2b4db9fc7 * UIDoubleUpDown: 增加加按钮字体图标的偏移位置
* UIIntegerUpDown: 增加加按钮字体图标的偏移位置
2024-08-27 14:07:21 +08:00
Sunny
83446dfcce V3.7.0 2024-08-27 10:40:48 +08:00
Sunny
073c2dbf0b * UIIntegerUpDown: 修改编辑框字体与显示字体一致
* UIDoubleUpDown: 修改编辑框字体与显示字体一致
* UITextBox: AutoSize时根据字体自动调整控件高度
2024-08-27 10:12:05 +08:00
Sunny
fcb55cbae4 * UICheckBox: 修复AutoSize在文字改变时未自动显示的问题,#IAKYX4
* UIRadioButton: 修复AutoSize在文字改变时未自动显示的问题,#IAKYX4
2024-08-26 22:49:49 +08:00
Sunny
7cf009af36 * UITextBox: 修复微软雅黑字体显示不完整的问题 2024-08-26 22:30:41 +08:00
Sunny
d1613f40d2 * UIMessageBox: UIMessageBox增加了快捷调用UIMessageForm2的方法 2024-08-26 11:32:35 +08:00
Sunny
e8ac774e0d * UIMessageBox: 修复一个Bug 2024-08-26 10:57:48 +08:00
Sunny
f6a6d75d5f 3.6.9 2024-08-17 23:07:45 +08:00
Sunny
cc4e37d1c1
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-08-12 08:59:33 +00:00
Sunny
0fd93be25c * UIComboDataGridView: 修改下拉界面滚动条跟随主题
* UIComboTreeView: 修改下拉界面滚动条跟随主题
2024-08-12 16:42:43 +08:00
Sunny
f1543d9226 * UITextBox: 解决原生控件字体在微软雅黑时,显示不完整的问题 2024-08-12 16:31:42 +08:00
Sunny
c3f232baa0 + 增加应用公共类库 2024-08-12 15:06:58 +08:00
Sunny
f8b903b6ed * UIMessageForm2: 重构文字显示位置,重绘 2024-08-10 22:07:53 +08:00
Sunny
c328bb7f02 * 弹窗增加线程安全调用 2024-08-10 20:47:20 +08:00
Sunny
753d5b13d9 * UIFormHelper: 重构弹窗,窗体扩展打开默认以窗体居中,取消TopMost参数,默认为true 2024-08-09 23:58:38 +08:00
Sunny
089a624620 * UINavMenuHelper: 窗体移除时调用Close() 2024-08-07 15:11:29 +08:00
Sunny
c64bdddaf8 * 解决弹窗报错 2024-08-07 11:31:00 +08:00
Sunny
1317d552b5 * UITreeView: 不显示连线时,重绘节点前展开与收缩的图标 2024-08-06 20:13:39 +08:00
Sunny
f865be8731 * UIColorPicker: 增加ShowDropDown()函数 2024-08-05 14:48:00 +08:00
Sunny
47d1057945 * 重构公共类 2024-08-03 10:57:02 +08:00
Sunny
cfa40a5381 * UIEditForm: 代码生成增加文件选择和文件夹选择功能 2024-08-02 22:57:26 +08:00
Sunny
12359d1bb4 * UIFormHelper: 弹窗默认修改为以当前窗体居中,showMask=true或者centerParent=false时以屏幕居中 2024-07-30 17:50:33 +08:00
Sunny
073f4cb22c * UIForm: 最大化后,鼠标单击标题栏最上方,不恢复正常大小 2024-07-28 23:39:19 +08:00
Sunny
fcd8b00784 * UIForm: 修复鼠标点击事件
* UIForm2: 修复鼠标点击事件
2024-07-26 10:56:40 +08:00
Sunny
d06628903b * UIDateTimeItem: 修改单击选择日期后立即刷新,双击可选择并关闭下拉框 2024-07-25 21:37:10 +08:00
Sunny
f786f071f0 * UIComboDataGridView: 过滤字符串可以包含'*','[',']','%'字符 2024-07-23 16:47:28 +08:00
Sunny
855719997c * 修改国际化的Demo 2024-07-23 14:33:14 +08:00
Sunny
d4a6cc80cc * FMain: Demo增加注释 2024-07-21 21:31:41 +08:00
Sunny
bc393b226e * FMain: Demo增加注释 2024-07-21 21:30:25 +08:00
Sunny
bdaf058240 * UIForm2: 修改属性与UIForm兼容 2024-07-21 21:20:58 +08:00
Sunny
35ad7bc7a5 * UFontAwesomeV6: 更新为Font Awesome version: 6.6.0 2024-07-21 21:09:12 +08:00
Sunny
57534ad9c3 * UIForm: 修改为初始化最大化后恢复时界面尺寸大小正常 2024-07-21 20:56:10 +08:00
Sunny
abab088e0b * UIRichTextBox: 修改滚动条颜色跟随主题 2024-07-20 21:48:24 +08:00
Sunny
bac0f32fd2 * UIForm2: 修改最大化时按钮位置 2024-07-20 16:26:18 +08:00
Sunny
0f062f387d * UIForm: 最大化时,鼠标拖拽标题超过一定范围后再恢复Normal显示 2024-07-20 15:10:51 +08:00
Sunny
25f5fe5284 * UIForm2: 修改最大化时按钮位置 2024-07-20 14:55:24 +08:00
Sunny
c5bc2c04e0 3.6.8.1 2024-07-19 18:10:41 +08:00
Sunny
a0acf12632
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-07-19 02:53:36 +00:00
Sunny
7fc1010705
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-07-19 02:53:01 +00:00
Sunny
899f07a273
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-07-19 02:44:16 +00:00
Sunny
2120e496a6
update SunnyUI.Demo.exe.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-07-19 02:41:53 +00:00
Sunny
e5d88c2b1f
add SunnyUI.Demo.exe.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-07-19 02:40:51 +00:00
Sunny
30834dce34 3.6.8 2024-07-19 09:36:30 +08:00
Sunny
ff578a46cf 3.6.8 2024-07-19 09:36:22 +08:00
Sunny
de35afe1a7 更新 2024-07-18 22:36:19 +08:00
Sunny
3f2d4d542b * UIStyles: 增加了一个设置控件容器内子控件自定义主题色的方法 2024-07-17 16:21:19 +08:00
Sunny
41f23482cd * UIDateTimeItem: 修改时间界面水平分割线颜色和位置
* UITimeItem: 修改时间界面水平分割线颜色和位置
2024-07-14 20:17:42 +08:00
Sunny
17adb334bf * UIDatePicker: 修改选择日期在下拉框中显示方式
* UIDatetimePicker: 修改选择日期在下拉框中显示方式
2024-07-13 23:08:57 +08:00
Sunny
759f6f0901 * UIComboTreeView: 修改下拉框全选按钮跟随主题,修改一处内置国际化翻译 2024-07-13 22:26:04 +08:00
Sunny
1e03aed0a7 * UILabel: 文字位置默认TopLeft 2024-07-10 11:07:00 +08:00
Sunny
3333fe2aba * UILineChart: 增加了Y轴自定义坐标显示 2024-07-01 22:57:32 +08:00
Sunny
688ff477d1 * UFontAwesomeV6: 减小文件大小 2024-06-27 09:57:15 +08:00
Sunny
3f2bdd86e5 * UFontAwesomeV6: 更新为Font Awesome version: 6.5.2 2024-06-26 14:20:40 +08:00
Sunny
48afcf2305 * UIDataGridView: 增加AddDateTimeColumn,解决默认时间列不显示秒数的问题 2024-06-19 21:38:34 +08:00
Sunny
91d6601d52 - FastLZ: 删除FastLZ类,源码见:https://gitee.com/yhuse/SunnyUI/blob/V3.6.7/SunnyUI/Common/UFastLZ.cs
可参考项目: https://www.nuget.org/packages/DotFastLZ.Compression
2024-06-19 21:17:57 +08:00
Sunny
23ae9da234 * IniUTF8Config: 增加一种默认编码为UTF8的Ini配置文件读写类 2024-06-19 21:14:04 +08:00
Sunny
1c6c9fe34f * 更新Demo 2024-06-12 22:51:07 +08:00
Sunny
58db4d3d28 V3.6.7 2024-06-11 23:07:17 +08:00
Sunny
7ce895f385 * UINavMenu: 更新 2024-06-11 22:02:49 +08:00
Sunny
5b28b736de * UITextBox: 调整为可继承 2024-06-11 21:31:41 +08:00
Sunny
29053a10eb * UINumPadTextBox: 下拉框可选放大倍数为2 2024-06-11 21:29:52 +08:00
Sunny
997594d3b3 * UIDatetimePicker: 下拉框可选放大倍数为2 2024-06-09 17:49:32 +08:00
Sunny
e6ed627a2a * UIDatePicker: 下拉框可选放大倍数为2 2024-06-09 17:30:22 +08:00
Sunny
eb7b0ca1b0 * UIDatePicker: 下拉框可选放大倍数为2 2024-06-09 17:24:08 +08:00
Sunny
308b3d54f3 * UIDatePicker: 下拉框可选放大倍数为2 2024-06-09 15:34:43 +08:00
Sunny
01750e69c7 * UIForm: 防止图标转换错误
* UIForm2: 防止图标转换错误
2024-06-08 23:20:46 +08:00
Sunny
6eb724e4b6 * UIBarChart: 修复X轴文字带角度显示时居中 2024-06-08 23:02:03 +08:00
Sunny
2b356290e6 * UIMessageForm2: 统一配色 2024-06-08 22:36:04 +08:00
Sunny
945f6911ad * UINotifier: 调整窗体及字体大小 2024-06-03 22:09:11 +08:00
Sunny
0aafb6e897 * UINotifier: 调整窗体及字体大小 2024-06-03 22:04:06 +08:00
Sunny
660cf54146 * UIDataGridViewFooter: 增加绑定列的ColumnName或者DataPropertyName都可以显示 2024-06-01 22:28:25 +08:00
Sunny
7c578496fc * UISplitContainer: 增加了SplitPanelState只读属性以获取状态。 2024-05-31 22:44:41 +08:00
Sunny
137258ce46 * UIInputForm: 修复调用时自定义主题参数不起作用的问题 2024-05-30 17:01:09 +08:00
Sunny
c4ce201513 * UIFormHelper: 修复弹窗标题显示错误 2024-05-30 16:36:48 +08:00
Sunny
0b74e6c548 * UIMiniPagination: 优化按钮自定义配色逻辑 2024-05-29 22:08:58 +08:00
Sunny
d19339cf1f * UIPagination: 优化按钮自定义配色逻辑 2024-05-29 21:57:32 +08:00
Sunny
0b32415224 * UIComboDataGridViewItem: 增加可过滤未显示列
* UIComboDataGridViewItem: FilterColumnName增加“;”分隔,支持多列过滤
2024-05-28 22:26:18 +08:00
Sunny
4a11746138 * UITreeView: 防止控件闪烁 2024-05-27 21:07:35 +08:00
Sunny
99ab567b2e * UINavMenu: 防止控件闪烁 2024-05-17 23:50:56 +08:00
Sunny
35ef10547f 调整图标位置 2024-05-16 22:43:52 +08:00
Sunny
46c6bec21d * UIForm: Resizable替代ShowDragStretch,显示边框可拖拽调整窗体大小
* UIForm2: Resizable替代ShowDragStretch,显示边框可拖拽调整窗体大小
2024-05-16 22:32:48 +08:00
Sunny
784e2904ec + UIMessageForm2: 新增了一种风格的消息提示框 2024-05-16 16:03:00 +08:00
Sunny
1c0d65d816 * UIProcessBar: 调整最小宽度,以适应垂直方向显示 2024-05-09 14:21:38 +08:00
Sunny
6b047520f4 * UIFormHelper: 默认弹窗的ShowMask都设置为false 2024-05-08 14:33:43 +08:00
Sunny
1277bad3f5 * UIDoughnutChart: 修复数据全为0时报错 2024-05-07 14:16:55 +08:00
Sunny
06309a546f 2024 2024-05-02 23:37:18 +08:00
Sunny
b0c391f7ce
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-05-02 15:19:56 +00:00
Sunny
734285bb73 V3.6.6 2024-05-02 23:04:38 +08:00
Sunny
4c0ebe10fb 重构部分代码 2024-05-02 21:26:00 +08:00
Sunny
e33f97b192 * 重构文件扩展类 2024-04-30 16:40:19 +08:00
Sunny
5715d13fac * 重构目录扩展类 2024-04-30 16:14:55 +08:00
Sunny
216beb4c59 * 修改内置部分窗体不显示Icon 2024-04-29 17:30:33 +08:00
Sunny
87e2f61218 * UIHorScrollBar: 修改Bug 2024-04-29 17:06:36 +08:00
Sunny
1b62abbff1 * UIBaseForm:增加UIBaseForm
* UIForm: 重构
* UIForm2: 重构
* UIBaseForm: 删除ShowTitleIcon,默认使用ShowIcon
2024-04-29 17:00:25 +08:00
Sunny
603bc69f32 * UIFlowLayoutPanel: 增加Render方法,尝试解决点击状态栏恢复窗体后右侧滚动条未消失的问题 2024-04-28 14:31:28 +08:00
Sunny
960d3665de * UIForm: 增加WindowStateChanged事件
* UIForm2: 增加WindowStateChanged事件
* UIPage: 增加WindowStateChanged事件
2024-04-28 14:29:46 +08:00
Sunny
ca1ab0cfd3 * UIFormHelper: 信息提示窗体跟随程序所在的屏幕 2024-04-28 10:12:33 +08:00
Sunny
8bdaac1ea8 * UIFormHelper: 提示框增加延时关闭 2024-04-27 17:27:09 +08:00
Sunny
aac4fb6382 * UIFormHelper: 重构,所有弹窗调整为窗体的扩展方法,使用时加上this.
* UIFormHelper: 输入弹窗前增加Show前缀
2024-04-22 23:04:28 +08:00
Sunny
9cef9a6608 删除一个函数 2024-04-16 23:11:02 +08:00
Sunny
877aec6ee2 * ShowProcessForm: 增加是否显示窗体边框 2024-04-16 22:39:36 +08:00
Sunny
eb3823582d * UITextBox: 加了一个判断 2024-04-16 22:24:18 +08:00
Sunny
b7fc97c918 * UIForm2: 设置默认Padding.Top为TitleHeight 2024-04-16 14:46:28 +08:00
Sunny
0f9c6c0c62 * UINavMenu: 修复通过代码设置背景色无效的问题 2024-04-13 17:54:00 +08:00
Sunny
d21e26da0c * UIMessageTip: 显示位置修复 2024-03-26 23:31:26 +08:00
Sunny
a5df9a778c * UIGroupBox: 修复Enabled为false时标题行框线绘制颜色 2024-03-22 11:15:51 +08:00
Sunny
44300efb06 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2024-03-22 09:47:45 +08:00
Sunny
71bee928b5 * UIComboDataGridView: 增加ShowDropDown()
* UIComboTreeView: 增加ShowDropDown()
2024-03-22 09:47:34 +08:00
Sunny
7460eb6029
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-03-21 06:49:01 +00:00
Sunny
c48ceacc27
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-02-28 12:44:18 +00:00
Sunny
f9a9436309
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-02-28 12:43:55 +00:00
Sunny
dbb94e7044 更新Demo 2024-02-28 20:35:57 +08:00
Sunny
687d698621 V3.6.5 2024-02-28 20:25:17 +08:00
Sunny
ff40c3b39d * UIniConfig: 增加按属性名称进行读写 2024-02-27 22:45:01 +08:00
Sunny
00c7147491 * UIButton: 增加Text的属性编辑器 2024-02-23 23:18:34 +08:00
Sunny
547ec9de80 * UIWaitingBar: 修改可自定义配色 2024-02-23 22:32:43 +08:00
Sunny
7ff8e13363 * UIButton: 增加按钮的&字符的Alt快捷键功能 2024-02-22 23:09:26 +08:00
Sunny
d118038ecf * UIForm: 最大化时,鼠标拖拽标题超过一定范围后再恢复Normal显示 2024-02-22 21:56:39 +08:00
Sunny
035c2e6ebd * UIContextMenuStrip: 节点AutoSize时不重绘,重绘时考虑Enabled为False时颜色显示 2024-02-22 21:41:52 +08:00
Sunny
01a83fe4ff * UIContextMenuStrip: 修复显示快捷键文本位置 2024-02-21 21:50:08 +08:00
Sunny
3eb957279f * UISymbolPanel: 设置默认尺寸 2024-02-20 21:42:57 +08:00
Sunny
df86542c41 * UIForm: 调整显示位置 2024-02-19 22:18:06 +08:00
Sunny
2c3d77f12a * UIForm2: 限制双击 2024-02-19 22:01:28 +08:00
Sunny
5b16bae03f * UIForm2: 增加主题风格设置 2024-02-19 21:31:14 +08:00
Sunny
79cb09618b * UIForm: 修改标题栏文字与控制按钮绘制重叠的问题 2024-02-19 17:42:10 +08:00
Sunny
b78aed01f7 * UINavMenu: 尝试减少刷新闪烁 2024-02-19 17:18:39 +08:00
Sunny
9eaf41849f * UIPagination: 优化按钮配色逻辑 2024-02-19 15:46:40 +08:00
Sunny
63c5788254 * UIComboBox: 修复在窗体构造函数设置SelectedIndex报错
* UIDropControl: 修改按钮大小调整时,清除按钮的位置
2024-01-27 20:42:35 +08:00
Sunny
882dbb3f40 * UIForm2: 更新 2024-01-25 22:43:00 +08:00
Sunny
feb8182a25 + UIForm2: 新增一种窗体基类,更接近于原生Form使用习惯 2024-01-24 22:55:47 +08:00
Sunny
1dd949dcc5 * UIDigitalLabel: 更新绘制 2024-01-23 14:17:59 +08:00
Sunny
ed559a1a21 * UIHeaderButton: 增加分组编号 2024-01-21 11:24:25 +08:00
Sunny
9620fb3e82 更新 2024-01-20 15:04:59 +08:00
Sunny
326f0fb8f6 * UITreeView: 自定义行颜色,可通过代码给颜色值,SetNodePainter,增加选中颜色 2024-01-20 11:59:18 +08:00
Sunny
8286051404 * UIDropControl: 下拉按钮可修改大小及位置 2024-01-19 22:19:42 +08:00
Sunny
983f032d3f * UIFlowLayoutPanel: 重写ScrollControlIntoView函数 2024-01-17 17:31:42 +08:00
Sunny
61ea69f2ff * UITextBox: 调整Radius时,自动调整文本框的位置 2024-01-13 11:35:46 +08:00
Sunny
989645ec97 * UICombobox: 修复一个设置Text,SelectedValue不变的问题 2024-01-05 21:59:03 +08:00
Sunny
2f5b07c87b * IniConfig: 增加文件编码 2024-01-05 21:05:04 +08:00
Sunny
00c6424e58 * UIniConfig: 修改保存文件的方式 2024-01-03 15:02:30 +08:00
Sunny
86a7358c7f
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2024-01-01 13:42:14 +00:00
Sunny
25fdc3c0e3 V3.6.3 2024-01-01 21:41:40 +08:00
Sunny
55115811bf * UITreeView: 增加可修改滚动条颜色 2024-01-01 21:08:02 +08:00
Sunny
9a3c8de7a9 * UIIntegerUpDown: 修复设置Style时按钮颜色不一致
* UIDoubleUpDown: 修复设置Style时按钮颜色不一致
2023-12-28 21:47:21 +08:00
Sunny
90fcb70cb0 * UIComboBox: 增加下拉界面的滚动条设置 2023-12-26 21:27:04 +08:00
Sunny
b5bbc3e5d9 * UIRichTextBox: 增加Text的属性编辑器
* UITextBox: 增加Text的属性编辑器
2023-12-25 20:40:29 +08:00
Sunny
7180c87291 * UIPage: 调整AfterShow事件位置及逻辑 2023-12-20 11:25:47 +08:00
Sunny
13ea135f89 * UITextBox: 修改显示按钮时Tips小红点的位置 2023-12-18 23:24:22 +08:00
Sunny
0019e7784d * UITextBox: 修复高度不随字体改变
* UIDropControl: 修复高度不随字体改变
2023-12-18 23:15:15 +08:00
Sunny
4cfdc8c795 * UIForm: RemovePage时调用Final() 2023-12-14 23:17:51 +08:00
Sunny
9dd5b99cf0 * UIForm: 优化UIPage的Init和Final加载逻辑
* UITabControl: 优化UIPage的Init和Final加载逻辑
2023-12-13 23:08:47 +08:00
Sunny
8fdf05c475 * 修改分页Demo 2023-12-12 21:30:55 +08:00
Sunny
9df4a65380 * ShowStatusForm: 增加可设置进度值 2023-12-11 21:32:05 +08:00
Sunny
0a05dd4312 + Demo增加字体图标界面 2023-12-08 20:45:53 +08:00
Sunny
441d9dac8b * 删除不要的注释 2023-12-06 21:00:01 +08:00
Sunny
52e3a3cb04 * UIButton: 修复LightStyle的背景颜色 2023-12-06 20:56:40 +08:00
Sunny
26a98fa4a6
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-12-04 14:42:44 +00:00
Sunny
7c029cd73d V3.6.2 2023-12-04 22:34:05 +08:00
Sunny
a354af7552 * UIForm: 修复修改Style后,BackColor未保存的问题
* UIPage: 修复修改Style后,BackColor未保存的问题
2023-12-04 22:03:51 +08:00
Sunny
a1923f32c6 * UICheckBox: 增加属性可修改图标大小
* UICheckBoxGroup: 增加属性可修改图标大小
* UIRadioButton: 增加属性可修改图标大小
* UIRadioButtonGroup: 增加属性可修改图标大小
2023-12-04 09:38:50 +08:00
Sunny
5ca057ab6c + UIDigitalLabel: 增加冷液晶显示LCD标签 2023-12-01 22:30:01 +08:00
Sunny
7c7cfb592d * 修改了一些注释文字 2023-11-30 22:08:47 +08:00
Sunny
9dc8b9b88b + UIThermometer: 增加温度计控件 2023-11-30 21:57:01 +08:00
Sunny
91c59c9abb + UIRuler: 增加刻度尺控件 2023-11-29 14:54:39 +08:00
Sunny
bd8b9eb5d4 * UITrackBar: 增加一种从上到下的进度显示方式 2023-11-28 22:23:14 +08:00
Sunny
90ac40f95e
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-11-28 06:00:55 +00:00
Sunny
ffdac09657 V3.6.1 2023-11-28 13:56:00 +08:00
Sunny
3efabfe80d * UIUserControl: 修复Panel内控件颜色设置问题 2023-11-28 13:41:08 +08:00
Sunny
16494fe74f * UIFontImages: 重写字体图标编辑器,优化打开速度 2023-11-26 11:48:02 +08:00
Sunny
5c2068875e + UISymbolPanel:增加图标编辑器面板 2023-11-25 23:16:36 +08:00
Sunny
2b8e1bd4f8 * UIButton: 修复LightStyle的文字颜色
* UISymbolButton: 修复LightStyle的文字和图标颜色
2023-11-24 14:12:32 +08:00
Sunny
1b24896190 * UILineChart: 增加了区域选择范围相等时不执行事件 2023-11-22 14:36:27 +08:00
Sunny
b3edaab127
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-11-21 14:11:10 +00:00
Sunny
b1708000cd
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-11-21 14:10:57 +00:00
Sunny
9f03303760 V3.6.0 2023-11-21 21:23:06 +08:00
Sunny
a8fc15abe3 * UIForm: 修改默认ShowShadow边框阴影打开,ShowRadius显示圆角关闭 2023-11-19 23:03:47 +08:00
Sunny
ee63065623 * 重构主题 2023-11-18 11:52:19 +08:00
Sunny
e25fe74d87 * 重构主题 2023-11-18 11:38:29 +08:00
Sunny
f994734c34 * 重构主题 2023-11-17 23:07:19 +08:00
Sunny
3ce56b3ed4 * 重构主题 2023-11-16 23:14:05 +08:00
Sunny
7bab50e103 * 重构主题 2023-11-16 23:11:23 +08:00
Sunny
70c3a7d690 * 重构主题 2023-11-16 22:53:00 +08:00
Sunny
48f52bf290 * 重构主题 2023-11-16 15:06:16 +08:00
Sunny
34b8a5277d 重构主题 2023-11-16 14:17:08 +08:00
Sunny
6236d38b60 * 重构主题 2023-11-16 12:00:08 +08:00
Sunny
c84f876f97 * 重构主题 2023-11-13 15:12:42 +08:00
Sunny
03d9f43d68 * 重构主题 2023-11-13 14:42:07 +08:00
Sunny
e092bfcbf7 * 重构主题 2023-11-13 13:52:06 +08:00
Sunny
b6bb47f2fd * 重构主题 2023-11-13 13:16:44 +08:00
Sunny
7c7e759f44 * 重构主题 2023-11-12 22:41:30 +08:00
Sunny
4496090fc7 * 修改点阵字体数字显示 2023-11-12 22:18:53 +08:00
Sunny
ef52687e98 * 重构主题 2023-11-12 22:05:11 +08:00
Sunny
8ce0156d97 * UIRadioButtonGroup: 重写UIRadioButtonGroup 2023-11-09 13:52:19 +08:00
Sunny
0d86af2a23 * UICheckBoxGroup: 重写UICheckBoxGroup 2023-11-08 15:24:32 +08:00
Sunny
0c1b7d13ba * UICheckBoxGroup: 重写UICheckBoxGroup 2023-11-07 23:19:23 +08:00
Sunny
718560e5c4 * UIRadioButton: 增加修改图标大小
* UICheckBox: 增加修改图标大小
2023-11-07 22:01:53 +08:00
Sunny
878c93f509 * 重构主题 2023-11-06 23:18:13 +08:00
Sunny
5d55924dba * 重构主题 2023-11-06 14:08:09 +08:00
Sunny
42ade126ad * 重构主题 2023-11-05 22:43:04 +08:00
Sunny
bd87f7f6ac * UIEditForm: 代码生成增加ComboDataGridView类型 2023-10-31 13:24:48 +08:00
Sunny
e93d84147f * 修改几个进度弹窗的关闭标志 2023-10-31 09:35:59 +08:00
Sunny
64302ef51f 重构GDI一些方法 2023-10-31 09:31:11 +08:00
Sunny
b33e77975d 适应C#8.0语法 2023-10-30 17:13:18 +08:00
Sunny
922c52914c 重构GDI一些方法 2023-10-30 13:52:56 +08:00
Sunny
54940a41db 重构GDI一些方法 2023-10-30 13:42:39 +08:00
Sunny
967c406885 重构GDI一些方法 2023-10-30 11:19:41 +08:00
Sunny
a04160cff2 重构GDI一些方法 2023-10-30 10:06:40 +08:00
Sunny
eefd366b6f
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-10-27 06:50:59 +00:00
Sunny
7854948759
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-10-27 06:50:45 +00:00
Sunny
cc261e52c4 V3.5.2 2023-10-27 14:44:49 +08:00
Sunny
4bb226b0ac + 字体图标增加旋转角度参数SymbolRotate 2023-10-26 22:28:12 +08:00
Sunny
54351ce05d + 字体图标增加旋转角度参数SymbolRotate 2023-10-26 22:24:29 +08:00
Sunny
b333d5ebce + 字体图标增加旋转角度参数SymbolRotate 2023-10-26 21:55:49 +08:00
Sunny
a266d608ff * UITextBox: 修改全局字体调整后的默认高度 2023-10-26 11:01:28 +08:00
Sunny
85a56809f1 * UIDropControl: 修复在高DPI下,文字垂直不居中的问题
* UIDropControl: 修复在某些字体不显示下划线的问题
2023-10-25 22:30:43 +08:00
Sunny
65edeffedd * UITextBox: 多行显示时位置调整 2023-10-25 17:31:51 +08:00
Sunny
16972fcf48 * UITextBox: 修复在高DPI下,文字垂直不居中的问题
* UITextBox: 修复在某些字体不显示下划线的问题
2023-10-25 17:19:20 +08:00
Sunny
49cda26702 * UFontImage: MaterialIcons字体图标调大3个像素 2023-10-25 15:10:47 +08:00
Sunny
8e3f95d961 重构字体图标显示,以期增加字体图标显示变化 2023-10-25 14:55:12 +08:00
Sunny
b0ab6079f6 重构字体图标显示,以期增加字体图标显示变化 2023-10-25 11:29:16 +08:00
Sunny
dc4d7a4840 重构字体图标显示,以期增加字体图标显示变化 2023-10-25 11:23:50 +08:00
Sunny
047a1f508d * UILineChart: 增加了绘制线的DashStyle样式 2023-10-20 23:16:13 +08:00
Sunny
fa7aaad7b4
!62 修复UIIPTextBox当Readonly时的bug
Merge pull request !62 from asuper/fix_uiiptextbox
2023-10-17 08:56:37 +00:00
Sunny
b11ffbb4d4 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2023-10-17 16:52:47 +08:00
Sunny
4e54367f28 * UINavBar: 修正下拉菜单文字显示垂直居中
* UINavBar: ImageList为空时,下拉菜单增加Symbol绘制
* UIContextMenuStrip: 修正文字显示垂直居中
* UIContextMenuStrip: 当右键菜单未绑定ImageList,并且ImageIndex>0时,将ImageIndex绑定为Symbol绘制
2023-10-17 16:52:26 +08:00
asuper
aef7b2f00c 修复UIIPTextBox在Readonly且光标位于小数点后面时,可以通过Backspace键删除前一位的问题 2023-10-17 15:04:44 +08:00
Sunny
1244f62658
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-10-16 13:20:50 +00:00
Sunny
96b64900d8 V3.5.1 2023-10-16 17:26:23 +08:00
Sunny
9949f795f1 * 重构进度提示框和等待提示框,解决有时无法关闭的问题,并作为窗体的扩展方法使用。 2023-10-16 16:55:16 +08:00
Sunny
6e57c86b22 + 增加MaterialIcons字体图标 2023-10-13 23:29:07 +08:00
Sunny
9a6579befe * 重构字体图标类
+ 增加MaterialIcons字体图标
2023-10-13 23:19:29 +08:00
Sunny
1902dc2e50 * UIFlowLayoutPanel: 更新Demo 2023-10-11 22:50:09 +08:00
Sunny
ded733d152 * UIDataGridView: Demo改为原生用法 2023-10-11 22:20:28 +08:00
Sunny
9be05923be * UIForm: 增加一个在窗体显示后延时执行的事件
* UIPage: 增加一个在窗体显示后延时执行的事件
2023-10-09 23:45:04 +08:00
Sunny
e37f8a27bd * 几个线程控制的进度弹窗默认打开是增加延时200ms 2023-10-09 22:59:02 +08:00
Sunny
0ce8587bf7 * 几个线程控制的进度弹窗默认打开是增加延时200ms 2023-10-09 22:56:19 +08:00
Sunny
915c16d96f * IHideDropDown: 修改关闭下拉弹窗可能引起的出错 2023-10-07 22:48:22 +08:00
Sunny
930302a375 * UILineChart: 增加了X轴和Y轴鼠标选择区域并返回选中范围 2023-10-05 13:14:41 +08:00
Sunny
4cf7239d07 * UILineChart: 增加了Y轴数据由上向下绘制 2023-10-04 12:08:17 +08:00
Sunny
bc9e2effe5 * UILineChart: 增加了Y轴数据由上向下绘制 2023-10-04 11:33:07 +08:00
Sunny
069ed8c606 * UIComboDataGridView: 增加ClearFilter,可以清除弹窗的搜索栏文字 2023-09-25 12:14:52 +08:00
Sunny
637504e04b
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-24 01:50:21 +00:00
Sunny
369359ef2e
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-23 07:19:18 +00:00
Sunny
bb42f54cb0
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-19 04:37:29 +00:00
Sunny
b0b96e46bb
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-19 04:07:31 +00:00
Sunny
1cd11d8585
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-19 04:02:31 +00:00
Sunny
6c4e107ae3
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-19 04:02:16 +00:00
Sunny
50872db6b3
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-09-19 04:02:03 +00:00
Sunny
85250160b9 V3.5.0 2023-09-19 11:01:41 +08:00
Sunny
8a73974127 * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-09-19 10:01:51 +08:00
Sunny
2a989eafcb * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-09-17 23:06:16 +08:00
Sunny
e322338506 * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-09-17 23:02:05 +08:00
Sunny
7b2bbd897f * UIBreadcrumb: 增加Readonly,禁用鼠标点击,可通过代码设置ItemIndex 2023-09-17 20:28:59 +08:00
Sunny
0a6f8f5e65 * UIProcessBar: 修复值计算过程中的Int越界问题 2023-09-06 23:28:38 +08:00
Sunny
073b782bcf * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体
* UIPagination: 左右跳转按钮的文字换成字体图标
* UIMiniPagination: 左右跳转按钮的文字换成字体图标
2023-08-30 16:17:12 +08:00
Sunny
d759f41ad8 * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-08-30 15:43:13 +08:00
Sunny
82f4074ba5 * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-08-30 11:18:57 +08:00
Sunny
83caee295e * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-08-29 16:03:00 +08:00
Sunny
1ec80d250c * 重构全局字体设置逻辑,以期可以在程序运行时设置全局字体 2023-08-29 10:18:11 +08:00
Sunny
5866a810f0 * UIDropControl: 下拉框按钮图标增加编辑器 2023-08-28 22:44:25 +08:00
Sunny
5cc970b9bc * UILight: 恢复全局矩形设计时圆形灯光效果 2023-08-28 22:19:08 +08:00
Sunny
a24e08cfb5 * UIStyles: 修改全局字体为系统默认:System.Drawing.SystemFonts.DefaultFont 2023-08-28 21:57:56 +08:00
Sunny
d127e58eff 增加全局矩形设计,忽略圆角 2023-08-28 15:26:24 +08:00
Sunny
8295a99e2b 增加全局矩形设计,忽略圆角 2023-08-28 15:19:29 +08:00
Sunny
01e292b111 * UIDropControl: 修改背景色后编辑框颜色修复 2023-08-24 13:29:36 +08:00
Sunny
45bb573810 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2023-08-24 10:41:31 +08:00
Sunny
f511097931 * UITextBox: 修复了Enabled为false时,自定义颜色,文字不显示的问题 2023-08-24 10:41:14 +08:00
Sunny
c022602245
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-08-21 01:27:41 +00:00
Sunny
777d7e20c0 V3.4.2 2023-08-18 15:17:56 +08:00
Sunny
f0161b479e * UITextBox: 修复了Enabled为false时,字体大小调整后,文字显示位置的问题 2023-08-18 09:50:11 +08:00
Sunny
3fe1a5bf17 * UITextBox: 修复了Enabled为false时,字体大小调整后,文字显示位置的问题 2023-08-17 23:25:17 +08:00
Sunny
f800b16554 弹框不在状态栏显示 2023-08-15 14:13:24 +08:00
Sunny
b8999f3680 * UILineChartOption: 增加了GetDataPoint,可获取曲线上的数据值 2023-08-13 21:58:11 +08:00
Sunny
afaec79519 * UIComboBox: Items.Clear后,DropDownStyle为DropDown时,不清空Text 2023-08-11 21:44:01 +08:00
Sunny
71660bd72f * UIniFile: 增加了文件绝对路径判断和文件夹是否存在判断 2023-08-11 14:46:28 +08:00
Sunny
cc1f9172b5 * UIniFile: 增加提示文件名必须为绝对路径,不能用相对路径 2023-08-11 14:32:56 +08:00
Sunny
5a2b0539dc * UITitlePanel: 增加OnCollapsed事件 2023-08-07 14:25:44 +08:00
Sunny
e554b222da * UIFormHelper: 提问弹窗增加默认是确认或者取消按钮的选择 2023-07-27 17:26:10 +08:00
Sunny
ba4014f780 * UIFormHelper: 提问弹窗增加可默认是确认或者取消按钮的选择 2023-07-27 17:18:00 +08:00
Sunny
c5251848cc * UIEditForm: 默认弹窗TopMost为true 2023-07-27 15:42:58 +08:00
Sunny
ae55932c9e * UIFormHelper: 默认提示弹窗TopMost为true 2023-07-27 15:39:24 +08:00
Sunny
e70907cbc1 * UIForm: 默认提示弹窗TopMost为true
* UIPage: 默认提示弹窗TopMost为true
2023-07-27 15:25:06 +08:00
Sunny
5f97773d58 * UIChart: Legend增加一种绘制直线的方法 2023-07-25 23:14:28 +08:00
Sunny
7082bfc013 * UIComboDataGridView: 过滤输入后,按键盘下键切换至DataGridView,选中数据后按回车可快捷选中数据 2023-07-25 22:56:23 +08:00
Sunny
436a34fd6b * UIForm: 修复页面切换时,第一个UIPage未执行Final事件的问题 2023-07-24 11:14:42 +08:00
Sunny
8b8125daa7 * UIGroupBox: 解决BackColor,FillColor设置为透明时,文本位置与边框线重叠的问题 2023-07-19 12:19:58 +08:00
Sunny
f632853f43
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-07-18 06:35:46 +00:00
Sunny
ad8e929726 V3.4.1 2023-07-18 14:30:51 +08:00
Sunny
7578b70e1c + UCompress: 增加数据帧压缩类 2023-07-17 23:05:41 +08:00
Sunny
48e2274861 * UITextBox: 修复了Enabled为false时,PasswordChar失效的问题 2023-07-16 20:41:30 +08:00
Sunny
d4eefa4c09 * UIRoundProcess: 增加起始角度和扫描角度 2023-07-15 11:31:26 +08:00
Sunny
8a2053ee7f * UILineChart: 增加了坐标轴绘制时显示箭头,并在箭头处显示数量单位的功能 2023-07-14 14:02:41 +08:00
Sunny
7424ad768c * UIRoundProcess: 内圈尺寸小的时候更新配色 2023-07-14 09:49:54 +08:00
Sunny
ed5353224c * UIRoundProcess: 内圈尺寸小的时候更新配色 2023-07-12 23:41:49 +08:00
Sunny
4b0ca7dca6 * UITitlePanel: 删除Padding设置 2023-07-12 10:42:50 +08:00
Sunny
2798c6d59a * UIDataGridView: 修复了有冻结行时垂直滚动条点击时出错的问题 2023-07-12 10:01:33 +08:00
Sunny
ec60c9af19 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2023-07-11 23:25:51 +08:00
Sunny
b95d430599 * UIGroupBox: 解决BackColor,FillColor设置为透明时,标题下面会出现横线 2023-07-11 23:25:36 +08:00
Sunny
2295768aa1
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-07-10 01:35:02 +00:00
Sunny
22da0fccbd V3.4.0 2023-07-09 23:26:30 +08:00
Sunny
70b4c53600 * UIniFile: 将文件版本和文件编码写入文件头部 2023-07-07 22:25:41 +08:00
Sunny
777361b186 * UITurnSwitch: 调整配色,增加自定义角度 2023-07-06 23:32:19 +08:00
Sunny
a98cbe3cf2 + UITurnSwitch: 增加旋转开关 2023-07-05 23:39:16 +08:00
Sunny
36566557e3 * UITextBox: 增加Enabled为false时,可修改文字颜色 2023-07-03 13:40:37 +08:00
Sunny
b26761134b * UIDropControl: 增加了下拉框控件的主动释放(不加的话GC也会回收) 2023-07-03 10:24:06 +08:00
Sunny
a53f0f5e8e * UIComboBox: 修改了几个对象的释放 2023-07-03 09:51:21 +08:00
Sunny
b49d082a7f * UILineChart: 增加了数据沿Y轴变化时鼠标移动到数据点时显示数据点标签 2023-07-02 22:15:03 +08:00
Sunny
43d3369365 * UILineChart: 增加PointFormat,鼠标选中值显示格式化事件 2023-07-02 19:50:10 +08:00
Sunny
b68415a152 * UITreeView: 屏蔽DrawMode属性,默认为OwnerDrawAll 2023-07-02 17:16:24 +08:00
Sunny
442014fa11 * UIButton: 渐变色增加方向选择 2023-07-02 17:02:32 +08:00
Sunny
cc1e8dadcc * UIUserControl: 渐变色增加方向选择 2023-07-02 16:57:24 +08:00
Sunny
525cc8fd27 * UIDataGridView: 增加了可设置水平滚动条宽度的属性,但可能会遮挡最下面数据行的数据,看情况使用 2023-06-28 17:32:50 +08:00
Sunny
28cd82dc32 * UIComboBox: 增加过滤时忽略大小写 2023-06-28 17:08:30 +08:00
Sunny
9679e2e9c2 * UIMiniPagination: 内置按钮关联值由Tag改为TagString
* UIPagination: 内置按钮关联值由Tag改为TagString
2023-06-27 23:10:21 +08:00
Sunny
6ed6ec9afa * UIRadioButtonGroup: 内置条目关联值由Tag改为TagString
* UICheckBoxGroup: 内置条目关联值由Tag改为TagString
2023-06-27 22:23:03 +08:00
Sunny
834ba6a46d + 增加扫码枪键盘钩子类 2023-06-17 16:42:34 +08:00
Sunny
a317666ce8
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-06-14 15:29:47 +00:00
Sunny
80b01845b0 * UIMiniPagination: 按钮图标位置修正
* UITextBox: 按钮图标位置修正
更新Demo
2023-06-14 23:26:09 +08:00
Sunny
1288b8ebaf V3.3.9 2023-06-14 23:02:50 +08:00
Sunny
c6e87b9cf6 * UIEdit: 修复输入范围判断的问题 2023-06-14 22:57:38 +08:00
Sunny
0fcb485817 * UIComboTreeView: 修复使用清空按钮后,再次打开下拉框,上次的选择内容还是存在 2023-06-12 20:55:49 +08:00
Sunny
681be2cfd3
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-06-06 14:42:03 +00:00
Sunny
4d9f3241d3 V3.3.8 2023-06-06 22:31:58 +08:00
Sunny
ce7cbd9e11 * UILineChart: 修复X轴文字重叠问题 2023-06-06 22:10:32 +08:00
Sunny
184bf0ca8b * UIBarChart: 修复Y轴文字居中 2023-06-06 21:59:43 +08:00
Sunny
fcaddef7b4 更新Demo 2023-05-29 22:58:53 +08:00
Sunny
f1348e53f9 * UINavMenu: 增加PageGuid相关扩展方法 2023-05-29 09:54:07 +08:00
Sunny
bcbab4f4eb * 重构一些笔刷和画笔的资源释放 2023-05-28 21:10:04 +08:00
Sunny
50fe88ee07 * 重构一些控件的Dispose事件 2023-05-28 17:06:56 +08:00
Sunny
9a2acbdf70 * 重构一些控件的Dispose事件 2023-05-28 17:05:17 +08:00
Sunny
face0e2227 * UIVerificationCode: 修改字体缩放时显示 2023-05-28 16:58:16 +08:00
Sunny
75f460da18 * UIVerificationCode: 修改字体缩放时显示 2023-05-28 15:51:46 +08:00
Sunny
3acba1ca26 * 重构字体 2023-05-28 15:41:53 +08:00
Sunny
3fc41f95d2 * 重构一些笔刷和画笔的资源释放 2023-05-28 11:36:13 +08:00
Sunny
f0c65df166 * UITransfer: 增加列表框字体可调整
* UITransfer: 增加列表框列表项高度可调整
2023-05-25 13:50:36 +08:00
Sunny
9dfdb310ba * 重构字体 2023-05-25 13:43:08 +08:00
Sunny
7ae4bb613d * 重构字体 2023-05-25 10:51:41 +08:00
Sunny
0b8c69b095 * UIStyle: 更新获取Font.GdiCharSet 属性的方法 2023-05-24 16:15:42 +08:00
Sunny
95252d0112 更新Demo 2023-05-17 15:38:29 +08:00
Sunny
869d80e936 * UFontImage: 修复了一个窗体属性编辑器图标显示不全的问题 2023-05-17 15:21:02 +08:00
Sunny
2057e10406 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2023-05-17 11:14:29 +08:00
Sunny
359c84b173 * 更新Demo 2023-05-17 11:14:00 +08:00
Sunny
60e664bb28
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-05-17 01:13:39 +00:00
Sunny
7fb7eaec94 V3.3.7 2023-05-16 23:25:34 +08:00
Sunny
7b9008a379 * 增加一个函数 2023-05-16 23:15:39 +08:00
Sunny
a6c3de2ffb * 重构DrawFontImage函数 2023-05-16 22:55:33 +08:00
Sunny
f6f12c51c9 * 重构MeasureString 2023-05-16 15:01:46 +08:00
Sunny
169b079f32 * 重构MeasureString 2023-05-16 13:27:58 +08:00
Sunny
bd9ec9d115 * 重构DrawString函数 2023-05-16 11:00:26 +08:00
Sunny
90c26a6b24 * 重构DrawString函数 2023-05-16 10:37:48 +08:00
Sunny
35b00ce5c2 * 重构DrawString函数 2023-05-15 23:05:39 +08:00
Sunny
00ad2d8318 * 重构DrawString函数 2023-05-15 22:25:51 +08:00
Sunny
ebfaaf925c * 重构DrawString函数 2023-05-14 23:06:23 +08:00
Sunny
b84e0c1a3b * UIDatePicker: 修复文字格式化显示问题 2023-05-14 22:14:58 +08:00
Sunny
1d478a9117 * UIDatePicker: 年、年月、年月日可单独设置格式化掩码 2023-05-14 16:07:40 +08:00
Sunny
cf5727b374 * 重构DrawString函数 2023-05-14 15:59:16 +08:00
Sunny
decb112c21 * 重构DrawString函数 2023-05-13 12:19:09 +08:00
Sunny
d5ec9b16d2 * 重构DrawString函数 2023-05-13 11:02:38 +08:00
Sunny
e566bfe82b * 重构DrawString函数 2023-05-13 10:21:41 +08:00
Sunny
fb098d6c97 * 重构DrawString函数 2023-05-13 10:07:41 +08:00
Sunny
c23e3f5634 * UILineChart: 增加了一种开关量曲线的显示方式 2023-05-12 23:13:18 +08:00
Sunny
e74a9891d2 * UIBarChart: Option.BarInterval,设置Bar之间间隔,默认-1,自动计算间隔 2023-05-12 16:27:05 +08:00
Sunny
26255f9169 * 重构DrawString函数 2023-05-12 15:37:14 +08:00
Sunny
8b124e2beb * 重构DrawString函数 2023-05-12 15:23:32 +08:00
Sunny
bd4824a2c0 * 重构DrawString函数 2023-05-12 14:51:02 +08:00
Sunny
0101bad8c5 * 重构DrawString函数 2023-05-12 13:54:24 +08:00
Sunny
982e50761e * 重构DrawString函数 2023-05-12 11:59:17 +08:00
Sunny
05b674e3ba * UITitlePanel: 标题栏文字位置属性由TextAlign改为TextAlignment 2023-05-12 11:03:53 +08:00
Sunny
756877cc0b * 重构DrawString函数 2023-05-11 23:26:20 +08:00
Sunny
527935aedd * 重构DrawString函数 2023-05-11 22:48:40 +08:00
Sunny
ce0f45cc20 * UIBarChart: Option.ShowFullRect为true时,绘制右侧和上侧的边框实线 2023-05-10 21:45:22 +08:00
Sunny
ca15a2f1c5 * UIIPTextBox: 修复Enabled切换时背景色不一致的问题 2023-05-10 21:09:51 +08:00
Sunny
2a859f60e9 * 重构DrawString函数 2023-05-09 17:04:35 +08:00
Sunny
ac5d36c744 * 重构DrawString函数 2023-05-08 22:49:39 +08:00
Sunny
368f0c4498 * 重构DrawString函数 2023-05-08 21:32:39 +08:00
Sunny
6587289286 * UIDropControl: 最小高度限制,以防丢失边框 2023-05-08 14:47:15 +08:00
Sunny
4f91a84ac2 * UIDropControl: 最小高度限制,以防丢失边框 2023-05-08 13:30:31 +08:00
Sunny
c56dde9d4a * 重构DrawString函数 2023-05-07 22:15:38 +08:00
Sunny
ca67c3bd28 * 重构DrawString函数 2023-05-07 18:57:36 +08:00
Sunny
39b482356d * 重构DrawString函数 2023-05-06 23:29:12 +08:00
Sunny
e045973d62 * UILineChartOption: 增加了UpdateYData函数,按序号更新Y轴值 2023-05-06 20:29:42 +08:00
Sunny
20bcf1f3e5 * UIImageButton: 增加调用点击事件PerformClick 2023-05-04 21:48:31 +08:00
Sunny
f7c8020e5e * UITitlePanel: 增加了一个关闭按钮的属性,点击后隐藏控件 2023-05-02 11:45:51 +08:00
Sunny
4f6ad5231f
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-04-24 13:49:33 +00:00
Sunny
3c1b4db0f1 V3.3.6 2023-04-24 14:04:02 +08:00
Sunny
c91be03a49 * UISwitch: 增加ActiveChanging事件,在状态改变前可以进行判断 2023-04-23 22:30:05 +08:00
Sunny
c16d77bbcd * UIEditForm: 代码生成增加,Double类型增加小数点位数 2023-04-23 22:03:16 +08:00
Sunny
bc38931bd6 * UILineChart: 打开Smooth绘制,建议数据差距不大时可平滑绘制 2023-04-23 15:09:17 +08:00
Sunny
4a16603367 * UIFontImages: 增加搜索结果显示页面 2023-04-23 14:56:35 +08:00
Sunny
94ff3f35b3 * UILineChart: 打开Smooth绘制,建议数据差距不大时可平滑绘制 2023-04-23 14:11:36 +08:00
Sunny
7938aa3854 * FontAwesome: 字体图标从V5.15.2升级到V6.4.0 2023-04-23 13:32:50 +08:00
Sunny
33dd857705 * UIRadioButtonGroup: 设置选择项ForeColor 2023-04-22 10:40:29 +08:00
Sunny
f9062226f8 * UIChartOption: 图表的一些参数设置为只读或者私有设置 2023-04-21 13:55:29 +08:00
Sunny
0a7e7a0f41 * UILoginForm: 增加可选择显示时激活的控件 2023-04-19 23:08:00 +08:00
Sunny
70a187702f * UICheckBoxGroup: 设置选择项ForeColor 2023-04-19 15:06:54 +08:00
Sunny
389d6a0fae * UIEdit: 修复了最大值最小值范围判断的问题 2023-04-19 14:21:07 +08:00
Sunny
399a8d40e5 * FDialogs: 增加了等待提示窗的示例 2023-04-13 09:49:44 +08:00
Sunny
f357e675dc
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-04-08 02:25:18 +00:00
Sunny
a95a76c7f5 V3.3.5 更新Demo 2023-04-08 10:19:53 +08:00
Sunny
789802af65 V3.3.5 2023-04-08 10:13:53 +08:00
Sunny
35399a341a * UIDropControl: DropDownList时,显示水印文字 2023-04-08 09:54:57 +08:00
Sunny
dac28c7c62 * UControl: 修复关闭弹窗null的Bug 2023-04-02 21:40:31 +08:00
Sunny
81dbcbf0e3 * UIComboTreeView: 显示清除按钮 2023-04-02 20:35:58 +08:00
Sunny
70eb76fa9e * UIComboDataGridViewItem: 增加多语翻译 2023-03-29 13:56:10 +08:00
Sunny
4727af34cd * UMessageTip: 解决了Release模式下GDI位图未释放的Bug 2023-03-28 23:15:13 +08:00
Sunny
32d7ed3a05 * UGraphics: 重构了一遍绘图方法 2023-03-28 22:27:59 +08:00
Sunny
e982882169
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-03-27 01:08:17 +00:00
Sunny
b5b1e8b5a4 * UINumPadTextBox: 增加了最大值、最小值等属性 2023-03-26 22:57:35 +08:00
Sunny
fdebecf3a9 * 内置的一些容器增加关闭过滤下拉框的点击事件 2023-03-26 22:10:43 +08:00
Sunny
bc66440c97 * 内置的一些容器增加关闭过滤下拉框的点击事件 2023-03-26 22:06:43 +08:00
Sunny
9b3e30d54a * UITreeView: 修改LabelEdit属性 2023-03-26 21:32:14 +08:00
Sunny
a77a5dfd01 * Demo: 重写FMain,从UIForm继承 2023-03-26 12:58:28 +08:00
Sunny
3ba740ce84 3.3.4 2023-03-26 12:21:37 +08:00
Sunny
59265b4bb1 * UINumPadTextBox: 增加默认事件ValueChanged,下键盘Enter事件相应此事件 2023-03-26 10:34:21 +08:00
Sunny
aada4e651a * UIDateItem: 修复下拉框鼠标移动位置的Bug 2023-03-26 10:22:49 +08:00
Sunny
a1b2ebde3f * UILineChart: 自定义X轴坐标时,点数据提示显示为原始值 2023-03-26 10:06:11 +08:00
Sunny
b31cd59f58 * UIIntegerUpDown: 删除ForbidInput属性,使用Inputable属性
* UIDoubleUpDown: 删除ForbidInput属性,使用Inputable属性
2023-03-24 22:16:15 +08:00
Sunny
e0352c14c1 + UINumPadTextBox: 增加模拟数字键盘输入框 2023-03-18 17:05:02 +08:00
Sunny
595f5c19b1 * UIPage: 重新梳理页面加载顺序 2023-03-15 21:00:31 +08:00
Sunny
ee328aa648 * UIComboBox: 修改失去焦点自动关闭过滤下拉框 2023-03-15 15:45:09 +08:00
Sunny
9b57042d42 * UITreeView: 增加MouseDoubleClick和MouseClick事件 2023-03-13 21:28:17 +08:00
Sunny
b3f06c240a * UIPage: 调整了页面切换时Final和Init的顺序 2023-03-11 12:04:54 +08:00
Sunny
42e6b8e67e * UIEdit: 修复了删除为空时小数位数和设置值不一致的问题 2023-03-07 22:55:31 +08:00
Sunny
81ab0020ea
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-03-07 05:27:49 +00:00
Sunny
a1f37f197d V3.3.3 2023-03-05 11:53:45 +08:00
Sunny
e1eefb0ede * UIDropControl: 下拉框类型的ClearButton在尺寸变化时,重新计算位置 2023-03-01 10:48:03 +08:00
Sunny
651240ca59 * UIPage: 取消设计期的Dock.Fill,改为运行时设置 2023-02-24 17:46:31 +08:00
Sunny
90b7b4b92b * UIPage: 增加PageDeselecting,取消页面选择时增加判断 2023-02-24 17:13:57 +08:00
Sunny
d448cc9cc0 * UIForm: 修复PageSelected可能未显示选中页面的问题 2023-02-24 15:05:40 +08:00
Sunny
0c066ff6dc * UIPipe: 修复了管道宽度调大后水流不显示的问题 2023-02-24 11:11:15 +08:00
Sunny
cb7e3d338f * UIScrollingText: 重写滚动逻辑 2023-02-23 14:53:33 +08:00
Sunny
1d633229e1 * UINavBar: 去除下拉菜单宽度调整 2023-02-22 17:51:40 +08:00
Sunny
1dc2ec9b53 增加了Windows里阻止系统电源选项里的系统睡眠,屏幕关闭API 2023-02-22 17:40:56 +08:00
Sunny
438b1cd0c7 * UIDataGridView: 加了一个简洁显示的模式 2023-02-19 21:06:23 +08:00
Sunny
460de57deb + UIMiniPagination: 新增迷你分页控件,只有分页按钮,无其他 2023-02-19 20:28:31 +08:00
Sunny
73383cb6b2 * UINavMenu: 增加可重绘DrawNode 2023-02-18 21:51:38 +08:00
Sunny
a932af940f * FastLZ: 修改加载库 2023-02-12 13:48:30 +08:00
Sunny
5a5d806bc2 * UITextBox: 有水印时,系统响应触摸屏增加了TouchPressClick属性,默认关闭 2023-02-10 21:45:24 +08:00
Sunny
ce2c7cb55a * UINavMenu: 有子节点时,鼠标左键点击父级点展开/收缩,右键选中 2023-02-10 21:21:08 +08:00
Sunny
3ad151c3cb 3.3.2.1 2023-02-08 20:46:12 +08:00
Sunny
05011d57f8 * UIControl: WIN10系统响应触摸屏增加了TouchPressClick属性,默认关闭 2023-02-08 11:24:31 +08:00
Sunny
20ed2e0be4 V3.3.2 2023-02-07 22:13:17 +08:00
Sunny
acf169d59a
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-02-07 14:12:14 +00:00
Sunny
9a3a2d2ff5 3.3.2 2023-02-07 22:01:24 +08:00
Sunny
7242a192c1 * UIDropControl: 下拉框控件增加Tips小红点
* UITextBox: 增加Tips小红点
2023-02-07 21:28:09 +08:00
Sunny
30b5c92b93 * UIDropControl: 下拉框控件增加Tips小红点
* UITextBox: 增加Tips小红点
2023-02-07 21:24:12 +08:00
Sunny
b26c3ea100 * UIComboBox: 增加清除按钮 2023-02-04 21:25:36 +08:00
Sunny
4767ad6e01 * UIComboBox: 增加清除按钮 2023-02-04 21:09:12 +08:00
Sunny
d4de09d068 * UIComboTreeView: 下拉框增加显示全选选择框 2023-02-04 20:33:19 +08:00
Sunny
401a20cc41 * UIComboTreeView: 下拉框增加多选按钮 2023-02-04 20:28:59 +08:00
Sunny
24f07c1936 * UITransfer: 支持鼠标框选和Shift,Ctrl多选移动 2023-02-04 20:05:58 +08:00
Sunny
72343afd01 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2023-02-03 21:25:17 +08:00
Sunny
9fc4122102 + UIControl: 增加WIN10系统响应触摸屏的按下和弹起事件 2023-02-03 21:22:53 +08:00
Sunny
320eec465d * UINavMenu: 修复了鼠标离开事件 2023-02-02 09:55:32 +08:00
Sunny
9cbe7c403c * UIIntegerUpDown: 修改文本框数据输入数据变更事件为MouseLeave
* UIDoubleUpDown: 修改文本框数据输入数据变更事件为MouseLeave
2023-01-28 16:04:35 +08:00
Sunny
98a68dd995 * UIForm: 最大化后,关闭按钮扩大至原按钮右上角全部区域 2023-01-25 17:47:24 +08:00
Sunny
be1239dad1 * UIFlowLayoutPanel: 增加AutoScroll属性
* UIFlowLayoutPanel: 修复只显示水平滚动条时,鼠标滚轮滚动水平滚动条不动的问题
2023-01-11 10:56:09 +08:00
Sunny
f6461b9cc2 去掉强签名 2023-01-11 09:43:09 +08:00
Sunny
b2b3e5a95c 2012-2022 2023-01-07 18:12:33 +08:00
Sunny
2bb2ba07c7
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-01-07 04:07:04 +00:00
Sunny
fb0e071f74
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-01-07 04:06:33 +00:00
Sunny
8fffde8574
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2023-01-07 04:05:31 +00:00
Sunny
1fee7cde90 V3.3.1 2023-01-07 11:52:13 +08:00
Sunny
ec6a9d5f57 * UIDataGridView: 增加可重载的函数 2023-01-05 22:12:52 +08:00
Sunny
c846d340a1 * UIRadioButton: 修复CheckedChanged事件 2022-12-21 21:24:17 +08:00
Sunny
354a30dcb7 * UIEdit: 修复了一个最小值大于0是,显示类型为字符串Text为空仍有显示的问题 2022-12-18 22:06:05 +08:00
Sunny
c1df84826e * UIProgressIndicator: 增加Active属性,是否激活动态显示
+ UIProcessIndicatorForm: 增加等待窗体
2022-12-18 11:53:23 +08:00
Sunny
8306e3ffcb 更改了进度提示框,不在任务栏显示,并置顶 2022-12-17 14:19:08 +08:00
Sunny
5ed6aaf7a6 * UISplitContainer: SplitterWidth值小的时不绘制箭头 2022-12-06 17:34:47 +08:00
Sunny
e0e97e2e54 * UISplitContainer: 去掉SplitterWidth限制 2022-12-06 15:58:43 +08:00
Sunny
f17af88a24 *UITreeView: 增加了可自定义行的颜色 2022-12-06 12:02:50 +08:00
Sunny
4353a01a03 * UIIPTextBox: 删除TextChanged事件,增加ValueChanged事件 2022-12-02 22:25:38 +08:00
Sunny
87a311ea6a * UIForm: 增加RemoveAllPages函数 2022-11-30 20:48:47 +08:00
Sunny
d5e65ac1b0 * UIComboBox: 增加Clear方法
* UIComboDataGridView; 增加Clear方法
* UIComboTreeView: 增加Clear方法
2022-11-30 20:27:12 +08:00
Sunny
989e074cdc * UINavMenuHelper: 重构RemovePage方法 2022-11-29 18:06:11 +08:00
Sunny
95260be5b3 更新Demo 2022-11-29 14:22:19 +08:00
Sunny
27ea7d7d99 * UIPieOption, UIDoughnutOption, UIBarOption, UILineOption: 增加了一些为空的判断 2022-11-28 14:21:39 +08:00
Sunny
e217e0ce32
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-11-28 01:23:48 +00:00
Sunny
969b37e230 V3.3.0 2022-11-27 23:35:47 +08:00
Sunny
f98829b2b8
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-11-26 02:51:58 +00:00
Sunny
b270317f31 * UILine: 水平方向文字不居中时,可设置线条渐变色 2022-11-26 10:09:39 +08:00
Sunny
fcd3f86f49 * UIBarChartOption: 重构对象
* UIPieChartOption: 重构对象
2022-11-25 16:07:41 +08:00
Sunny
ec6795b3a8 * UILineChartOption: 增加了线的最大点数设置,以及移除点数的设置
* UILineChartOption: 重构对象
2022-11-25 15:47:20 +08:00
Sunny
61860cc995 * UIFlowLayoutPanel: 增加Get方法以获取控件 2022-11-25 14:22:14 +08:00
Sunny
615a9149c5
!58 update SunnyUI/Forms/UIEditForm.cs.
Merge pull request !58 from 我是你欧尼桑/N/A
2022-11-21 13:58:51 +00:00
Sunny
d5c24ecb32 Merge branch 'master' of https://gitee.com/yhuse/SunnyUI 2022-11-21 14:08:27 +08:00
Sunny
50ef093719 * UICheckBoxGroup: 修复未显示时切换节点文本为空的问题
* UIRadioButtonGroup: 修复未显示时切换节点文本为空的问题
2022-11-21 14:08:16 +08:00
我是你欧尼桑
61ac5ac31a
update SunnyUI/Forms/UIEditForm.cs.
UITextBox类型为Double的时候会导致CheckRange无法验证最大值

Signed-off-by: 我是你欧尼桑 <952135763@qq.com>
2022-11-21 05:45:44 +00:00
Sunny
6121540268 * UIComboDataGridView: 过滤框输入增加回车确认 2022-11-18 20:40:00 +08:00
Sunny
8c7737db4c * UIComboDataGridView: 增加过滤框输入逐一过滤属性Filter1by1 2022-11-18 10:46:58 +08:00
Sunny
0a6ef3e4b4 * UITextBox: 增加MouseClick,MouseDoubleClick事件 2022-11-16 21:28:20 +08:00
Sunny
50f105c4b0
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-11-13 12:15:20 +00:00
Sunny
e023209ad0
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-11-13 12:04:33 +00:00
Sunny
ffbee70341 V3.2.9 2022-11-13 20:00:51 +08:00
Sunny
9a48c32265 * UIHorScrollBarEx: 增加了可设置水平滚动条高度的属性
* UIHorScrollBar: 增加了可设置水平滚动条高度的属性
2022-11-13 19:22:55 +08:00
Sunny
eaa30c9749 * UIComboBox: 增加不显示过滤可以自动调整下拉框宽度 2022-11-13 10:30:24 +08:00
Sunny
f2334b65c8 * 删除一些过时的方法 2022-11-13 09:39:05 +08:00
Sunny
b5c019362c * UIFlowLayoutPanel: 删除AddControl、RemoveControl方法 2022-11-13 09:36:42 +08:00
Sunny
191113a38e * UIFlowLayoutPanel: 增加滚动条背景色调整 2022-11-13 09:34:02 +08:00
Sunny
78eba18862 * UIIntegerUpDown: 修改整数离开判断为实时输入判断
* UIDoubleUpDown: 修改浮点数大小离开判断为实时输入判断
2022-11-13 00:07:38 +08:00
Sunny
7deecb7f73 * UITextBox: 删除MaximumEnabled、MinimumEnabled、HasMaximum、HasMinimum属性
* UIIntegerUpDown: 修改整数离开判断为实时输入判断
* UIIntegerUpDown: 删除MaximumEnabled、MinimumEnabled、HasMaximum、HasMinimum属性
* UIDoubleUpDown: 修改浮点数大小离开判断为实时输入判断
* UIDoubleUpDown: 删除MaximumEnabled、MinimumEnabled、HasMaximum、HasMinimum属性
2022-11-13 00:06:38 +08:00
Sunny
71a4664122 * UITextBox: 修改整数、浮点数大小离开判断为实时输入判断 2022-11-12 22:13:12 +08:00
Sunny
265fe51009 + .Net7支持 2022-11-11 21:18:28 +08:00
Sunny
b76aa6e838 + .Net7支持 2022-11-11 21:18:24 +08:00
Sunny
f3f48d0de3 * UIDatePicker: 增加MaxDate,MinDate 2022-11-08 16:10:58 +08:00
Sunny
5e3a387635 V3.2.8.1 2022-11-04 21:53:37 +08:00
Sunny
7d83f2e1b4
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-11-04 01:53:41 +00:00
Sunny
ad2e4ae89e V3.2.8 2022-11-04 09:41:48 +08:00
Sunny
7df32605a7 V3.2.8 2022-11-03 23:26:32 +08:00
Sunny
04a1e69233 * UIRichTextBox: 增加了可设置垂直滚动条宽度的属性
* UITextBox: 增加了可设置垂直滚动条宽度的属性
2022-11-03 21:31:40 +08:00
Sunny
9b7d27be4c * UIFlowLayoutPanel: 增加了可设置垂直滚动条宽度的属性 2022-11-03 20:55:53 +08:00
Sunny
1bb93f212a * UINavMenu: 重写了节点右侧图标的绘制 2022-11-03 20:35:50 +08:00
Sunny
183fa9d420 * UINavMenu: 增加了可设置垂直滚动条宽度的属性 2022-11-03 19:50:41 +08:00
Sunny
94ad1bad69 * UIComboDataGridView: 过滤时删除字符串前面、后面的空格 2022-11-03 17:04:39 +08:00
Sunny
655c098177 * UIComboBox: 过滤时删除字符串前面、后面的空格 2022-11-03 16:49:45 +08:00
Sunny
1f11be45fd * UIImageListBox: 增加了可设置垂直滚动条宽度的属性
* UIListBox: 增加了可设置垂直滚动条宽度的属性
* UITreeView: 增加了可设置垂直滚动条宽度的属性
2022-11-03 16:20:40 +08:00
Sunny
828cc082bc * UIVerScrollBarEx: 增加了可设置垂直滚动条宽度的属性 2022-11-03 15:27:10 +08:00
Sunny
22b8c41584 * UIIPTextBox: 增加TextChanged事件 2022-11-02 16:52:39 +08:00
Sunny
d8d3eeac53 * UIniFile: 增加读取字符串长度到4096,增加文件编码
* UIniConfig: 增加文件编码,通过Load传入
2022-11-01 21:54:10 +08:00
Sunny
6aff886a99 * UITreeView: TreeNode支持imagekey绑定图标 2022-10-28 21:58:27 +08:00
Sunny
21ed20c9e2 * UIPage: 标题栏增加扩展按钮 2022-10-28 21:15:58 +08:00
Sunny
1f479820b7 * UITitlePanel: 箭头图标可设置颜色 2022-10-28 20:40:57 +08:00
Sunny
783fe36646
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-10-24 06:08:21 +00:00
Sunny
5ba7bf809f * UIDataGridView: 增加了可设置垂直滚动条宽度的属性 2022-10-14 16:44:38 +08:00
Sunny
998df06fa3
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-10-03 15:36:35 +00:00
Sunny
e52a2951da V3.2.6 2022-10-03 23:31:27 +08:00
Sunny
ec5c28858c
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-10-02 02:43:28 +00:00
Sunny
40df6d9cd5
update README.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-10-02 02:28:55 +00:00
Sunny
c7bfe1e292 V3.2.5 2022-09-30 23:47:23 +08:00
Sunny
34feb51c56 V3.2.5 2022-09-30 23:37:09 +08:00
Sunny
c0386ee9f8 V3.2.5 2022-09-30 23:24:10 +08:00
Sunny
b7e75e7826 * UISwitch: 修复了Readonly时,双击还可以改变值的问题 2022-09-26 21:16:55 +08:00
Sunny
5af94b9023 * UILineChart: 增加鼠标可框选缩放属性MouseZoom 2022-09-19 22:52:46 +08:00
Sunny
20e6545a51 * UIIntegerUpDown: 增加是否可以双击输入属性
* UIDoubleUpDown: 增加是否可以双击输入属性
2022-09-16 22:42:25 +08:00
Sunny
797b565009 * UITextBox: 修改右侧Button可能不显示的问题 2022-09-16 22:19:21 +08:00
Sunny
1612c975d3 * UIDropControl: 支持自定义右键菜单 2022-09-16 17:46:39 +08:00
Sunny
9a843d35aa * UITextBox: 支持自定义右键菜单 2022-09-16 17:38:02 +08:00
Sunny
41efc21b4e * UIniFile: 修改IniFile,改WinApi读取为直接C#代码读取 2022-09-13 14:39:18 +08:00
Sunny
372a2cfd5f - JsonConfig: 删除JsonConfig,Json可以直接对象序列化字符串保存。JsonConfig有点鸡肋了。 2022-09-13 13:47:25 +08:00
Sunny
387b570f13
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-09-12 02:46:04 +00:00
Sunny
8529218e74 V3.2.4 2022-09-11 16:10:32 +08:00
Sunny
61b6a149a3 V3.2.4 2022-09-11 15:56:09 +08:00
Sunny
d88ad84b06 * UIForm: 修复继承页面可响应WM_HOTKEY消息 2022-09-11 12:51:33 +08:00
Sunny
867cc89b89 * UIForm: 修复继承页面可响应WM_HOTKEY消息 2022-09-11 10:59:43 +08:00
Sunny
d15b52d414 * UIComboDataGridView: 增加过滤字异常判断 2022-09-08 13:55:47 +08:00
Sunny
4aa6fd8911
!57 UIComboDataGridView使用过滤功能时,字符串中包含 * ,需要加上'[]'进行转义
Merge pull request !57 from Schr0dingerCat/master
2022-09-08 05:12:33 +00:00
Sunny
8400e5ff37 * UIBarChart: Option.YAxis.ShowGridLine为false时,不显示水平表格虚线 2022-09-07 11:33:24 +08:00
Sunny
286721d0c6 * 下拉框控件文字位置微调,和文本框显示位置一致。 2022-09-06 16:12:47 +08:00
Sunny
0b11ef4024 * UITextBox: 修复了无水印文字时,光标有时不显示的问题 2022-09-05 22:14:51 +08:00
Sunny
e6978f4a69 * UIListBox: 修复Click,DoubleClick事件 2022-09-05 21:45:22 +08:00
Sunny
77051a39aa * UIListBox: 修复Click,DoubleClick事件
* UIImageListBox: 修复Click,DoubleClick事件
2022-09-05 21:36:18 +08:00
Sunny
20c744994e * UIDataGridViewFooter: 重构文字显示 2022-09-05 15:46:44 +08:00
Sunny
e351e113ee * UITextBox: 修复了无水印文字时,光标有时不显示的问题 2022-09-05 14:23:16 +08:00
Sunny
7bf2f55173 * UIProcessBar: 修改最大值至少为1 2022-09-05 13:55:11 +08:00
Schr0dingerCat
81e7b1f5d2
update SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs.
UIComboDataGridView使用过滤功能时,字符串中包含 * ,需要加上'[]'进行转义

Signed-off-by: Schr0dingerCat <174683306@qq.com>
2022-08-31 08:10:33 +00:00
Sunny
2647d135cb * UIImageListBox: 增加了一些事件 2022-08-30 13:33:16 +08:00
Sunny
bb28d99411 * UIForm: 重构页面添加、选择、删除事件 2022-08-30 13:16:31 +08:00
Sunny
ec7d24e8e0 * 重构多页面框架传值 2022-08-30 10:59:54 +08:00
Sunny
347e919de8 * 重构多页面框架传值 2022-08-26 10:28:48 +08:00
Sunny
15b67be54a * 重构多页面框架传值 2022-08-25 23:25:33 +08:00
Sunny
93c7441803 * UIComboBox: 下拉框边框可设置颜色
* UIForm: 重构多页面框架传值删除SetParamToPage
* UIForm: 重构多页面框架传值:框架发送给页面 SendParamToPage 函数
* UIForm: 重构多页面框架传值:接收页面传值 ReceiveParams 事件
* UIPage: 重构多页面框架传值删除SetParam,FeedbackToFrame
* UIPage: 重构多页面框架传值:页面发送给框架 SendParamToFrame 函数
* UIPage: 重构多页面框架传值:页面发送给框架 SendParamToPage 函数
* UIPage: 重构多页面框架传值:接收框架、页面传值 ReceiveParams 事件
2022-08-25 23:01:30 +08:00
Sunny
004f422df1 * UIButton: 增加同一个容器的相同GroupIndex的按钮控件的Selected单选 2022-08-25 15:20:50 +08:00
Sunny
556fa94a5d V3.2.3.1 修复一个Bug 2022-08-20 11:15:03 +08:00
Sunny
e80fc7b29f * 修改UITabControlMenu的Demo 2022-08-19 10:12:57 +08:00
Sunny
14bfb4cde9 * UINavMenu: 修复选中节点右侧图标前景色 2022-08-19 10:10:11 +08:00
Sunny
8f0f262d33 * UIBarChart: 增加数据可为Nan 2022-08-17 15:41:09 +08:00
Sunny
101f3a9133 * UILineChart: 修复数据全为Nan时绘制出错 2022-08-17 13:48:37 +08:00
Sunny
13526d0ec3 去掉签名 2022-08-17 11:47:14 +08:00
Sunny
dcb22f8eb9
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-08-16 01:59:58 +00:00
Sunny
0dc6cd8d0b
update Updates.md.
Signed-off-by: Sunny <yhuse@163.com>
2022-08-16 01:56:39 +00:00
Sunny
d006cf87e6 * 增加UIKnob的Demo 2022-08-15 21:48:05 +08:00
Sunny
5700a26b5c V3.2.3 2022-08-15 21:33:13 +08:00
Sunny
aac3925c6a * UITreeView: 去掉窗体控件的默认设计器 2022-08-12 21:45:59 +08:00
Sunny
e916d6911d * UITabControlMenu: 重写ItemSize,将宽、高调整为正常显示 2022-08-11 21:11:18 +08:00
Sunny
0c9c9ef9af * UIBarChart: 修复Y轴显示名称 2022-08-10 23:15:23 +08:00
Sunny
2f1d1eb945 - 删除LineAweSome字体图标,经过测试显示效果不理想 2022-08-10 22:42:27 +08:00
Sunny
a7e6a65bd3 + 增加LineAweSome字体图标,测试下看看效果 2022-08-09 22:10:07 +08:00
Sunny
8091603b29 + 增加LineAweSome字体图标,测试下看看效果 2022-08-09 21:26:03 +08:00
Sunny
d2e518b798 * IniFile: 读数据缓存增加到2048,但还是不建议Ini文件保存过长的数据 2022-08-09 20:32:47 +08:00
Sunny
b652889491 * UILineChart: 修复双Y轴时,数据为空,刷新出错的问题 2022-08-04 22:01:30 +08:00
Sunny
35c1714ac2 * UILineChart: 修复双Y轴时,数据为空,刷新出错的问题 2022-08-02 12:21:54 +08:00
Sunny
8211491bb9 * UITextBox: 修改了描述错别字 2022-08-01 15:33:00 +08:00
Sunny
cc8dc64b0a + UIKnobControl: 新增控件 2022-07-31 22:31:46 +08:00
Sunny
df57c95686 * UIChartOption: 清理一些无用的属性 2022-07-30 11:38:54 +08:00
Sunny
db0eb984cb * UILineChart: 数据显示的小数位数重构调整至数据序列Series.XAxisDecimalPlaces,YAxisDecimalPlaces
* UILineChart:  数据显示的日期格式重构调整至数据序列Series.XAxisDateTimeFormat
* UILineChart:  坐标轴的小数位数重构调整至AxisLabel.DecimalPlaces
* UILineChart:  坐标轴的日期格式重构调整至AxisLabel.DateTimeFormat
* UIBarChart: 数据显示的小数位数重构调整至数据序列Series.DecimalPlaces
* UIBarChart: 坐标轴的小数位数重构调整至AxisLabel.DecimalPlaces
2022-07-30 11:03:49 +08:00
Sunny
0fd7299962 * UILineChart: 数据显示的小数位数重构调整至数据序列Series.XAxisDecimalPlaces,XAxisDateTimeFormat,YAxisDecimalPlaces 2022-07-30 10:02:13 +08:00
Sunny
495328c1e5 * UIBarChart: 数据显示的小数位数重构调整至数据序列Series.DecimalPlaces 2022-07-29 11:44:46 +08:00
Sunny
2cc9ef5308 * UIDoughnutChart: 数据显示的小数位数重构调整至Option.DecimalPlaces
* UIPieChart: 数据显示的小数位数重构调整至Option.DecimalPlaces
2022-07-29 11:15:59 +08:00
Sunny
55fe87d8f3 * UIDataGridView: 修复了ScrollBars为None时仍然显示滚动条的问题
* UIDataGridView: 修复了单行时表格高度低时,垂直滚动条拖拽至底部出错的问题
2022-07-29 10:21:21 +08:00
Sunny
dc8b8a00a3 * UIDoubleUpDown, UIProcessBar, UITextBox: 小数位数统一改名为DecimalPlaces 2022-07-28 16:53:09 +08:00
Sunny
d37b655c24 * UITextBox: 修复了有水印文字时,不响应Click和DoubleClick事件的问题 2022-07-28 16:34:25 +08:00
Sunny
c2f8e29b9a * UINavBar: 删除界面此控件的编辑器 2022-07-28 16:20:50 +08:00
Sunny
c2ee18fa6d * UILineChart: 修复双Y轴数据点提示文字显示 2022-07-26 13:44:52 +08:00
Sunny
c0ccb4cfd0 * UIGifAvatar: 重写图片刷新流程,减少内存及GC 2022-07-25 17:57:52 +08:00
Sunny
88d551b5e3 * UIForm: 多页面框架增加程序关闭时调用UIPage的Final和FormClosed事件 2022-07-25 16:53:27 +08:00
Sunny
d04c025d75
update Updates.md. 2022-07-25 01:36:34 +00:00
Sunny
498ab89a79 V3.2.2 2022-07-24 22:46:04 +08:00
Sunny
66f752fccc * UIComboBox: 屏蔽FormatString的编辑器 2022-07-21 21:51:53 +08:00
Sunny
6b9a456172 * UIFormHelper: 解决ShowNotifier打开多个,全部关闭时出错的问题 2022-07-17 21:09:10 +08:00
Sunny
e3f550e6e9 * UITextBox: 增加SelectionChanged事件 2022-07-17 20:15:20 +08:00
Sunny
3afec3c581 * UITextBox: 修复Click点击事件 2022-07-16 23:24:46 +08:00
Sunny
bb92bfa971 * UILineChartOption: 增加移除线的操作 2022-07-16 10:34:22 +08:00
Sunny
8322b14cbe * UIForm: 增加UnRegisterHotKey,卸载全局热键 2022-07-14 09:29:13 +08:00
Sunny
74c1a47a8b * UIMessageBox: 消息弹窗文本增加滚动条 2022-07-13 15:57:23 +08:00
Sunny
0aeff7da26 * 增加几个通用函数 2022-07-13 15:30:27 +08:00
Sunny
a1b1b91049 * 增加几个通用函数 2022-07-13 11:41:53 +08:00
Sunny
6507a361d5 Merge branch 'master' of http://gitee.com/yhuse/SunnyUI 2022-07-12 16:46:12 +08:00
Sunny
0120148ffe * UIComboTreeView: 修复CanSelectRootNode时可以展开子节点 2022-07-12 16:45:37 +08:00
Sunny
5d7e195048
update .gitee/ISSUE_TEMPLATE.zh-CN.md. 2022-07-11 15:34:35 +00:00
Sunny
3d3b28e446 * UIDataGridView: 增加滚动条边框线的设置 2022-07-11 23:22:32 +08:00
Sunny
b84bbf9185 * UIDataGridView: 修复一处滚动条的显示位置 2022-07-11 17:48:52 +08:00
Sunny
bc54effff3 * UILineChart: 修改两个点时可以不显示连接线 2022-07-11 17:38:18 +08:00
Sunny
1a9bb4f0da * FastLZ: 增加了扩展的自定义压缩解压方法 2022-07-07 18:06:42 +08:00
Sunny
5e09012ad7 * FastLZ: 增加了扩展的自定义压缩解压方法 2022-07-06 23:22:21 +08:00
Sunny
665ba89e62 * UIForm: 多页面框架增加PageAdded,PageSelected,PageRemoved事件 2022-07-06 17:18:55 +08:00
Sunny
1a2acc5a19 * UIForm: 多页面框架增加PageAdded,PageSelected,PageRemoved事件 2022-07-05 17:49:16 +08:00
Sunny
cab4b45ad7 * 增加XML文档文件 2022-07-05 11:43:58 +08:00
Sunny
6509d0b251 * 增加XML文档文件 2022-07-04 21:18:16 +08:00
Sunny
0ce2695c7c
update README.md. 2022-07-04 02:02:47 +00:00
Sunny
16ed300807
update Updates.md. 2022-07-03 13:47:33 +00:00
Sunny
1a0aee96a3 V3.2.1 2022-07-03 11:28:07 +08:00
Sunny
839099490a + UIGifAvatar: Gif动态头像 2022-07-01 23:01:34 +08:00
Sunny
6774f917b3 * UICheckBoxGroup: 设置条目状态前判断是否创建 2022-06-30 10:28:53 +08:00
Sunny
307ace2d85 * 增加XML文档文件 2022-06-30 10:20:53 +08:00
Sunny
513c8cf171
!56 修复了UIDoubleUpDown和UIIntegerUpDown不能设置字体颜色的bug
Merge pull request !56 from asuper/FixUiUpDownForecolor
2022-06-28 09:52:00 +00:00
Sunny
dcb69df130 + UICalendar: 增加日历控件 2022-06-28 17:41:56 +08:00
chenren
2b5953f2c3 修复了UIDoubleUpDown和UIIntegerUpDown不能设置字体颜色的bug 2022-06-28 17:18:28 +08:00
Sunny
2d8daa6d2b * issues: https://gitee.com/yhuse/SunnyUI/issues/I5EBL8 2022-06-27 17:36:58 +08:00
Sunny
77a3b86e4b * 增加XML文档文件 2022-06-27 17:06:11 +08:00
Sunny
15ba594d3f * UIMessageBox: 询问窗口的Focus按钮的绘制线换成背景色 2022-06-27 15:55:46 +08:00
Sunny
a471882183 * 增加XML文档文件 2022-06-24 15:04:08 +08:00
Sunny
98d8681698 * 增加XML文档文件 2022-06-23 23:27:55 +08:00
Sunny
5dfcc25664 * 为增加XML文档文件准备 2022-06-23 22:27:14 +08:00
Sunny
2171220e91 * UINavMenu: 绘制节点字体图标增加偏移SymbolOffset 2022-06-23 16:18:50 +08:00
Sunny
06f7dfcc0f * UITextBox: 重写水印文字,解决不同背景色下泛白的问题 2022-06-23 10:54:12 +08:00
Sunny
da85d3ee34 * UIDataGridView: 删除 ShowRect、ShowGridLine、RowHeight三个属性 2022-06-22 21:33:50 +08:00
Sunny
ac4fef073e * UIDropDown: 解决下拉控件关闭报错 2022-06-21 18:00:55 +08:00
Sunny
2d92b91bcd * UIDropDown: 解决下拉控件关闭报错 2022-06-19 22:27:55 +08:00
Sunny
15c857d91c Merge branch 'master' of http://gitee.com/yhuse/SunnyUI 2022-06-19 17:35:45 +08:00
Sunny
3766215964 * UIDropDown: 解决下拉控件关闭报错 2022-06-19 17:35:32 +08:00
Sunny
cbaffee719 * UITabControl: 多页面框架关闭页面时执行UIPage的FormClosed事件 2022-06-19 11:29:14 +08:00
Sunny
60b942b047 * UIComboDataGridView: 增加FilterChanged,输出过滤文字和记录条数 2022-06-19 10:26:58 +08:00
Sunny
fb3a35eee1 * UIComboTreeView: 增加下拉框宽度、高度 2022-06-16 15:58:41 +08:00
Sunny
227b3a96ae * UIComboDataGridView: 增加下拉框宽度 2022-06-16 15:50:02 +08:00
Sunny
db211cfe07
update Updates.md. 2022-06-16 05:26:08 +00:00
Sunny
8ddb2b348c V3.2.0 更新Demo 2022-06-15 23:35:12 +08:00
Sunny
a10e87f85a V3.2.0 2022-06-15 23:25:35 +08:00
Sunny
0544f4cd61 * UIForm: 弹窗默认关闭半透明遮罩
* UIPage: 弹窗默认关闭半透明遮罩
2022-06-11 17:00:13 +08:00
Sunny
60b74e3ba5 * UICombobox: 增加了几个关闭过滤窗体的地方 2022-06-11 16:17:07 +08:00
Sunny
7770fc8d3d * UIDataGridView: 恢复几个原生属性:
隐藏 ShowRect, 设置原生属性:BorderStyle = BorderStyle.FixedSingle;
隐藏 ShowGridLine, 设置原生属性:CellBorderStyle = DataGridViewCellBorderStyle.Single;
隐藏 RowHeight, 用 SetRowHeight() 代替,或设置原生属性:AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None,RowTemplate.Height 设置为高度
2022-06-11 12:54:26 +08:00
Sunny
f02080876e + UIVerificationCode: 增加验证码控件 2022-06-11 11:01:27 +08:00
Sunny
e415486a50 * UIDataGridView: 不再判断DataSource绑定List为空,出现”索引-1没有值“用户自行判断 2022-06-10 17:59:38 +08:00
Sunny
d1b3e3bcd6 * UITextBox: 尺寸改变时重绘
* UIPanel: 尺寸改变时重绘
2022-06-10 13:42:49 +08:00
Sunny
643148849a * UIStatusForm: 标题栏国际化 2022-05-30 15:06:43 +08:00
Sunny
a51d04f741 * UIGroupBox: 修复Padding设置 2022-05-30 10:46:19 +08:00
Sunny
7fb7c21f4c * UITitlePanel: 修复Padding设置 2022-05-30 10:28:04 +08:00
Sunny
5603bc88fe * UIBarChart: 重写Y轴坐标显示 2022-05-27 15:41:12 +08:00
Sunny
cf2c4acd01 * 修改了控件属性注释 2022-05-26 11:03:06 +08:00
Sunny
edfc0b1a05 * UIComboBox: Selceted=-1,清除文本 2022-05-24 13:34:38 +08:00
Sunny
b15dbe0486 * UIComboDataGridView: 修复过滤时,列未绑定DataPropertyName出错的问题 2022-05-19 17:50:19 +08:00
Sunny
594fe19989 * UITabControl: 修复了一个首页无法关闭的问题 2022-05-17 22:55:35 +08:00
Sunny
fc77cb4751 * ControlEx: 更新几个函数 2022-05-17 21:24:41 +08:00
Sunny
db3eeb45f8 * UIMainFrame: 修复了显示页面关闭按钮,移除最后一个页面出错的问题 2022-05-17 21:21:09 +08:00
Sunny
31c41746d2
update Updates.md. 2022-05-15 13:20:39 +00:00
Sunny
a3d5a1149a V3.1.9 2022-05-15 21:12:32 +08:00
Sunny
e439a7fbad * UIComboTreeView: 显示CheckBoxes时自己选中节点文字可切换状态 2022-05-15 17:26:57 +08:00
Sunny
0c89806af0 * UITreeView: 增加了点击文字改变CheckBox状态的NodeClickChangeCheckBoxes 2022-05-15 17:16:50 +08:00
Sunny
55c8009f05 * UITreeView: 修复了一个设计期显示错误 2022-05-15 14:45:40 +08:00
Sunny
2ce63dfa9c * UIListBox: 增加滚动条颜色设置 2022-05-15 13:32:58 +08:00
Sunny
1c97f500c6 * UILight: 增加文字显示 2022-05-15 12:43:03 +08:00
Sunny
840771c0a4 * UILoginForm: 将文本资源放入窗体属性 2022-05-11 23:53:37 +08:00
Sunny
5a22a14fc5 * UITabControl: 修复屏蔽左右键后其他控件无法使用左右键的问题 2022-05-11 19:36:04 +08:00
Sunny
f87e366b57 * UIPage: ShowTitle时,可调整Padding 2022-05-11 11:11:52 +08:00
Sunny
959578c86e * UIForm: 可拖拽时Padding可以调整大小 2022-05-06 23:03:53 +08:00
Sunny
516e82f287 * UIDoubleUpDown: 增加禁止输入属性
* UIIntegerUpDown: 增加禁止输入属性
2022-05-05 17:38:35 +08:00
Sunny
686d5cf828 * UIComboBox: 过滤时修复ValueMember绑定值的显示 2022-05-04 15:16:09 +08:00
Sunny
82355a3cda * UIDataGridView: ShowGridLine属性更新 2022-05-02 16:54:07 +08:00
Sunny
e006a5032b * UIForm: 屏蔽一些属性 2022-04-26 15:56:51 +08:00
Sunny
74631b3e2e * UIPage: 屏蔽一些属性 2022-04-26 15:48:47 +08:00
Sunny
4dc4636c69 * UIDataGridView: 解决原生控件DataSource绑定List,并且List为空,出现”索引-1没有值“错误 2022-04-26 14:44:23 +08:00
Sunny
e093821c06 * 更新弹窗不置顶的Bug 2022-04-25 17:58:44 +08:00
Sunny
d9a8896e74 * 更新Demo 2022-04-22 17:49:48 +08:00
Sunny
bddd69d36b 更新项目文件 2022-04-20 23:42:09 +08:00
Sunny
0ce7a5ac0e
update Updates.md. 2022-04-20 15:39:27 +00:00
Sunny
d598ff0282 V3.1.8 2022-04-20 23:35:13 +08:00
Sunny
286f30d5cd * UIComboBox: 过滤文字为空时,下拉框显示所有数据列表 2022-04-20 22:22:17 +08:00
Sunny
ed53b4bd12 * UISplitContainer: 修复调用Collapse()后,展开/收回操作失效 2022-04-20 13:52:36 +08:00
Sunny
38ee57eaaa * UITabControl: 不显示标签页时屏蔽左右键 2022-04-20 11:24:42 +08:00
Sunny
d581637b99 * UILineChart: 关闭Smooth绘制,数值差距大或者持续缩放会出错 2022-04-19 22:38:05 +08:00
Sunny
c155e45841 * UIForm: 可拖拽时Padding.Top增加1,解决一些显示问题 2022-04-19 15:26:12 +08:00
Sunny
ef01df366f * UIForm: 修复一处设置错误 2022-04-19 10:34:31 +08:00
Sunny
ce8c3f8f89 * UITabControl: 关闭按钮增加鼠标移入的效果 2022-04-18 21:54:48 +08:00
Sunny
c495c5c425 更新Demo 2022-04-18 17:09:22 +08:00
Sunny
866af62b33 * UIEditForm: 修改一处Show引起的无法获取控件值的问题 2022-04-18 16:04:30 +08:00
Sunny
74a493a00f
update Updates.md. 2022-04-18 01:47:54 +00:00
Sunny
9e48c68f62 V3.1.5 2022-04-17 23:34:44 +08:00
Sunny
178fdd4a15 * UIComboDataGridView: 增加行多选 2022-04-17 09:40:09 +08:00
Sunny
95776600e3 * UIComboDataGridView: 增加行多选 2022-04-16 23:06:58 +08:00
Sunny
1ab593385b * UIComboBox: 过滤下拉控跟随主题配色 2022-04-16 22:03:20 +08:00
Sunny
6a1619e263 * UIDataGridView: 增加滚动条的颜色设置 2022-04-16 21:19:31 +08:00
Sunny
64f7d47402 * UIComboBox: 增加过滤,ShowFilter 2022-04-16 20:15:40 +08:00
Sunny
38908bbab6 * UIComboBox: 增加过滤 2022-04-15 23:41:32 +08:00
Sunny
8beb5042ca * UINavBar, UINavMenu: 重构扩展函数 2022-04-14 17:18:45 +08:00
Sunny
a42cd389fc * UIComboBox: 根据Text自动选中SelectIndex 2022-04-13 19:06:28 +08:00
Sunny
01ce6f5eaf * UICheckBox: 值相同时不响应值改变事件 2022-04-13 16:19:43 +08:00
Sunny
f3058c2d5d * UITextBox: 增加对按钮设置ToolTip 2022-04-11 17:53:40 +08:00
Sunny
57c83b2b1b 重构窗体缩放 2022-04-11 17:06:11 +08:00
Sunny
b50a56da5a 重构窗体缩放 2022-04-11 13:18:21 +08:00
Sunny
8bee360a99
update README.md. 2022-04-08 01:49:33 +00:00
Sunny
e45c396f7b
update README.md. 2022-04-08 01:47:49 +00:00
Sunny
0dc404a7fa 删除调试输出,从nuget引用 2022-04-08 09:46:52 +08:00
Sunny
0dd74f976f 删除调试输出,从nuget引用 2022-04-08 09:34:19 +08:00
Sunny
1580848281 * 控件缩放部分代码修改 2022-04-07 17:49:50 +08:00
Sunny
b6554b162c * UIAvator: 增加缩放 2022-04-07 16:21:41 +08:00
Sunny
696c36c9e9 * UIStyle: 增加属性以期控件跟随窗体缩放 2022-04-07 16:13:17 +08:00
Sunny
d11e4d4a5e * UISplitContainer: 增加主题样式 2022-04-03 16:03:23 +08:00
Sunny
93e10483d3 * UIPage, UIForm, UITitlePanel: 调整了标题的最小高度 2022-04-03 15:44:59 +08:00
Sunny
066f334b67 * UINavBar: 修复一处索引引起的出错 2022-04-03 13:55:28 +08:00
Sunny
374f7997bb
update Updates.md. 2022-04-03 05:25:47 +00:00
Sunny
51c378f3e2 V3.1.3 2022-04-03 13:17:47 +08:00
Sunny
4fb03a6fcb * UIStyle: 修改等待窗体与主题配色一致 2022-04-03 12:20:11 +08:00
Sunny
017c49a2f7 * UIStyle: 增加全局字体大小设置 2022-04-03 10:38:45 +08:00
Sunny
c9b6653ad1 * UIPage: 默认设置AutoScaleMode为None 2022-04-02 23:59:34 +08:00
Sunny
f635e11ab3 * 更新Demo 2022-04-02 23:50:15 +08:00
Sunny
fc59df03fe * UIForm、UIUserControl: 默认设置AutoScaleMode为None 2022-04-02 23:39:10 +08:00
Sunny
7a9aad616c * IFrame: 增加两个接口 2022-04-02 23:04:20 +08:00
Sunny
a3a327b971 + UIUserControl: 增加用户控件基类 2022-04-02 22:46:03 +08:00
Sunny
3492d94dc4 * UITreeView: 自定义行颜色,可通过代码给颜色值,SetNodePainter 2022-04-01 16:36:52 +08:00
Sunny
3b65cf824d * UITreeView: 垂直滚动条未显示时禁止鼠标滚轮滚动刷新 2022-04-01 16:11:03 +08:00
Sunny
83ed1fe1c5 * UITreeView: 增加水平滚动条 2022-04-01 15:04:38 +08:00
Sunny
8f34889655 + FastLZ: FastLZ压缩解压类 2022-03-31 22:08:21 +08:00
Sunny
aa409b0d7b * UIButton: 增加是否显示浅色背景LightStyle 2022-03-31 16:44:23 +08:00
Sunny
43d7ff6ad5 * UIComboDataGridView: 更新了FilterColumnName为空时的过滤出错 2022-03-31 15:45:47 +08:00
Sunny
3fc7f9aee5 * UIComboDataGridView: 修复一处点击清除按钮后确定出错 2022-03-30 21:59:12 +08:00
Sunny
9212a13d74 V3.1.2.1 修复下拉框组件配色 2022-03-30 00:09:51 +08:00
Sunny
cdbd479d5e * 重构下拉框组件配色 2022-03-29 23:55:38 +08:00
Sunny
b988632507 * UIDPIScale: DPI重构 2022-03-29 18:26:37 +08:00
Sunny
6e74517f3f * 编译SunnyUI.Demo为VS2010可编译版本。 2022-03-29 14:48:30 +08:00
Sunny
f6cbae9c2e 提交更新日志 2022-03-28 23:13:35 +08:00
Sunny
2441361a50 V3.1.2 2022-03-28 22:46:47 +08:00
Sunny
188151b58a * UIForm: 增加了查找页面的方法 2022-03-28 15:39:08 +08:00
Sunny
6055450e7e 更新Demo 2022-03-25 18:08:35 +08:00
Sunny
229e7424ce 重构主题配色代码 2022-03-25 12:35:12 +08:00
Sunny
4c96acd2c6 * UINavMenu: 修复TipsText显示位置 2022-03-24 15:38:45 +08:00
Sunny
a1ea6aaaaf update README.md. 2022-03-22 18:41:26 +08:00
Sunny
943186b5a6
update README.md. 2022-03-22 10:28:37 +00:00
Sunny
0e325c7c31 * IComboDataGridView: 增加自动过滤、单元格双击选中 2022-03-22 18:00:35 +08:00
Sunny
f6981e3763 * 重构主题配色代码 2022-03-22 17:43:44 +08:00
Sunny
cbdf2f1db3 * UIComboDataGridView: 修改拼写错误,FilterColomnName改为FilterColumnName 2022-03-22 15:01:48 +08:00
Sunny
db276173e5 * 调整内置主题 2022-03-22 14:08:36 +08:00
Sunny
56e116a8bf * 调整内置主题 2022-03-22 13:45:37 +08:00
Sunny
88beccca72 * 重构主题配色代码 2022-03-22 10:13:02 +08:00
Sunny
519f5e9e09 * 重构主题配色代码 2022-03-21 23:25:57 +08:00
Sunny
1ab06414ae * 重构主题配色代码,删除部分主题
- UIComboboxEx: 删除
- UITitlePage: 删除
2022-03-20 17:16:40 +08:00
Sunny
6bc0b66907 * UILineChart: 默认图线平滑关闭 2022-03-18 18:06:44 +08:00
Sunny
2013d84087 + 增加自定义框架模板 2022-03-17 23:16:53 +08:00
Sunny
fd70439508 * UIDataGridView: 更新DPI缩放对控件的适配 2022-03-17 22:31:09 +08:00
Sunny
6bf1643a3b * UISplitContainer: 更新按钮刷新 2022-03-16 15:10:14 +08:00
Sunny
304aa49b5f
update README.md. 2022-03-14 10:20:06 +00:00
Sunny
ddffd95604 * Demo增加根据页面名称创建页面并显示 2022-03-14 17:46:08 +08:00
Sunny
77b53aa977 * UIForm: 修改TitleHeight后窗体仍然保持可拖拽调节大小 2022-03-14 17:06:25 +08:00
Sunny
51081f82bc * UITextBox: 增加滚动条的颜色设置 2022-03-14 16:48:09 +08:00
Sunny
53dff9d743 * UIRichTextBox: 增加滚动条的颜色设置 2022-03-14 16:45:40 +08:00
Sunny
ad600f6459 * UIForm: 增加DPI强制缩放的函数ReSetDPIScale 2022-03-13 23:16:06 +08:00
Sunny
fe6acb78fc * UIPanel: 修复Radius设置不能超过35的问题 2022-03-13 11:21:06 +08:00
Sunny
8d55eb44a7 * UIControl: 修复Radius设置不能超过35的问题 2022-03-13 11:18:36 +08:00
Sunny
415773efac * UIColorPicker: 修复选中颜色不显示 2022-03-10 17:55:56 +08:00
Sunny
75845313cb * UIBarChart: 增加X轴文字倾斜 2022-03-08 21:11:17 +08:00
Sunny
53683cf884 * UIListBox: 修复在选中某一项后,清除选中项需要两次操作 2022-03-08 20:12:44 +08:00
Sunny
b3bc0cdc65 设置DGV索引,暂存 2022-03-01 23:04:17 +08:00
Sunny
afd9b059da * UIDataGridView: 更新单选时选中值SelectedIndex值 2022-02-27 22:04:59 +08:00
Sunny
a6b6da2629 更新了Symbol 2022-02-26 10:53:40 +08:00
Sunny
b9edbe0524 * UIButton: 增加了AutoSize属性 2022-02-26 10:28:54 +08:00
Sunny
ed17d205fe * UIComboTreeView: 节点默认不自动展开 2022-02-23 22:46:45 +08:00
Sunny
d355ecd814 * UIRichTextBox: 增加了一些原生的属性和事件 2022-02-23 22:42:48 +08:00
Sunny
edc0f784ec * UIRichTextBox: 增加了一些原生的属性和事件 2022-02-23 22:29:21 +08:00
Sunny
5ec051e218 * UIListBox: 按键上下移动选择项目时,滚动条跟谁 2022-02-23 14:09:08 +08:00
Sunny
51222b19e9 * UIEditForm: 继承后可修改IsOK 2022-02-21 17:16:10 +08:00
Sunny
5f22cc40c4 * UIDoubleUpDown: 可以设置按钮大小和颜色 2022-02-21 17:13:42 +08:00
Sunny
f13b5f4aba * UIIntegerUpDown: 可以设置按钮大小和颜色 2022-02-20 13:11:29 +08:00
Sunny
3fdd288ae1
update .gitee/ISSUE_TEMPLATE.zh-CN.md. 2022-02-18 01:40:55 +00:00
Sunny
6bd803f7e9
update .gitee/ISSUE_TEMPLATE.zh-CN.md. 2022-02-18 01:40:04 +00:00
Sunny
1ded23bba0 更新基类 2022-02-16 15:39:32 +08:00
Sunny
cee61dd7cb * UITextBox: 增加了只读的颜色设置 2022-02-16 15:29:08 +08:00
Sunny
4400968ade * UIControl: 基类增加只读颜色设置 2022-02-16 14:20:44 +08:00
775 changed files with 52996 additions and 42001 deletions

View File

@ -1,9 +1,12 @@
> 特别说明:如果 Issue 没有严格按照模板编写且未提供测试源码下载或 Git 测试仓库地址,则视为无效 `Issue`
> 请先给项目点击Star支持本项目
> 特别说明:
> 请先给项目点击Star支持本项目未支持本项目的`Issue`不一定会得到回复!!!
> 如果`Issue`没有严格按照模板编写且未提供测试源码下载或 Git 测试仓库地址,则视为无效 `Issue`
> 提交`Issue`前请先用Gitee最新代码再次进行测试旧版本的有些问题已经随着更新已经解决无需再提交。
### SunnyUI 版本号
哪个版本号?
V3.
---
@ -20,6 +23,7 @@
- [x] Win7
- [ ] Win10
- [ ] Win11
- [ ] WindowsXP
- [ ] 其他
@ -30,7 +34,6 @@
- [x] .Net Framework4.0
- [ ] .Net Framework4.5
- [ ] .Net Framework4.7.2
- [ ] .Net5
- [ ] .Net6
- [ ] 其他

14
.gitignore vendored
View File

@ -25,6 +25,7 @@ x86/
bld/
[Oo]bj/
[Ll]og/
[Bb]in/
# Visual Studio 2015/2017 cache/options directory
.vs/
@ -343,3 +344,16 @@ healthchecksdb
/SunnyUI.Net5.Demo/bin/net5.0-windows
/Bin/net472
/Bin/net6.0-windows
/Bin/net40
/Bin/net7.0-windows
/Bin/net8.0-windows
/SunnyUI.Demo/Bin/SunnyUI.Common.dll
/SunnyUI.Demo/Bin/SunnyUI.Demo.exe
/SunnyUI.Demo/Bin/SunnyUI.Demo.exe.config
/SunnyUI.Demo/Bin/SunnyUI.dll
/docs/.vitepress/cache/deps
/run.bat
/package.json
/package-lock.json
/docs/markdown-examples.md
/docs/api-examples.md

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,11 +2,15 @@
[![star](https://gitee.com/yhuse/SunnyUI/badge/star.svg?theme=gvp)](https://gitee.com/yhuse/SunnyUI/stargazers)
[![fork](https://gitee.com/yhuse/SunnyUI/badge/fork.svg?theme=gvp)](https://gitee.com/yhuse/SunnyUI/members)
- 帮助文档: https://gitee.com/yhuse/SunnyUI/wikis/pages
- Gitee: https://gitee.com/yhuse/SunnyUI
- GitHub: https://github.com/yhuse/SunnyUI
- Nuget: https://www.nuget.org/packages/SunnyUI/
- Blog: https://www.cnblogs.com/yhuse
- 帮助文档: [https://gitee.com/yhuse/SunnyUI/wikis/pages](https://gitee.com/yhuse/SunnyUI/wikis/pages)
- 更新日志: [https://gitee.com/yhuse/SunnyUI/wikis/更新日志](https://gitee.com/yhuse/SunnyUI/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97)
- Gitee: [https://gitee.com/yhuse/SunnyUI](https://gitee.com/yhuse/SunnyUI)
- GitHub: [https://github.com/yhuse/SunnyUI](https://github.com/yhuse/SunnyUI)
- Nuget: [https://www.nuget.org/packages/SunnyUI/](https://www.nuget.org/packages/SunnyUI/)
- Blog: [https://www.cnblogs.com/yhuse](https://www.cnblogs.com/yhuse)
- 因为评论没有查找不利于解决问题故关闭项目评论功能。如果是问题或者建议请按照Issues模版添加Issue。
- 添加Issue: [https://gitee.com/yhuse/SunnyUI/issues/new](https://gitee.com/yhuse/SunnyUI/issues/new)
- V3.6.8+Demo编译可执行文件: [https://gitee.com/yhuse/SunnyUI.Demo](https://gitee.com/yhuse/SunnyUI.Demo)
欢迎交流QQ群 56829229 (SunnyUI技术交流群)请给源码项目点个Star吧
**个人学习交流免费,商业应用需要授权**联系QQ**17612584** 咨询授权事宜。
@ -19,16 +23,13 @@ SunnyUI.Net项目已加入[dotNET China](https://gitee.com/dotnetchina) 组织
![dotnetchina](https://images.gitee.com/uploads/images/2021/0324/120117_2da9922c_416720.png "132645_21007ea0_974299.png")
#### 软件介绍
- SunnyUI.Net, 是基于.Net Framework 4.0+、.Net 5、.Net 6 框架的 C# WinForm 开源控件库、工具类库、扩展类库、多页面开发框架。
- SunnyUI.NET 是基于.Net Framework4.0+、.Net8、.Net9 框架的 C# WinForm 开源控件库、工具类库、扩展类库、多页面开发框架。
- 源码编译环境:
1. **VS2019** 16.8+ 16.8.0是支持.Net5的最低版本
2. **VS2022**,安装.NetFramework4.0目标包的方法见https://www.cnblogs.com/yhuse/p/15536393.html
- 动态库应用环境:
**VS2010**及以上均可:
1. **.NetFrameWork项目**从Nuget引用SunnyUI或者直接引用已经编译好两个的DllSunnyUI.dllSunnyUI.Common.dll
2. **.Net5、.Net6项目**从Nuget引用SunnyUI
3. 不支持(.Net Framework 4 **Client Profile**)。
4. 推荐通过Nuget安装Install-Package SunnyUI或者通过Nuget搜索SunnyUI安装。
1. **VS2022**,安装.NetFramework4.0目标包的方法见https://www.cnblogs.com/yhuse/p/15536393.html
2. 编译源码,.Net8需要VS2022 17.12+版本或者修改SunnyUI.csproj文件的TargetFrameworks属性以适应VS环境
- 动态库应用环境: **VS2010**及以上均可,支持.Net Framework4.0+、.Net8、.Net9
1. 推荐通过Nuget安装Install-Package SunnyUI或者通过Nuget搜索SunnyUI安装。
2. 不支持(.Net Framework 4 **Client Profile**)。
#### 软件框架
![思维导图](https://images.gitee.com/uploads/images/2020/0627/210016_f3203a8b_416720.png "0.png")
@ -36,25 +37,36 @@ SunnyUI.Net项目已加入[dotNET China](https://gitee.com/dotnetchina) 组织
#### 支持开源
- 希望SunnyUI对您有用您的支持也是SunnyUI开源的动力SunnyUI有您更精彩
![感谢您的支持](https://images.gitee.com/uploads/images/2021/0409/201558_9a0993a3_416720.png "SupportSunnyUI.png")
- 多多打赏,喝点咖啡提提神,或者防脱洗发水保养下头发,哈哈哈~
- 感谢老板打赏,来杯咖啡提提神,写代码更有劲头~
1、开源控件库
- 基于.Net Framework4.0,原生控件开发,参考 Element主题风格包含 按钮、编辑框、下拉框、数据表格、工控仪表、统计图表在内的常用控件超过 **70** 个,满足常规开发需求,每个控件都精雕细琢,注重细节;
- 包含 Element 风格主题 11 个,其他主题 6 个,可通过多彩主题模式自定义主题。包含主题管理组件 UIStyleManager可自由切换主题。
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210102_6d4899e9_416720.png "1.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210116_bcd384cc_416720.png "2.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210130_666db8a5_416720.png "3.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210140_de07ac54_416720.png "6.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210147_01be66cb_416720.png "4.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210154_e4235df6_416720.png "5.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210203_b12eaa87_416720.png "7.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210212_00646588_416720.png "8.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/1011/104113_7d88b554_416720.png "UILineChart.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210228_94c98123_416720.png "10.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210235_9ee69ad8_416720.png "11.png")
![输入图片说明](https://images.gitee.com/uploads/images/2020/0627/210243_76faa4ad_416720.png "12.png")
![输入图片说明](https://foruda.gitee.com/images/1695452615395997083/00202d42_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452642851863238/aaeec26f_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452680081274144/3c1e7f98_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452700873038668/063ed9c0_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452736023225936/3390f8f2_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452755229762213/ca32e657_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452775585329155/0dbba2b2_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452790242801454/adfb6473_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452812586687608/90d4f3eb_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452847110834271/9be91c47_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452877418500901/2c591614_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452892176132380/6c05f728_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452907304141254/2dd0aa1b_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452922677145039/3e8f40d1_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452941707002701/0706c309_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452962527727515/528579ba_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695452975298844079/ec3b9fce_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453017275109921/7560fffb_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453028239627243/e3037142_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453068134019308/8a62c6ca_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453092842557213/2a930ecc_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453118713578423/4bb3fa94_416720.png "屏幕截图")
![输入图片说明](https://foruda.gitee.com/images/1695453138393750291/9ec560fd_416720.png "屏幕截图")
2、工具库
@ -67,4 +79,8 @@ SunnyUI.Net项目已加入[dotNET China](https://gitee.com/dotnetchina) 组织
4、多页面框架
- 参考Element包括7种常用框架风格只需几行简单的代码即可创建多页面程序其支撑组件包括UIFormUIPageUIFrame集合常用控件库即可快速开发WinForm应用程序。
![多页面框架](https://images.gitee.com/uploads/images/2020/0627/210832_a1a766ac_416720.png "21.png")
![输入图片说明](https://foruda.gitee.com/images/1695453189247127628/1adcd0d0_416720.png "屏幕截图")
#### 项目说明
- 个人学习交流免费商业应用需要授权。个人承接外包项目、个人开发商业项目等公司内部使用、开发项目等均属于商业应用范畴。联系QQ**17612584** 咨询授权事宜。
- 禁止使用SunnyUI控件库开发违法应用或使用从事其他非法目的违法犯罪行为。因此产生的法律责任与SunnyUI无关。

4
SunnyUI.Demo.exe.md Normal file
View File

@ -0,0 +1,4 @@
V3.6.8
此版本开始SunnyUI.Demo的生成的可执行文件不包含在SunnyUI项目中
如需要查看,请移步:[SunnyUI.Demo.exe](https://gitee.com/yhuse/SunnyUI.Demo)
或者用[VS2022 v17.8](https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.8)版本编译源码,此版本开始支持.net8

25
SunnyUI.Demo.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32922.545
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SunnyUI.Demo", "SunnyUI.Demo\SunnyUI.Demo.csproj", "{6AE19B87-C2AA-4C56-BC26-1C343F30FF58}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6AE19B87-C2AA-4C56-BC26-1C343F30FF58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6AE19B87-C2AA-4C56-BC26-1C343F30FF58}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6AE19B87-C2AA-4C56-BC26-1C343F30FF58}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6AE19B87-C2AA-4C56-BC26-1C343F30FF58}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6A916817-9F8C-4A1B-87CA-7DFD5453C40A}
EndGlobalSection
EndGlobal

View File

@ -43,7 +43,7 @@ namespace Sunny.UI.Demo
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
@ -57,7 +57,7 @@ namespace Sunny.UI.Demo
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
@ -71,7 +71,7 @@ namespace Sunny.UI.Demo
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
@ -85,7 +85,7 @@ namespace Sunny.UI.Demo
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
@ -99,7 +99,7 @@ namespace Sunny.UI.Demo
// BarChart
//
this.BarChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.BarChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.BarChart.Font = new System.Drawing.Font("宋体", 12F);
this.BarChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.BarChart.Location = new System.Drawing.Point(30, 55);
this.BarChart.MinimumSize = new System.Drawing.Size(1, 1);
@ -112,7 +112,7 @@ namespace Sunny.UI.Demo
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";

View File

@ -35,6 +35,9 @@ namespace Sunny.UI.Demo
series.AddData(-1.1);
series.AddData(-1.1);
series.AddData(-1.1);
//数据显示小数位数
series.DecimalPlaces = 1;
option.Series.Add(series);
series = new UIBarSeries();
@ -51,20 +54,23 @@ namespace Sunny.UI.Demo
option.XAxis.Data.Add("D1");
option.XAxis.Data.Add("D2");
option.XAxis.Data.Add("D3");
option.XAxis.Data.Add("D223");
option.XAxis.Data.Add("D4");
option.XAxis.Data.Add("D5");
option.XAxis.Data.Add("D6");
option.XAxis.Data.Add("D7");
option.XAxis.Data.Add("D7333");
option.XAxis.Data.Add("D8");
option.ToolTip.Visible = true;
option.YAxis.Scale = true;
option.XAxis.Name = "日期";
option.XAxis.AxisLabel.Angle = 60;//(0° ~ 90°)
option.YAxis.Name = "数值";
option.YAxis.AxisLabel.DecimalCount = 1;
option.YAxis.AxisLabel.AutoFormat = false;
//坐标轴显示小数位数
option.YAxis.AxisLabel.DecimalPlaces = 1;
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = "上限", Value = 12 });
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Gold, Name = "下限", Value = -20 });

View File

@ -1,155 +0,0 @@
namespace Sunny.UI.Demo
{
partial class FBarChartEx
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.BarChart = new Sunny.UI.UIBarChartEx();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 27);
this.uiSymbolButton1.Symbol = 61568;
this.uiSymbolButton1.TabIndex = 34;
this.uiSymbolButton1.Text = "数据";
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 33;
this.uiImageButton3.TabStop = false;
this.uiImageButton3.Text = " Dark";
this.uiImageButton3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton3.Click += new System.EventHandler(this.uiImageButton3_Click);
//
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 32;
this.uiImageButton2.TabStop = false;
this.uiImageButton2.Text = " Plain";
this.uiImageButton2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton2.Click += new System.EventHandler(this.uiImageButton2_Click);
//
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 31;
this.uiImageButton1.TabStop = false;
this.uiImageButton1.Text = " Default";
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// BarChart
//
this.BarChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.BarChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.BarChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.BarChart.Location = new System.Drawing.Point(30, 55);
this.BarChart.MinimumSize = new System.Drawing.Size(1, 1);
this.BarChart.Name = "BarChart";
this.BarChart.Size = new System.Drawing.Size(670, 430);
this.BarChart.TabIndex = 35;
this.BarChart.Text = "uiBarChartEx1";
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(456, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(100, 27);
this.uiSymbolButton2.Symbol = 61568;
this.uiSymbolButton2.TabIndex = 36;
this.uiSymbolButton2.Text = "数据";
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// FBarChartEx
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(886, 611);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.BarChart);
this.Name = "FBarChartEx";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61568;
this.Text = "BarChartEx";
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private UISymbolButton uiSymbolButton1;
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UIBarChartEx BarChart;
private UISymbolButton uiSymbolButton2;
}
}

View File

@ -1,153 +0,0 @@
using System.Drawing;
namespace Sunny.UI.Demo
{
public partial class FBarChartEx : UIPage
{
public FBarChartEx()
{
InitializeComponent();
}
private void uiImageButton1_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Default;
}
private void uiImageButton2_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Plain;
}
private void uiImageButton3_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Dark;
}
private void uiSymbolButton1_Click(object sender, System.EventArgs e)
{
UIBarOption option = new UIBarOption();
option.Grid.Bottom = 65;
option.Title = new UITitle();
option.Title.Text = "SunnyUI";
option.Title.SubText = "BarChartEx";
//设置Legend
option.Legend = new UILegend();
option.Legend.Orient = UIOrient.Horizontal;
option.Legend.Top = UITopAlignment.Top;
option.Legend.Left = UILeftAlignment.Left;
option.Legend.AddData("Bar1");
option.Legend.AddData("Bar2");
option.Legend.AddData("Bar3");
var series = new UIBarSeries();
series.Name = "Bar1";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 1.1);
series.AddData("通道2", 1.5);
option.Series.Add(series);
series = new UIBarSeries();
series.Name = "Bar2";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 2.2);
series.AddData("通道2", 2.8);
series.AddData("通道3", 2.5);
option.Series.Add(series);
series = new UIBarSeries();
series.Name = "Bar3";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 0.7);
option.Series.Add(series);
option.XAxis.Data.Add("Mon");
option.XAxis.Data.Add("Tue");
option.XAxis.Data.Add("Wed");
option.XAxis.Data.Add("Thu");
option.XAxis.Data.Add("Fri");
option.ToolTip.Visible = true;
option.YAxis.Scale = true;
option.XAxis.Name = "";
option.YAxis.Name = "数值";
option.XAxis.AxisTick.Distance = 14;
option.XAxis.AxisLabel.Angle = 90;
option.FixedSeriesCount = 3;
option.AutoSizeBars = true;
option.AutoSizeBarsCompact = true;
option.AutoSizeBarsCompactValue = 0.8f;
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = "上限", Value = 12 });
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Gold, Name = "下限", Value = -20 });
option.ToolTip.AxisPointer.Type = UIAxisPointerType.Shadow;
BarChart.SetOption(option);
}
private void uiSymbolButton2_Click(object sender, System.EventArgs e)
{
UIBarOption option = new UIBarOption();
option.Title = new UITitle();
option.Title.Text = "SunnyUI";
option.Title.SubText = "BarChartEx";
//设置Legend
option.Legend = new UILegend();
option.Legend.Orient = UIOrient.Horizontal;
option.Legend.Top = UITopAlignment.Top;
option.Legend.Left = UILeftAlignment.Left;
option.Legend.AddData("Bar1");
option.Legend.AddData("Bar2");
option.Legend.AddData("Bar3");
var series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 6f;
series.MaxWidth = 22;
series.Name = "Bar1";
series.AddData(1);
option.Series.Add(series);
series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 10.5f;
series.MaxWidth = 22;
series.Name = "Bar2";
series.AddData(2);
series.AddData(3);
option.Series.Add(series);
series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 16f;
series.MaxWidth = 22;
series.Name = "Bar3";
series.AddData(4);
series.AddData(5);
series.AddData(6);
option.Series.Add(series);
option.XAxis.Data.Add("Mon");
option.XAxis.Data.Add("Tue");
option.XAxis.Data.Add("Wed");
option.XAxis.Data.Add("Thu");
option.XAxis.Data.Add("Fri");
option.ToolTip = new UIBarToolTip();
option.ToolTip.AxisPointer.Type = UIAxisPointerType.Shadow;
option.AutoSizeBarsCompact = true;
option.AutoSizeBarsCompactValue = 0.1f;
BarChart.SetOption(option);
}
}
}

View File

@ -42,7 +42,7 @@
// DoughnutChart
//
this.DoughnutChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.DoughnutChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.DoughnutChart.Font = new System.Drawing.Font("宋体", 12F);
this.DoughnutChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.DoughnutChart.Location = new System.Drawing.Point(30, 55);
this.DoughnutChart.MinimumSize = new System.Drawing.Size(1, 1);
@ -54,7 +54,7 @@
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
@ -68,7 +68,7 @@
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
@ -82,7 +82,7 @@
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
@ -96,7 +96,7 @@
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
@ -111,7 +111,7 @@
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";

View File

@ -58,6 +58,9 @@ namespace Sunny.UI.Demo
option.Series.Clear();
option.Series.Add(series);
//显示数据小数位数
option.DecimalPlaces = 1;
//设置Option
DoughnutChart.SetOption(option);
uiSymbolButton2.Enabled = true;

View File

@ -47,8 +47,7 @@
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.IsScaled = false;
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
@ -57,12 +56,14 @@
this.uiSymbolButton1.Symbol = 61953;
this.uiSymbolButton1.TabIndex = 34;
this.uiSymbolButton1.Text = "单Y轴";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
@ -71,12 +72,13 @@
this.uiImageButton3.TabStop = false;
this.uiImageButton3.Text = " Dark";
this.uiImageButton3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiImageButton3.Click += new System.EventHandler(this.uiImageButton3_Click);
//
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
@ -85,12 +87,13 @@
this.uiImageButton2.TabStop = false;
this.uiImageButton2.Text = " Plain";
this.uiImageButton2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiImageButton2.Click += new System.EventHandler(this.uiImageButton2_Click);
//
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
@ -99,29 +102,27 @@
this.uiImageButton1.TabStop = false;
this.uiImageButton1.Text = " Default";
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// LineChart
//
this.LineChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.LineChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.LineChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.LineChart.IsScaled = false;
this.LineChart.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LineChart.Font = new System.Drawing.Font("宋体", 12F);
this.LineChart.LegendFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LineChart.Location = new System.Drawing.Point(30, 55);
this.LineChart.MinimumSize = new System.Drawing.Size(1, 1);
this.LineChart.Name = "LineChart";
this.LineChart.Size = new System.Drawing.Size(670, 430);
this.LineChart.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LineChart.SubFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LineChart.TabIndex = 35;
this.LineChart.Text = "uiLineChart1";
this.LineChart.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.LineChart.PointValue += new Sunny.UI.UILineChart.OnPointValue(this.LineChart_PointValue);
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.IsScaled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(560, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
@ -130,6 +131,8 @@
this.uiSymbolButton2.Symbol = 61463;
this.uiSymbolButton2.TabIndex = 36;
this.uiSymbolButton2.Text = "实时";
this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// timer1
@ -139,8 +142,7 @@
// cbPoints
//
this.cbPoints.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbPoints.Font = new System.Drawing.Font("微软雅黑", 12F);
this.cbPoints.IsScaled = false;
this.cbPoints.Font = new System.Drawing.Font("宋体", 12F);
this.cbPoints.Location = new System.Drawing.Point(348, 538);
this.cbPoints.MinimumSize = new System.Drawing.Size(1, 1);
this.cbPoints.Name = "cbPoints";
@ -148,13 +150,13 @@
this.cbPoints.Size = new System.Drawing.Size(95, 27);
this.cbPoints.TabIndex = 37;
this.cbPoints.Text = "只显示点";
this.cbPoints.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.cbPoints.CheckedChanged += new System.EventHandler(this.uiCheckBox1_CheckedChanged);
//
// cbContainsNan
//
this.cbContainsNan.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbContainsNan.Font = new System.Drawing.Font("微软雅黑", 12F);
this.cbContainsNan.IsScaled = false;
this.cbContainsNan.Font = new System.Drawing.Font("宋体", 12F);
this.cbContainsNan.Location = new System.Drawing.Point(571, 535);
this.cbContainsNan.MinimumSize = new System.Drawing.Size(1, 1);
this.cbContainsNan.Name = "cbContainsNan";
@ -163,13 +165,13 @@
this.cbContainsNan.TabIndex = 38;
this.cbContainsNan.Text = "包含Nan";
this.cbContainsNan.Visible = false;
this.cbContainsNan.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.cbContainsNan.CheckedChanged += new System.EventHandler(this.uiCheckBox2_CheckedChanged);
//
// uiSymbolButton3
//
this.uiSymbolButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton3.IsScaled = false;
this.uiSymbolButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton3.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton3.Name = "uiSymbolButton3";
@ -178,6 +180,8 @@
this.uiSymbolButton3.Symbol = 61953;
this.uiSymbolButton3.TabIndex = 39;
this.uiSymbolButton3.Text = "双Y轴";
this.uiSymbolButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiSymbolButton3.Click += new System.EventHandler(this.uiSymbolButton3_Click_1);
//
// FLineChart

View File

@ -18,6 +18,13 @@ namespace Sunny.UI.Demo
DateTime dt = new DateTime(2020, 10, 4);
UILineOption option = new UILineOption();
//设置图表边框空白部分尺寸
option.Grid.Left = 60;
option.Grid.Right = 60;
option.Grid.Top = 60;
option.Grid.Bottom = 60;
option.ToolTip.Visible = true;
option.Title = new UITitle();
option.Title.Text = "SunnyUI";
@ -37,7 +44,10 @@ namespace Sunny.UI.Demo
series.SymbolLineWidth = 2;
series.SymbolColor = Color.Red;
series.ShowLine = !cbPoints.Checked;
//数据点显示小数位数
series.YAxisDecimalPlaces = 2;
//增加曲线时可以设置曲线颜色例如Color.Lime
series = option.AddSeries(new UILineSeries("Line2", Color.Lime));
series.Add(dt.AddHours(3), 3.3);
series.Add(dt.AddHours(4), 2.3);
@ -48,8 +58,10 @@ namespace Sunny.UI.Demo
series.Symbol = UILinePointSymbol.Star;
series.SymbolSize = 4;
series.SymbolLineWidth = 2;
series.Smooth = true;
series.ShowLine = !cbPoints.Checked;
//数据点显示小数位数
series.YAxisDecimalPlaces = 1;
series.Smooth = true;
option.GreaterWarningArea = new UILineWarningArea(3.5);
option.LessWarningArea = new UILineWarningArea(2.2, Color.Gold);
@ -59,10 +71,11 @@ namespace Sunny.UI.Demo
option.XAxis.Name = "日期";
option.YAxis.Name = "数值";
//X轴坐标轴显示格式化
option.XAxis.AxisLabel.DateTimeFormat = "yyyy-MM-dd HH:mm";
option.XAxis.AxisLabel.AutoFormat = false;
option.YAxis.AxisLabel.DecimalCount = 1;
option.YAxis.AxisLabel.AutoFormat = false;
//Y轴坐标轴显示小数位数
option.YAxis.AxisLabel.DecimalPlaces = 1;
option.XAxisScaleLines.Add(new UIScaleLine(dt.AddHours(3).DateTimeString(), dt.AddHours(3), Color.Red));
option.XAxisScaleLines.Add(new UIScaleLine(dt.AddHours(6).DateTimeString(), dt.AddHours(6), Color.Red));
@ -92,7 +105,7 @@ namespace Sunny.UI.Demo
StringBuilder sb = new StringBuilder();
foreach (var point in points)
{
sb.Append(point.Name + ", " + point.Index + ", " + point.X + ", " + point.Y);
sb.Append(point.Series.Name + ", " + point.Index + ", " + point.X + ", " + point.Y);
}
Console.WriteLine(sb.ToString());
@ -107,12 +120,16 @@ namespace Sunny.UI.Demo
option.Title.Text = "SunnyUI";
option.Title.SubText = "LineChart";
var series = option.AddSeries(new UILineSeries("Line1"));
//设置曲线显示最大点数,超过后自动清理
series.SetMaxCount(50);
//设置曲线平滑
series.Smooth = true;
option.XAxis.AxisLabel.DecimalCount = 1;
option.XAxis.AxisLabel.AutoFormat = false;
option.YAxis.AxisLabel.DecimalCount = 1;
option.YAxis.AxisLabel.AutoFormat = false;
//坐标轴显示小数位数
option.XAxis.AxisLabel.DecimalPlaces = 1;
option.YAxis.AxisLabel.DecimalPlaces = 1;
LineChart.SetOption(option);
timer1.Start();
}
@ -127,10 +144,7 @@ namespace Sunny.UI.Demo
if (index > 50)
{
LineChart.Option.XAxis.Max = index + 20;
LineChart.Option.XAxis.MaxAuto = false;
LineChart.Option.XAxis.Min = index - 50;
LineChart.Option.XAxis.MinAuto = false;
LineChart.Option.XAxis.SetRange(index - 50, index + 20);
}
LineChart.Refresh();
@ -166,9 +180,7 @@ namespace Sunny.UI.Demo
option.XAxis.Name = "日期";
option.YAxis.Name = "数值";
option.XAxis.AxisLabel.DateTimeFormat = "yyyy-MM-dd HH:mm";
option.XAxis.AxisLabel.AutoFormat = false;
option.YAxis.AxisLabel.DecimalCount = 1;
option.YAxis.AxisLabel.AutoFormat = false;
option.YAxis.AxisLabel.DecimalPlaces = 1;
LineChart.SetOption(option);
}
@ -210,17 +222,11 @@ namespace Sunny.UI.Demo
series.Symbol = UILinePointSymbol.Star;
series.SymbolSize = 4;
series.SymbolLineWidth = 2;
series.Smooth = true;
option.XAxis.Name = "日期";
option.YAxis.Name = "数值";
option.Y2Axis.Name = "数值";
option.YAxis.AxisLabel.DecimalCount = 1;
option.YAxis.AxisLabel.AutoFormat = false;
option.Y2Axis.AxisLabel.DecimalCount = 1;
option.Y2Axis.AxisLabel.AutoFormat = false;
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = "上限", Value = 3.5 });
option.Y2AxisScaleLines.Add(new UIScaleLine() { Color = Color.Gold, Name = "下限", Value = 12, DashDot = true });

View File

@ -121,6 +121,6 @@
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
<value>66</value>
</metadata>
</root>

View File

@ -42,7 +42,7 @@
// PieChart
//
this.PieChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.PieChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.PieChart.Font = new System.Drawing.Font("宋体", 12F);
this.PieChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.PieChart.Location = new System.Drawing.Point(30, 55);
this.PieChart.MinimumSize = new System.Drawing.Size(1, 1);
@ -55,7 +55,7 @@
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
@ -69,7 +69,7 @@
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
@ -83,7 +83,7 @@
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
@ -97,7 +97,7 @@
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
@ -112,7 +112,7 @@
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";

View File

@ -71,6 +71,9 @@ namespace Sunny.UI.Demo
option.Series.Clear();
option.Series.Add(series);
//显示数据小数位数
option.DecimalPlaces = 1;
//设置Option
PieChart.SetOption(option);

View File

@ -47,35 +47,39 @@ namespace Sunny.UI.Demo
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.退ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.uiLine2 = new Sunny.UI.UILine();
this.uiGifAvatar1 = new Sunny.UI.UIGifAvatar();
this.uiContextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// uiLabel5
//
this.uiLabel5.AutoSize = true;
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel5.Location = new System.Drawing.Point(181, 257);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(42, 21);
this.uiLabel5.TabIndex = 36;
this.uiLabel5.Text = "文字";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel6
//
this.uiLabel6.AutoSize = true;
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel6.Location = new System.Drawing.Point(109, 257);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(42, 21);
this.uiLabel6.TabIndex = 35;
this.uiLabel6.Text = "图标";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiAvatar5
//
this.uiAvatar5.AvatarSize = 55;
this.uiAvatar5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar5.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar5.Icon = Sunny.UI.UIAvatar.UIIcon.Text;
this.uiAvatar5.Location = new System.Drawing.Point(174, 190);
this.uiAvatar5.MinimumSize = new System.Drawing.Size(1, 1);
@ -84,11 +88,12 @@ namespace Sunny.UI.Demo
this.uiAvatar5.Size = new System.Drawing.Size(60, 60);
this.uiAvatar5.TabIndex = 34;
this.uiAvatar5.Text = "Avatar";
this.uiAvatar5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiAvatar6
//
this.uiAvatar6.AvatarSize = 55;
this.uiAvatar6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar6.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar6.Location = new System.Drawing.Point(102, 190);
this.uiAvatar6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar6.Name = "uiAvatar6";
@ -97,10 +102,11 @@ namespace Sunny.UI.Demo
this.uiAvatar6.SymbolSize = 48;
this.uiAvatar6.TabIndex = 33;
this.uiAvatar6.Text = "uiAvatar6";
this.uiAvatar6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -108,55 +114,60 @@ namespace Sunny.UI.Demo
this.uiLine1.TabIndex = 32;
this.uiLine1.Text = "UIAvatar";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel4
//
this.uiLabel4.AutoSize = true;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel4.Location = new System.Drawing.Point(355, 152);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(74, 21);
this.uiLabel4.TabIndex = 31;
this.uiLabel4.Text = "左键菜单";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.Location = new System.Drawing.Point(183, 152);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(42, 21);
this.uiLabel3.TabIndex = 30;
this.uiLabel3.Text = "文字";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel2
//
this.uiLabel2.AutoSize = true;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.Location = new System.Drawing.Point(111, 152);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(42, 21);
this.uiLabel2.TabIndex = 29;
this.uiLabel2.Text = "图标";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.Location = new System.Drawing.Point(39, 152);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(42, 21);
this.uiLabel1.TabIndex = 28;
this.uiLabel1.Text = "图片";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiAvatar4
//
this.uiAvatar4.AvatarSize = 55;
this.uiAvatar4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar4.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar4.Location = new System.Drawing.Point(362, 85);
this.uiAvatar4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar4.Name = "uiAvatar4";
@ -164,12 +175,13 @@ namespace Sunny.UI.Demo
this.uiAvatar4.Symbol = 61715;
this.uiAvatar4.TabIndex = 27;
this.uiAvatar4.Text = "uiAvatar4";
this.uiAvatar4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiAvatar4.Click += new System.EventHandler(this.uiAvatar4_Click);
//
// uiAvatar3
//
this.uiAvatar3.AvatarSize = 55;
this.uiAvatar3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar3.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar3.Icon = Sunny.UI.UIAvatar.UIIcon.Text;
this.uiAvatar3.Location = new System.Drawing.Point(174, 85);
this.uiAvatar3.MinimumSize = new System.Drawing.Size(1, 1);
@ -177,24 +189,26 @@ namespace Sunny.UI.Demo
this.uiAvatar3.Size = new System.Drawing.Size(60, 60);
this.uiAvatar3.TabIndex = 26;
this.uiAvatar3.Text = "Avatar";
this.uiAvatar3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiAvatar2
//
this.uiAvatar2.AvatarSize = 55;
this.uiAvatar2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar2.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar2.Icon = Sunny.UI.UIAvatar.UIIcon.Image;
this.uiAvatar2.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyUISmall;
this.uiAvatar2.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyUI72;
this.uiAvatar2.Location = new System.Drawing.Point(30, 85);
this.uiAvatar2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar2.Name = "uiAvatar2";
this.uiAvatar2.Size = new System.Drawing.Size(60, 60);
this.uiAvatar2.TabIndex = 25;
this.uiAvatar2.Text = "uiAvatar2";
this.uiAvatar2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiAvatar1
//
this.uiAvatar1.AvatarSize = 55;
this.uiAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiAvatar1.Location = new System.Drawing.Point(102, 85);
this.uiAvatar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar1.Name = "uiAvatar1";
@ -202,10 +216,12 @@ namespace Sunny.UI.Demo
this.uiAvatar1.SymbolSize = 48;
this.uiAvatar1.TabIndex = 24;
this.uiAvatar1.Text = "uiAvatar1";
this.uiAvatar1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiContextMenuStrip1
//
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiContextMenuStrip1.Font = new System.Drawing.Font("宋体", 12F);
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
@ -213,36 +229,62 @@ namespace Sunny.UI.Demo
this.退ToolStripMenuItem});
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 88);
this.uiContextMenuStrip1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// 设置ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
this.ToolStripMenuItem.Text = "设置";
//
// 更改密码ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "更改密码ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
this.ToolStripMenuItem.Text = "密码";
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6);
this.toolStripMenuItem1.Size = new System.Drawing.Size(109, 6);
//
// 退出ToolStripMenuItem
//
this.退ToolStripMenuItem.Name = "退出ToolStripMenuItem";
this.退ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
this.退ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
this.退ToolStripMenuItem.Text = "退出";
//
// FAvatar1
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 307);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(670, 20);
this.uiLine2.TabIndex = 37;
this.uiLine2.Text = "UIGifAvatar";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiGifAvatar1
//
this.uiGifAvatar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiGifAvatar1.Image = global::Sunny.UI.Demo.Properties.Resources.Tom;
this.uiGifAvatar1.Location = new System.Drawing.Point(30, 340);
this.uiGifAvatar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiGifAvatar1.Name = "uiGifAvatar1";
this.uiGifAvatar1.Size = new System.Drawing.Size(128, 128);
this.uiGifAvatar1.TabIndex = 38;
this.uiGifAvatar1.Text = "uiGifAvatar1";
this.uiGifAvatar1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// FAvatar
//
this.AllowShowTitle = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(800, 489);
this.Controls.Add(this.uiGifAvatar1);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.uiAvatar5);
@ -256,11 +298,12 @@ namespace Sunny.UI.Demo
this.Controls.Add(this.uiAvatar3);
this.Controls.Add(this.uiAvatar2);
this.Controls.Add(this.uiAvatar1);
this.Name = "FAvatar1";
this.Name = "FAvatar";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61447;
this.Text = "Avatar";
this.ReceiveParams += new Sunny.UI.OnReceiveParams(this.FAvatar_ReceiveParams);
this.uiContextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@ -287,5 +330,7 @@ namespace Sunny.UI.Demo
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem 退ToolStripMenuItem;
private UILine uiLine2;
private UIGifAvatar uiGifAvatar1;
}
}

View File

@ -7,21 +7,37 @@
InitializeComponent();
}
public override void Init()
{
base.Init();
uiGifAvatar1.Active = true;
}
public override void Final()
{
base.Final();
uiGifAvatar1.Active = false;
}
private void uiAvatar4_Click(object sender, System.EventArgs e)
{
uiContextMenuStrip1.Show(uiAvatar4, 0, uiAvatar4.Height);
}
public override bool SetParam(int fromPageIndex, params object[] objects)
private void FAvatar_ReceiveParams(object sender, UIPageParamsArgs e)
{
if (fromPageIndex == 1002 && objects.Length == 1)
if (e.SourcePage != null && e.SourcePage.PageIndex == 1002)
{
uiLabel1.Text = objects[0].ToString();
return true;
//来自页面1002的传值
uiLabel1.Text = e.Value.ToString();
e.Handled = true;
}
else
if (e.SourcePage == null)
{
return false;
//来自页面框架的传值
uiLabel4.Text = e.Value.ToString();
e.Handled = true;
}
}
}

View File

@ -120,4 +120,7 @@
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>44</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@ namespace Sunny.UI.Demo
}
/// <summary>
/// 放在 [窗体Load、重载OnLoad、重载Init] 的内容每次页面切换,进入页面都会执行。
/// 放在 [窗体Load (NeedReload = true)] 的内容每次页面切换,进入页面都会执行。
/// 这三个选一个用就行了。
/// </summary>
/// <param name="sender"></param>
@ -25,14 +25,14 @@ namespace Sunny.UI.Demo
}
//放在 [窗体Load、重载OnLoad、重载Init] 的内容每次页面切换,进入页面都会执行。
//放在 [窗体Load (NeedReload = true)] 的内容每次页面切换,进入页面都会执行。
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Console.WriteLine("3. FButton_OnLoad");
}
//放在 [窗体Load、重载OnLoad、重载Init] 的内容每次页面切换,进入页面都会执行。
//放在 [重载Init] 的内容每次页面切换,进入页面都会执行。
public override void Init()
{
base.Init();
@ -49,11 +49,6 @@ namespace Sunny.UI.Demo
Console.WriteLine("4. FButton_Final");
}
private void uiButton10_Click(object sender, EventArgs e)
{
uiButton10.Selected = !uiButton10.Selected;
}
private void uiSwitch1_ValueChanged(object sender, bool value)
{
Console.WriteLine(uiSwitch1.Active);
@ -68,7 +63,18 @@ namespace Sunny.UI.Demo
{
//传值给页面1001
//设置FAvatar的Label文字
Frame.SetParamToPage(1001, PageIndex, "你好");
SendParamToPage(1001, "你好");
}
private void uiButton2_Click(object sender, EventArgs e)
{
//传值给框架
SendParamToFrame("传值给框架");
}
private void uiSwitch1_ActiveChanging(object sender, System.ComponentModel.CancelEventArgs e)
{
e.Cancel = !this.ShowAskDialog("您确认要改变当前开关的状态吗?");
}
}
}

View File

@ -120,4 +120,7 @@
<metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>133, 17</value>
</metadata>
</root>

View File

@ -47,67 +47,73 @@ namespace Sunny.UI.Demo
// uiButton5
//
this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton5.Location = new System.Drawing.Point(454, 345);
this.uiButton5.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton5.Location = new System.Drawing.Point(454, 366);
this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton5.Name = "uiButton5";
this.uiButton5.Size = new System.Drawing.Size(100, 35);
this.uiButton5.TabIndex = 57;
this.uiButton5.Text = "清空";
this.uiButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
//
// uiButton4
//
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton4.Location = new System.Drawing.Point(348, 345);
this.uiButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton4.Location = new System.Drawing.Point(348, 366);
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton4.Name = "uiButton4";
this.uiButton4.Size = new System.Drawing.Size(100, 35);
this.uiButton4.TabIndex = 56;
this.uiButton4.Text = "选择";
this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
//
// uiButton3
//
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton3.Location = new System.Drawing.Point(242, 345);
this.uiButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton3.Location = new System.Drawing.Point(242, 366);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.Size = new System.Drawing.Size(100, 35);
this.uiButton3.TabIndex = 55;
this.uiButton3.Text = "反选";
this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
//
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton2.Location = new System.Drawing.Point(136, 345);
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton2.Location = new System.Drawing.Point(136, 366);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.Size = new System.Drawing.Size(100, 35);
this.uiButton2.TabIndex = 54;
this.uiButton2.Text = "全不选";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
//
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 345);
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 366);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(100, 35);
this.uiButton1.TabIndex = 53;
this.uiButton1.Text = "全选";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// uiCheckBoxGroup1
//
this.uiCheckBoxGroup1.ColumnCount = 2;
this.uiCheckBoxGroup1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBoxGroup1.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBoxGroup1.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
this.uiCheckBoxGroup1.Items.AddRange(new object[] {
"0",
"1",
@ -126,16 +132,17 @@ namespace Sunny.UI.Demo
this.uiCheckBoxGroup1.Name = "uiCheckBoxGroup1";
this.uiCheckBoxGroup1.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
this.uiCheckBoxGroup1.SelectedIndexes = ((System.Collections.Generic.List<int>)(resources.GetObject("uiCheckBoxGroup1.SelectedIndexes")));
this.uiCheckBoxGroup1.Size = new System.Drawing.Size(670, 211);
this.uiCheckBoxGroup1.Size = new System.Drawing.Size(670, 226);
this.uiCheckBoxGroup1.TabIndex = 52;
this.uiCheckBoxGroup1.Text = "UICheckBoxGroup";
this.uiCheckBoxGroup1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiCheckBoxGroup1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiCheckBoxGroup1.ValueChanged += new Sunny.UI.UICheckBoxGroup.OnValueChanged(this.uiCheckBoxGroup1_ValueChanged);
//
// uiCheckBox2
//
this.uiCheckBox2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiCheckBox2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBox2.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiCheckBox2.Location = new System.Drawing.Point(192, 83);
this.uiCheckBox2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiCheckBox2.Name = "uiCheckBox2";
@ -148,7 +155,8 @@ namespace Sunny.UI.Demo
//
this.uiCheckBox4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiCheckBox4.Enabled = false;
this.uiCheckBox4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBox4.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiCheckBox4.Location = new System.Drawing.Point(516, 81);
this.uiCheckBox4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiCheckBox4.Name = "uiCheckBox4";
@ -162,7 +170,8 @@ namespace Sunny.UI.Demo
this.uiCheckBox3.Checked = true;
this.uiCheckBox3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiCheckBox3.Enabled = false;
this.uiCheckBox3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBox3.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiCheckBox3.Location = new System.Drawing.Point(354, 81);
this.uiCheckBox3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiCheckBox3.Name = "uiCheckBox3";
@ -173,7 +182,9 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -186,7 +197,8 @@ namespace Sunny.UI.Demo
//
this.uiCheckBox1.Checked = true;
this.uiCheckBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiCheckBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiCheckBox1.Location = new System.Drawing.Point(30, 83);
this.uiCheckBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiCheckBox1.Name = "uiCheckBox1";
@ -199,13 +211,14 @@ namespace Sunny.UI.Demo
// uiButton6
//
this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton6.Location = new System.Drawing.Point(560, 345);
this.uiButton6.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton6.Location = new System.Drawing.Point(560, 366);
this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton6.Name = "uiButton6";
this.uiButton6.Size = new System.Drawing.Size(100, 35);
this.uiButton6.TabIndex = 58;
this.uiButton6.Text = "单选";
this.uiButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click);
//
// FCheckBox

View File

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Sunny.UI.Demo
{
@ -37,17 +36,12 @@ namespace Sunny.UI.Demo
uiCheckBoxGroup1.Clear();
}
private void uiCheckBoxGroup1_ValueChanged(object sender, int index, string text, bool isChecked)
private void uiCheckBoxGroup1_ValueChanged(object sender, CheckBoxGroupEventArgs e)
{
StringBuilder sb = new StringBuilder();
sb.Append("SelectedIndexes: ");
foreach (var selectedIndex in uiCheckBoxGroup1.SelectedIndexes)
{
sb.Append(selectedIndex);
sb.Append(", ");
}
Console.WriteLine("SelectedIndex: " + index + ", SelectedText: " + text + "\n" + sb.ToString());
if (e.Index >= 0)
Console.WriteLine("SelectedIndex: " + e.Index + ", SelectedText: " + e.Text + ", Checked: " + e.Checked + "\n" + "SelectedIndexes: " + string.Join(", ", e.SelectedIndexes));
else
Console.WriteLine("SelectedIndexes: " + string.Join(", ", e.SelectedIndexes));
}
private void uiCheckBox1_CheckedChanged(object sender, EventArgs e)

File diff suppressed because it is too large Load Diff

View File

@ -12,25 +12,18 @@ namespace Sunny.UI.Demo
InitializeComponent();
IList<Info> infoList = new List<Info>();
Info info1 = new Info() { Id = "1", Name = "张三" };
Info info2 = new Info() { Id = "2", Name = "李四" };
Info info3 = new Info() { Id = "3", Name = "王五" };
infoList.Add(info1);
infoList.Add(info2);
infoList.Add(info3);
for (int i = 0; i < 120; i++)
{
infoList.Add(new Info() { Id = i.ToString(), Name = "节点" + i });
}
uiComboBox2.ValueMember = "Id";
uiComboBox2.DisplayMember = "Name";
uiComboBox2.DataSource = infoList;
uiComboDataGridView1.DataGridView.Init();
uiComboDataGridView1.ItemSize = new System.Drawing.Size(360, 240);
uiComboDataGridView1.DataGridView.AddColumn("Column1", "Column1");
uiComboDataGridView1.DataGridView.AddColumn("Column2", "Column2");
uiComboDataGridView1.DataGridView.AddColumn("Column3", "Column3");
uiComboDataGridView1.DataGridView.ReadOnly = true;
uiComboDataGridView1.SelectIndexChange += UiComboDataGridView1_SelectIndexChange;
uiComboBox3.ValueMember = "Id";
uiComboBox3.DisplayMember = "Name";
uiComboBox3.DataSource = infoList;
dt.Columns.Add("Column1", typeof(string));
dt.Columns.Add("Column2", typeof(string));
@ -38,14 +31,33 @@ namespace Sunny.UI.Demo
for (int i = 0; i < 100; i++)
{
dt.Rows.Add("A" + i.ToString("D2"),
"B" + (i + 1).ToString("D2"),
"C" + (i + 2).ToString("D2"));
dt.Rows.Add("A" + i.ToString("D2"), "B" + (i + 1).ToString("D2"), "C" + (i + 2).ToString("D2"));
}
uiComboDataGridView1.ShowFilter = true;
uiComboDataGridView1.DataGridView.DataSource = dt;
uiComboDataGridView1.FilterColomnName = "Column1"; //不设置则全部列过滤
uiComboDataGridView1.DataGridView.Init();
uiComboDataGridView1.ItemSize = new System.Drawing.Size(360, 240);
uiComboDataGridView1.DataGridView.AddColumn("数据列1", "Column1");
uiComboDataGridView1.DataGridView.AddColumn("数据列2", "Column2");
uiComboDataGridView1.DataGridView.AddColumn("数据列3", "Column3");
uiComboDataGridView1.DataGridView.ReadOnly = true;
uiComboDataGridView1.DataGridView.DataSource = dt;//用DataTable做数据源过滤用List不行
uiComboDataGridView1.FilterColumnName = "Column1;Column3"; //不设置则全部列过滤,可加分号过滤多列
uiComboDataGridView2.DataGridView.Init();
uiComboDataGridView2.DataGridView.MultiSelect = true;//设置可多选
uiComboDataGridView2.ItemSize = new System.Drawing.Size(360, 240);
uiComboDataGridView2.DataGridView.AddColumn("数据列1", "Column1");
uiComboDataGridView2.DataGridView.AddColumn("数据列2", "Column2");
uiComboDataGridView2.DataGridView.AddColumn("数据列3", "Column3");
uiComboDataGridView2.DataGridView.ReadOnly = true;
uiComboDataGridView2.DataGridView.DataSource = dt;
uiComboDataGridView2.FilterColumnName = "Column1"; //不设置则全部列过滤
uiComboBox1.SetTipsText(uiToolTip1, "Hello World.");
uiDatePicker4.Value = uiDatePicker1.Value = uiDatePicker2.Value = uiDatePicker3.Value = DateTime.Now.Date;
uiDatetimePicker2.Value = uiDatetimePicker1.Value = DateTime.Now;
uiTimePicker1.Value = uiTimePicker2.Value = DateTime.Now;
}
private void UiComboDataGridView1_SelectIndexChange(object sender, int index)
@ -59,15 +71,11 @@ namespace Sunny.UI.Demo
{
public string Id { get; set; }
public string Name { get; set; }
}
private void uiComboBox1_DropDown(object sender, System.EventArgs e)
{
uiComboBox1.Items.Clear();
uiComboBox1.Items.Add("100");
uiComboBox1.Items.Add("101");
uiComboBox1.Items.Add("102");
uiComboBox1.Items.Add("103");
public override string ToString()
{
return "ID: " + Id + ", Name: " + Name;
}
}
private void uiDatePicker1_ValueChanged(object sender, System.DateTime value)
@ -106,27 +114,60 @@ namespace Sunny.UI.Demo
}
}
private void uiComboDataGridView1_ValueChanged(object sender, object value)
{
if (value is DataGridViewRow row)
{
uiComboDataGridView1.Text = row.Cells["Column1"].Value.ToString();
}
else
{
uiComboDataGridView1.Text = "";
}
}
private void uiComboDataGridView1_SelectIndexChange_1(object sender, int index)
{
uiComboDataGridView1.Text = dt.Rows[index]["Column1"].ToString();
}
private void uiDatePicker3_ValueChanged(object sender, DateTime value)
{
ShowInfoTip(uiDatePicker3.Value.DateString());
Console.WriteLine(uiDatePicker3.Value);
}
private void uiComboBox3_SelectedValueChanged(object sender, EventArgs e)
{
uiComboBox3.SelectedValue.WriteConsole();
uiComboBox3.SelectedItem.WriteConsole();
uiComboBox3.Text.WriteConsole();
}
private void uiComboBox4_SelectedValueChanged(object sender, EventArgs e)
{
uiComboBox4.SelectedValue.WriteConsole();
uiComboBox4.SelectedItem.WriteConsole();
uiComboBox4.Text.WriteConsole();
}
private void uiComboDataGridView1_ValueChanged(object sender, object value)
{
uiComboDataGridView1.Text = "";
if (value != null && value is DataGridViewRow)
{
DataGridViewRow row = (DataGridViewRow)value;
uiComboDataGridView1.Text = row.Cells["数据列1"].Value.ToString();//通过ColumnName显示值
}
}
private void uiComboDataGridView2_ValueChanged(object sender, object value)
{
uiComboDataGridView2.Text = "";
if (value != null && value is DataGridViewSelectedRowCollection)
{
DataGridViewSelectedRowCollection collection = (DataGridViewSelectedRowCollection)value;
foreach (object item in collection)
{
DataGridViewRow row = (DataGridViewRow)item;
uiComboDataGridView2.Text += row.Cells[0].Value.ToString();//通过索引显示值
uiComboDataGridView2.Text += "; ";
}
}
}
private void uiComboBox1_TipsClick(object sender, EventArgs e)
{
this.ShowInfoTip("Hello world.");
}
private void FCombobox_Shown(object sender, EventArgs e)
{
//日期选择框文本设置为空
uiDatePicker5.CanEmpty = true;
uiDatePicker5.Text = "";
}
}
}

View File

@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@ -37,7 +37,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -49,7 +49,7 @@ namespace Sunny.UI.Demo
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton2.Location = new System.Drawing.Point(294, 92);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
@ -62,7 +62,7 @@ namespace Sunny.UI.Demo
//
this.uiButton1.ContextMenuStrip = this.uiContextMenuStrip1;
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 92);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
@ -72,7 +72,7 @@ namespace Sunny.UI.Demo
//
// uiContextMenuStrip1
//
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiContextMenuStrip1.Font = new System.Drawing.Font("宋体", 12F);
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
this.uiContextMenuStrip1.Size = new System.Drawing.Size(61, 4);
//

View File

@ -12,7 +12,7 @@ namespace Sunny.UI.Demo
var styles = UIStyles.PopularStyles();
foreach (UIStyle style in styles)
{
ToolStripMenuItem item = new ToolStripMenuItem(style.DisplayText()) { Tag = style };
ToolStripMenuItem item = new ToolStripMenuItem(style.Description()) { Tag = style };
item.Click += Item_Click;
uiContextMenuStrip1.Items.Add(item);
}
@ -21,8 +21,9 @@ namespace Sunny.UI.Demo
private void Item_Click(object sender, EventArgs e)
{
ToolStripMenuItem item = (ToolStripMenuItem)sender;
if (item.Tag != null && item.Tag is UIStyle style)
if (item.Tag != null && item.Tag is UIStyle)
{
UIStyle style = (UIStyle)item.Tag;
this.Style = style;
}
}

View File

@ -34,25 +34,43 @@ namespace Sunny.UI.Demo
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
this.uiDataGridViewFooter1 = new Sunny.UI.UIDataGridViewFooter();
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
this.uiPagination1 = new Sunny.UI.UIPagination();
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).BeginInit();
this.SuspendLayout();
//
// uiDataGridViewFooter1
//
this.uiDataGridViewFooter1.DataGridView = this.uiDataGridView1;
this.uiDataGridViewFooter1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.uiDataGridViewFooter1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridViewFooter1.Location = new System.Drawing.Point(0, 386);
this.uiDataGridViewFooter1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiDataGridViewFooter1.Name = "uiDataGridViewFooter1";
this.uiDataGridViewFooter1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiDataGridViewFooter1.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.uiDataGridViewFooter1.Size = new System.Drawing.Size(800, 29);
this.uiDataGridViewFooter1.TabIndex = 5;
this.uiDataGridViewFooter1.Text = "uiDataGridViewFooter1";
//
// uiDataGridView1
//
this.uiDataGridView1.AllowUserToAddRows = false;
this.uiDataGridView1.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.uiDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.White;
this.uiDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F);
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
@ -60,61 +78,52 @@ namespace Sunny.UI.Demo
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.uiDataGridView1.ColumnHeadersHeight = 32;
this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3,
this.Column4});
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F);
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
this.uiDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiDataGridView1.EnableHeadersVisualStyles = false;
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiDataGridView1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
this.uiDataGridView1.Location = new System.Drawing.Point(0, 35);
this.uiDataGridView1.MultiSelect = false;
this.uiDataGridView1.Name = "uiDataGridView1";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F);
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.uiDataGridView1.RowHeadersVisible = false;
this.uiDataGridView1.RowHeight = 29;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.uiDataGridView1.RowTemplate.Height = 29;
this.uiDataGridView1.RowTemplate.Height = 23;
this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.uiDataGridView1.ShowGridLine = true;
this.uiDataGridView1.ShowRect = false;
this.uiDataGridView1.Size = new System.Drawing.Size(800, 351);
this.uiDataGridView1.TabIndex = 3;
//
// uiDataGridViewFooter1
//
this.uiDataGridViewFooter1.DataGridView = this.uiDataGridView1;
this.uiDataGridViewFooter1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.uiDataGridViewFooter1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridViewFooter1.Location = new System.Drawing.Point(0, 386);
this.uiDataGridViewFooter1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiDataGridViewFooter1.Name = "uiDataGridViewFooter1";
this.uiDataGridViewFooter1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiDataGridViewFooter1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiDataGridViewFooter1.Size = new System.Drawing.Size(800, 29);
this.uiDataGridViewFooter1.TabIndex = 5;
this.uiDataGridViewFooter1.Text = "uiDataGridViewFooter1";
this.uiDataGridView1.TabIndex = 6;
//
// uiPagination1
//
this.uiPagination1.ActivePage = 20;
this.uiPagination1.ButtonFillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
this.uiPagination1.CausesValidation = false;
this.uiPagination1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.uiPagination1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPagination1.Font = new System.Drawing.Font("宋体", 12F);
this.uiPagination1.Location = new System.Drawing.Point(0, 415);
this.uiPagination1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPagination1.MinimumSize = new System.Drawing.Size(1, 1);
@ -123,6 +132,7 @@ namespace Sunny.UI.Demo
this.uiPagination1.PageSize = 50;
this.uiPagination1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPagination1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiPagination1.ShowText = false;
this.uiPagination1.Size = new System.Drawing.Size(800, 35);
this.uiPagination1.TabIndex = 4;
this.uiPagination1.Text = "uiDataGridPage1";
@ -130,6 +140,34 @@ namespace Sunny.UI.Demo
this.uiPagination1.TotalCount = 40000;
this.uiPagination1.PageChanged += new Sunny.UI.UIPagination.OnPageChangeEventHandler(this.uiPagination1_PageChanged);
//
// Column1
//
this.Column1.DataPropertyName = "Column1";
this.Column1.HeaderText = "数据列1";
this.Column1.Name = "Column1";
this.Column1.Width = 300;
//
// Column2
//
this.Column2.DataPropertyName = "Column2";
this.Column2.HeaderText = "数据列2";
this.Column2.Name = "Column2";
this.Column2.Width = 200;
//
// Column3
//
this.Column3.DataPropertyName = "Column3";
this.Column3.HeaderText = "数据列3";
this.Column3.Name = "Column3";
this.Column3.Width = 200;
//
// Column4
//
this.Column4.DataPropertyName = "Column4";
this.Column4.HeaderText = "数据列4";
this.Column4.Name = "Column4";
this.Column4.Width = 200;
//
// FDataGridView
//
this.AllowShowTitle = true;
@ -149,9 +187,13 @@ namespace Sunny.UI.Demo
}
#endregion
private UIDataGridView uiDataGridView1;
private UIDataGridViewFooter uiDataGridViewFooter1;
private UIPagination uiPagination1;
private System.ComponentModel.BackgroundWorker backgroundWorker1;
private UIDataGridView uiDataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
}
}

View File

@ -1,21 +1,17 @@
using System.Collections.Generic;
using System.Data;
namespace Sunny.UI.Demo
{
public partial class FDataGridView : UIPage
{
List<Data> datas = new List<Data>();
List<Data> dataList = new List<Data>();
DataTable dataTable = new DataTable("DataTable");
public FDataGridView()
{
InitializeComponent();
uiDataGridView1.AddColumn("Column1", "Column1");
uiDataGridView1.AddColumn("Column2", "Column2");
uiDataGridView1.AddColumn("Column3", "Column3");
uiDataGridView1.AddColumn("Column4", "Column4");
uiDataGridView1.ReadOnly = true;
for (int i = 0; i < 3610; i++)
{
Data data = new Data();
@ -23,14 +19,27 @@ namespace Sunny.UI.Demo
data.Column2 = i.Mod(2) == 0 ? "A" : "B";
data.Column3 = "编辑";
data.Column4 = i.Mod(4) == 0;
datas.Add(data);
dataList.Add(data);
}
dataTable.Columns.Add("Column1", typeof(string));
dataTable.Columns.Add("Column2", typeof(string));
dataTable.Columns.Add("Column3", typeof(string));
dataTable.Columns.Add("Column4", typeof(int));
uiDataGridView1.DataSource = dataTable;
//不自动生成列
uiDataGridView1.AutoGenerateColumns = false;
//设置分页控件总数
uiPagination1.TotalCount = datas.Count;
uiPagination1.TotalCount = dataList.Count;
//设置分页控件每页数量
uiPagination1.PageSize = 50;
uiPagination1.PageSize = 20;
uiDataGridView1.SelectIndexChange += uiDataGridView1_SelectIndexChange;
//设置统计绑定的表格
uiDataGridViewFooter1.DataGridView = uiDataGridView1;
}
public override void Init()
@ -65,22 +74,27 @@ namespace Sunny.UI.Demo
private void uiPagination1_PageChanged(object sender, object pagingSource, int pageIndex, int count)
{
//未连接数据库,通过模拟数据来实现
//一般通过ORM的分页去取数据来填充
//一般通过ORM的分页、或者SQL语句分页去取数据来填充dataTable
//pageIndex第几页和界面对应从1开始取数据可能要用pageIndex - 1
//count单页数据量也就是PageSize值
List<Data> data = new List<Data>();
for (int i = (pageIndex - 1) * count; i < (pageIndex - 1) * count + count; i++)
dataTable.Rows.Clear();
for (int i = (pageIndex - 1) * count; i < pageIndex * count; i++)
{
if (i >= datas.Count) continue;
data.Add(datas[i]);
if (i >= dataList.Count) break;
dataTable.Rows.Add(dataList[i].Column1, dataList[i].Column2, dataList[i].Column3, dataList[i].Column4);
}
uiDataGridView1.DataSource = data;
uiDataGridViewFooter1.Clear();
uiDataGridViewFooter1["Column1"] = "合计:";
uiDataGridViewFooter1["Column1"] = "合计:" + pageIndex;
uiDataGridViewFooter1["Column2"] = "Column2_" + pageIndex;
uiDataGridViewFooter1["Column3"] = "Column3_" + pageIndex;
uiDataGridViewFooter1["Column4"] = "Column4_" + pageIndex;
}
private void uiDataGridView1_SelectIndexChange(object sender, int index)
{
index.WriteConsole("SelectedIndex");
}
}
}

View File

@ -117,4 +117,19 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="backgroundWorker1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@ -33,29 +33,32 @@ namespace Sunny.UI.Demo
this.uiFlowLayoutPanel1 = new Sunny.UI.UIFlowLayoutPanel();
this.uiButton2 = new Sunny.UI.UIButton();
this.uiButton3 = new Sunny.UI.UIButton();
this.uiButton4 = new Sunny.UI.UIButton();
this.SuspendLayout();
//
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 462);
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 518);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(100, 35);
this.uiButton1.TabIndex = 11;
this.uiButton1.Text = "增加";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// uiFlowLayoutPanel1
//
this.uiFlowLayoutPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiFlowLayoutPanel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiFlowLayoutPanel1.Location = new System.Drawing.Point(30, 55);
this.uiFlowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiFlowLayoutPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiFlowLayoutPanel1.Name = "uiFlowLayoutPanel1";
this.uiFlowLayoutPanel1.Padding = new System.Windows.Forms.Padding(2);
this.uiFlowLayoutPanel1.Size = new System.Drawing.Size(354, 390);
this.uiFlowLayoutPanel1.ShowText = false;
this.uiFlowLayoutPanel1.Size = new System.Drawing.Size(746, 441);
this.uiFlowLayoutPanel1.TabIndex = 10;
this.uiFlowLayoutPanel1.Text = "`";
this.uiFlowLayoutPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@ -63,33 +66,49 @@ namespace Sunny.UI.Demo
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton2.Location = new System.Drawing.Point(284, 462);
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton2.Location = new System.Drawing.Point(408, 518);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.Size = new System.Drawing.Size(100, 35);
this.uiButton2.TabIndex = 12;
this.uiButton2.Text = "清除";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
//
// uiButton3
//
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.Enabled = false;
this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton3.Location = new System.Drawing.Point(157, 462);
this.uiButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton3.Location = new System.Drawing.Point(157, 518);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.Size = new System.Drawing.Size(100, 35);
this.uiButton3.TabIndex = 13;
this.uiButton3.Text = "移除";
this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
//
// uiButton4
//
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton4.Location = new System.Drawing.Point(284, 518);
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton4.Name = "uiButton4";
this.uiButton4.Size = new System.Drawing.Size(100, 35);
this.uiButton4.TabIndex = 14;
this.uiButton4.Text = "获取";
this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
//
// FFlowLayoutPanel
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 539);
this.ClientSize = new System.Drawing.Size(800, 576);
this.Controls.Add(this.uiButton4);
this.Controls.Add(this.uiButton3);
this.Controls.Add(this.uiButton2);
this.Controls.Add(this.uiButton1);
@ -109,5 +128,6 @@ namespace Sunny.UI.Demo
private UIFlowLayoutPanel uiFlowLayoutPanel1;
private UIButton uiButton2;
private UIButton uiButton3;
private UIButton uiButton4;
}
}

View File

@ -1,4 +1,7 @@
namespace Sunny.UI.Demo
using System;
using System.Windows.Forms;
namespace Sunny.UI.Demo
{
public partial class FFlowLayoutPanel : UIPage
{
@ -12,34 +15,40 @@
base.Init();
uiFlowLayoutPanel1.Clear();
index = 0;
for (int i = 0; i < 10; i++)
{
uiButton1.PerformClick();
uiButton1_Click(null, null);
}
}
private int index;
UIButton btn;
UIFlowItem btn;
private void uiButton1_Click(object sender, System.EventArgs e)
{
btn = new UIButton();
btn = new UIFlowItem();
btn.SetDPIScale();
btn.Text = "Button" + index++.ToString("D2");
//btn.Click += Btn_Click;
btn.Name = btn.Text;
btn.Click += Btn_Click;
//建议用封装的方法Add
uiFlowLayoutPanel1.Add(btn);
//也可以用原生方法Controls.Add不推荐
//uiFlowLayoutPanel1.Controls.Add(btn);
//或者Panel.Controls.Add
//uiFlowLayoutPanel1.Panel.Controls.Add(btn);
//不能用原生方法Controls.Add
//----uiFlowLayoutPanel1.Controls.Add(btn);----
uiButton3.Enabled = true;
this.Render();
}
private void Btn_Click(object sender, System.EventArgs e)
{
var button = (UIButton)sender;
ShowInfoTip(button.Text);
var button = (UIFlowItem)sender;
this.ShowInfoTip(button.Text);
}
private void uiButton2_Click(object sender, System.EventArgs e)
@ -49,6 +58,9 @@
//或者用
//uiFlowLayoutPanel1.Panel.Controls.Clear();
//不能用原生方法Controls.Clear
//----uiFlowLayoutPanel1.Controls.Clear();----
uiButton3.Enabled = false;
}
@ -61,10 +73,43 @@
//或者用
//uiFlowLayoutPanel1.Panel.Controls.Remove(btn);
//不能用原生方法Controls.Remove
//----uiFlowLayoutPanel1.Controls.Remove(btn);----
btn = null;
}
uiButton3.Enabled = false;
}
private void uiButton4_Click(object sender, System.EventArgs e)
{
//根据名称获取
var btn = uiFlowLayoutPanel1.Get("Button01");
//通过控件名称索引获取
btn = uiFlowLayoutPanel1["Button01"];
//通过名称和类型获取
var button = uiFlowLayoutPanel1.Get<UIFlowItem>("Button01");
//遍历,方法一
for (int i = 0; i < uiFlowLayoutPanel1.ControlCount; i++)
{
Console.WriteLine(uiFlowLayoutPanel1.Get(i).Name);
}
//遍历,方法二
foreach (Control item in uiFlowLayoutPanel1.AllControls)
{
Console.WriteLine(item.Name);
}
//遍历方法三与原生方法不同UIFlowLayoutPanel是组合控件从其Panel控件遍历
foreach (Control item in uiFlowLayoutPanel1.Panel.Controls)
{
Console.WriteLine(item.Name);
}
}
}
}

View File

@ -45,14 +45,18 @@ namespace Sunny.UI.Demo
this.uiHeaderButton9 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton8 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton1 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton13 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton14 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton15 = new Sunny.UI.UIHeaderButton();
this.uiHeaderButton16 = new Sunny.UI.UIHeaderButton();
this.uiLine3 = new Sunny.UI.UILine();
this.uiPanel2.SuspendLayout();
this.uiPanel1.SuspendLayout();
this.SuspendLayout();
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.IsScaled = false;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 198);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -63,8 +67,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.IsScaled = false;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -82,9 +85,8 @@ namespace Sunny.UI.Demo
this.uiPanel2.Controls.Add(this.uiHeaderButton3);
this.uiPanel2.Controls.Add(this.uiHeaderButton2);
this.uiPanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(40)))), ((int)(((byte)(43)))));
this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel2.ForeColor = System.Drawing.Color.Silver;
this.uiPanel2.IsScaled = false;
this.uiPanel2.Location = new System.Drawing.Point(30, 237);
this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
@ -104,12 +106,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton6.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton6.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton6.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton6.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton6.Image = global::Sunny.UI.Demo.Properties.Resources._7;
this.uiHeaderButton6.IsScaled = false;
this.uiHeaderButton6.Location = new System.Drawing.Point(600, 1);
this.uiHeaderButton6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton6.Name = "uiHeaderButton6";
@ -123,7 +124,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton6.Symbol = 0;
this.uiHeaderButton6.TabIndex = 5;
this.uiHeaderButton6.Text = "设置";
this.uiHeaderButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton7
//
@ -132,12 +133,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton7.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton7.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton7.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton7.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton7.Image = global::Sunny.UI.Demo.Properties.Resources._5;
this.uiHeaderButton7.IsScaled = false;
this.uiHeaderButton7.Location = new System.Drawing.Point(500, 1);
this.uiHeaderButton7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton7.Name = "uiHeaderButton7";
@ -151,7 +151,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton7.Symbol = 0;
this.uiHeaderButton7.TabIndex = 4;
this.uiHeaderButton7.Text = "朋友";
this.uiHeaderButton7.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton4
//
@ -160,12 +160,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton4.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton4.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton4.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton4.Image = global::Sunny.UI.Demo.Properties.Resources._4;
this.uiHeaderButton4.IsScaled = false;
this.uiHeaderButton4.Location = new System.Drawing.Point(400, 1);
this.uiHeaderButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton4.Name = "uiHeaderButton4";
@ -179,7 +178,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton4.Symbol = 0;
this.uiHeaderButton4.TabIndex = 3;
this.uiHeaderButton4.Text = "手机";
this.uiHeaderButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton5
//
@ -188,12 +187,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton5.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton5.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton5.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton5.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton5.Image = global::Sunny.UI.Demo.Properties.Resources._3;
this.uiHeaderButton5.IsScaled = false;
this.uiHeaderButton5.Location = new System.Drawing.Point(300, 1);
this.uiHeaderButton5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton5.Name = "uiHeaderButton5";
@ -207,7 +205,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton5.Symbol = 0;
this.uiHeaderButton5.TabIndex = 2;
this.uiHeaderButton5.Text = "邮件";
this.uiHeaderButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton3
//
@ -216,12 +214,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton3.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton3.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton3.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton3.Image = global::Sunny.UI.Demo.Properties.Resources._2;
this.uiHeaderButton3.IsScaled = false;
this.uiHeaderButton3.Location = new System.Drawing.Point(200, 1);
this.uiHeaderButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton3.Name = "uiHeaderButton3";
@ -235,7 +232,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton3.Symbol = 0;
this.uiHeaderButton3.TabIndex = 1;
this.uiHeaderButton3.Text = "消息";
this.uiHeaderButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton2
//
@ -244,12 +241,11 @@ namespace Sunny.UI.Demo
this.uiHeaderButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiHeaderButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.uiHeaderButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton2.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton2.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton2.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
this.uiHeaderButton2.Image = global::Sunny.UI.Demo.Properties.Resources._1;
this.uiHeaderButton2.IsScaled = false;
this.uiHeaderButton2.Location = new System.Drawing.Point(100, 1);
this.uiHeaderButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton2.Name = "uiHeaderButton2";
@ -263,7 +259,7 @@ namespace Sunny.UI.Demo
this.uiHeaderButton2.Symbol = 0;
this.uiHeaderButton2.TabIndex = 0;
this.uiHeaderButton2.Text = "主页";
this.uiHeaderButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiPanel1
//
@ -274,8 +270,7 @@ namespace Sunny.UI.Demo
this.uiPanel1.Controls.Add(this.uiHeaderButton8);
this.uiPanel1.Controls.Add(this.uiHeaderButton1);
this.uiPanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel1.IsScaled = false;
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel1.Location = new System.Drawing.Point(30, 92);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
@ -291,8 +286,7 @@ namespace Sunny.UI.Demo
//
this.uiHeaderButton12.CircleColor = System.Drawing.Color.Olive;
this.uiHeaderButton12.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton12.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton12.IsScaled = false;
this.uiHeaderButton12.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton12.Location = new System.Drawing.Point(600, 1);
this.uiHeaderButton12.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton12.Name = "uiHeaderButton12";
@ -303,18 +297,16 @@ namespace Sunny.UI.Demo
this.uiHeaderButton12.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton12.Style = Sunny.UI.UIStyle.Custom;
this.uiHeaderButton12.Symbol = 61459;
this.uiHeaderButton12.SymbolOffset = new System.Drawing.Point(1, 2);
this.uiHeaderButton12.SymbolSize = 41;
this.uiHeaderButton12.TabIndex = 5;
this.uiHeaderButton12.Text = "设置";
this.uiHeaderButton12.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton12.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton11
//
this.uiHeaderButton11.CircleColor = System.Drawing.Color.Purple;
this.uiHeaderButton11.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton11.IsScaled = false;
this.uiHeaderButton11.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton11.Location = new System.Drawing.Point(500, 1);
this.uiHeaderButton11.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton11.Name = "uiHeaderButton11";
@ -325,18 +317,16 @@ namespace Sunny.UI.Demo
this.uiHeaderButton11.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton11.Style = Sunny.UI.UIStyle.Custom;
this.uiHeaderButton11.Symbol = 61447;
this.uiHeaderButton11.SymbolOffset = new System.Drawing.Point(1, 0);
this.uiHeaderButton11.SymbolSize = 40;
this.uiHeaderButton11.TabIndex = 4;
this.uiHeaderButton11.Text = "朋友";
this.uiHeaderButton11.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton11.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton10
//
this.uiHeaderButton10.CircleColor = System.Drawing.Color.Teal;
this.uiHeaderButton10.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton10.IsScaled = false;
this.uiHeaderButton10.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton10.Location = new System.Drawing.Point(400, 1);
this.uiHeaderButton10.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton10.Name = "uiHeaderButton10";
@ -347,18 +337,16 @@ namespace Sunny.UI.Demo
this.uiHeaderButton10.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton10.Style = Sunny.UI.UIStyle.Custom;
this.uiHeaderButton10.Symbol = 62145;
this.uiHeaderButton10.SymbolOffset = new System.Drawing.Point(1, 2);
this.uiHeaderButton10.SymbolSize = 38;
this.uiHeaderButton10.TabIndex = 3;
this.uiHeaderButton10.Text = "手机";
this.uiHeaderButton10.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton10.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton9
//
this.uiHeaderButton9.CircleColor = System.Drawing.Color.DarkOrange;
this.uiHeaderButton9.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton9.IsScaled = false;
this.uiHeaderButton9.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton9.Location = new System.Drawing.Point(300, 1);
this.uiHeaderButton9.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton9.Name = "uiHeaderButton9";
@ -369,18 +357,16 @@ namespace Sunny.UI.Demo
this.uiHeaderButton9.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton9.Style = Sunny.UI.UIStyle.Custom;
this.uiHeaderButton9.Symbol = 61664;
this.uiHeaderButton9.SymbolOffset = new System.Drawing.Point(0, 1);
this.uiHeaderButton9.SymbolSize = 40;
this.uiHeaderButton9.TabIndex = 2;
this.uiHeaderButton9.Text = "邮件";
this.uiHeaderButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton9.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton8
//
this.uiHeaderButton8.CircleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.uiHeaderButton8.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton8.IsScaled = false;
this.uiHeaderButton8.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton8.Location = new System.Drawing.Point(200, 1);
this.uiHeaderButton8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton8.Name = "uiHeaderButton8";
@ -391,19 +377,17 @@ namespace Sunny.UI.Demo
this.uiHeaderButton8.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton8.Style = Sunny.UI.UIStyle.Custom;
this.uiHeaderButton8.Symbol = 62074;
this.uiHeaderButton8.SymbolOffset = new System.Drawing.Point(1, 0);
this.uiHeaderButton8.SymbolSize = 44;
this.uiHeaderButton8.TabIndex = 1;
this.uiHeaderButton8.Text = "消息";
this.uiHeaderButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton1
//
this.uiHeaderButton1.CircleColor = System.Drawing.Color.RoyalBlue;
this.uiHeaderButton1.CircleHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
this.uiHeaderButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHeaderButton1.IsScaled = false;
this.uiHeaderButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton1.Location = new System.Drawing.Point(100, 1);
this.uiHeaderButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton1.Name = "uiHeaderButton1";
@ -418,14 +402,112 @@ namespace Sunny.UI.Demo
this.uiHeaderButton1.Symbol = 61461;
this.uiHeaderButton1.TabIndex = 0;
this.uiHeaderButton1.Text = "主页";
this.uiHeaderButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton1.TipsText = "12";
//
// uiHeaderButton13
//
this.uiHeaderButton13.CircleColor = System.Drawing.Color.Teal;
this.uiHeaderButton13.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton13.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton13.Location = new System.Drawing.Point(460, 387);
this.uiHeaderButton13.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton13.Name = "uiHeaderButton13";
this.uiHeaderButton13.Padding = new System.Windows.Forms.Padding(6);
this.uiHeaderButton13.Radius = 0;
this.uiHeaderButton13.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiHeaderButton13.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiHeaderButton13.Size = new System.Drawing.Size(110, 88);
this.uiHeaderButton13.Symbol = 62145;
this.uiHeaderButton13.SymbolSize = 38;
this.uiHeaderButton13.TabIndex = 28;
this.uiHeaderButton13.Text = "手机";
this.uiHeaderButton13.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
this.uiHeaderButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton14
//
this.uiHeaderButton14.CircleColor = System.Drawing.Color.DarkOrange;
this.uiHeaderButton14.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton14.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton14.Location = new System.Drawing.Point(304, 387);
this.uiHeaderButton14.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton14.Name = "uiHeaderButton14";
this.uiHeaderButton14.Padding = new System.Windows.Forms.Padding(6);
this.uiHeaderButton14.Radius = 0;
this.uiHeaderButton14.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiHeaderButton14.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiHeaderButton14.Size = new System.Drawing.Size(110, 88);
this.uiHeaderButton14.Symbol = 61664;
this.uiHeaderButton14.SymbolSize = 40;
this.uiHeaderButton14.TabIndex = 27;
this.uiHeaderButton14.Text = "邮件";
this.uiHeaderButton14.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.uiHeaderButton14.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton15
//
this.uiHeaderButton15.CircleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.uiHeaderButton15.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton15.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton15.Location = new System.Drawing.Point(172, 387);
this.uiHeaderButton15.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton15.Name = "uiHeaderButton15";
this.uiHeaderButton15.Padding = new System.Windows.Forms.Padding(6);
this.uiHeaderButton15.Radius = 0;
this.uiHeaderButton15.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiHeaderButton15.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiHeaderButton15.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton15.Symbol = 62074;
this.uiHeaderButton15.SymbolSize = 44;
this.uiHeaderButton15.TabIndex = 26;
this.uiHeaderButton15.Text = "消息";
this.uiHeaderButton15.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
this.uiHeaderButton15.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiHeaderButton16
//
this.uiHeaderButton16.CircleColor = System.Drawing.Color.RoyalBlue;
this.uiHeaderButton16.CircleHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
this.uiHeaderButton16.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiHeaderButton16.Font = new System.Drawing.Font("宋体", 12F);
this.uiHeaderButton16.Location = new System.Drawing.Point(30, 387);
this.uiHeaderButton16.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHeaderButton16.Name = "uiHeaderButton16";
this.uiHeaderButton16.Padding = new System.Windows.Forms.Padding(6);
this.uiHeaderButton16.Radius = 0;
this.uiHeaderButton16.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiHeaderButton16.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiHeaderButton16.ShowCircleHoverColor = true;
this.uiHeaderButton16.ShowTips = true;
this.uiHeaderButton16.Size = new System.Drawing.Size(100, 88);
this.uiHeaderButton16.Symbol = 61461;
this.uiHeaderButton16.TabIndex = 25;
this.uiHeaderButton16.Text = "主页";
this.uiHeaderButton16.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiHeaderButton16.TipsText = "12";
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.Location = new System.Drawing.Point(30, 350);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
this.uiLine3.Size = new System.Drawing.Size(716, 20);
this.uiLine3.TabIndex = 29;
this.uiLine3.Text = "UIHeaderButton 图片与文字位置";
this.uiLine3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// FHeaderButton
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(800, 574);
this.Controls.Add(this.uiLine3);
this.Controls.Add(this.uiHeaderButton13);
this.Controls.Add(this.uiHeaderButton14);
this.Controls.Add(this.uiHeaderButton15);
this.Controls.Add(this.uiHeaderButton16);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiPanel2);
@ -459,5 +541,10 @@ namespace Sunny.UI.Demo
private UIHeaderButton uiHeaderButton9;
private UIHeaderButton uiHeaderButton8;
private UIHeaderButton uiHeaderButton1;
private UIHeaderButton uiHeaderButton13;
private UIHeaderButton uiHeaderButton14;
private UIHeaderButton uiHeaderButton15;
private UIHeaderButton uiHeaderButton16;
private UILine uiLine3;
}
}

View File

@ -45,7 +45,6 @@ namespace Sunny.UI.Demo
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiLabel4 = new Sunny.UI.UILabel();
this.uiLine5 = new Sunny.UI.UILine();
this.label1 = new System.Windows.Forms.Label();
this.uiSmoothLabel1 = new Sunny.UI.UISmoothLabel();
this.uiSmoothLabel2 = new Sunny.UI.UISmoothLabel();
this.uiLine6 = new Sunny.UI.UILine();
@ -54,7 +53,7 @@ namespace Sunny.UI.Demo
// uiMarkLabel4
//
this.uiMarkLabel4.AutoSize = true;
this.uiMarkLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiMarkLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiMarkLabel4.Location = new System.Drawing.Point(508, 242);
this.uiMarkLabel4.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Top;
this.uiMarkLabel4.Name = "uiMarkLabel4";
@ -67,7 +66,7 @@ namespace Sunny.UI.Demo
// uiMarkLabel3
//
this.uiMarkLabel3.AutoSize = true;
this.uiMarkLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiMarkLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiMarkLabel3.Location = new System.Drawing.Point(199, 245);
this.uiMarkLabel3.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Right;
this.uiMarkLabel3.Name = "uiMarkLabel3";
@ -80,7 +79,7 @@ namespace Sunny.UI.Demo
// uiMarkLabel2
//
this.uiMarkLabel2.AutoSize = true;
this.uiMarkLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiMarkLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiMarkLabel2.Location = new System.Drawing.Point(356, 242);
this.uiMarkLabel2.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Bottom;
this.uiMarkLabel2.Name = "uiMarkLabel2";
@ -92,8 +91,7 @@ namespace Sunny.UI.Demo
//
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine4.Location = new System.Drawing.Point(30, 208);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
@ -105,7 +103,7 @@ namespace Sunny.UI.Demo
// uiMarkLabel1
//
this.uiMarkLabel1.AutoSize = true;
this.uiMarkLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiMarkLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiMarkLabel1.Location = new System.Drawing.Point(42, 245);
this.uiMarkLabel1.Name = "uiMarkLabel1";
this.uiMarkLabel1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
@ -116,11 +114,10 @@ namespace Sunny.UI.Demo
//
// uiSymbolLabel2
//
this.uiSymbolLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolLabel2.Location = new System.Drawing.Point(139, 169);
this.uiSymbolLabel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel2.Name = "uiSymbolLabel2";
this.uiSymbolLabel2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolLabel2.Size = new System.Drawing.Size(91, 24);
this.uiSymbolLabel2.Symbol = 61453;
this.uiSymbolLabel2.TabIndex = 40;
@ -129,11 +126,10 @@ namespace Sunny.UI.Demo
//
// uiSymbolLabel1
//
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolLabel1.Location = new System.Drawing.Point(42, 169);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(91, 24);
this.uiSymbolLabel1.TabIndex = 39;
this.uiSymbolLabel1.Text = "OK";
@ -141,8 +137,7 @@ namespace Sunny.UI.Demo
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.Location = new System.Drawing.Point(30, 133);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
@ -153,8 +148,7 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(381, 55);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -165,8 +159,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -179,10 +172,8 @@ namespace Sunny.UI.Demo
//
this.uiLinkLabel1.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiLinkLabel1.AutoSize = true;
this.uiLinkLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLinkLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLinkLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLinkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline;
this.uiLinkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLinkLabel1.Location = new System.Drawing.Point(394, 90);
this.uiLinkLabel1.Name = "uiLinkLabel1";
this.uiLinkLabel1.Size = new System.Drawing.Size(146, 21);
@ -195,7 +186,7 @@ namespace Sunny.UI.Demo
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.Location = new System.Drawing.Point(42, 90);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(102, 21);
@ -206,7 +197,7 @@ namespace Sunny.UI.Demo
// uiLabel2
//
this.uiLabel2.Angle = 270;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.Location = new System.Drawing.Point(38, 297);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(43, 126);
@ -217,7 +208,7 @@ namespace Sunny.UI.Demo
// uiLabel3
//
this.uiLabel3.Angle = 90;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.Location = new System.Drawing.Point(90, 304);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(43, 126);
@ -228,7 +219,7 @@ namespace Sunny.UI.Demo
// uiLabel4
//
this.uiLabel4.Angle = 315;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel4.Location = new System.Drawing.Point(160, 297);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(103, 126);
@ -238,8 +229,7 @@ namespace Sunny.UI.Demo
//
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine5.Location = new System.Drawing.Point(30, 290);
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine5.Name = "uiLine5";
@ -248,27 +238,19 @@ namespace Sunny.UI.Demo
this.uiLine5.Text = "UILabel旋转角度";
this.uiLine5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(522, 171);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(55, 21);
this.label1.TabIndex = 52;
this.label1.Text = "label1";
//
// uiSmoothLabel1
//
this.uiSmoothLabel1.Font = new System.Drawing.Font("微软雅黑", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.uiSmoothLabel1.Font = new System.Drawing.Font("Segoe Script", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.uiSmoothLabel1.Location = new System.Drawing.Point(381, 313);
this.uiSmoothLabel1.Name = "uiSmoothLabel1";
this.uiSmoothLabel1.RectSize = 3;
this.uiSmoothLabel1.Size = new System.Drawing.Size(258, 66);
this.uiSmoothLabel1.TabIndex = 53;
this.uiSmoothLabel1.Text = "SunnyUI";
//
// uiSmoothLabel2
//
this.uiSmoothLabel2.Font = new System.Drawing.Font("Jokerman", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.uiSmoothLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.uiSmoothLabel2.Location = new System.Drawing.Point(381, 386);
this.uiSmoothLabel2.Name = "uiSmoothLabel2";
this.uiSmoothLabel2.Size = new System.Drawing.Size(284, 83);
@ -277,8 +259,7 @@ namespace Sunny.UI.Demo
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.Location = new System.Drawing.Point(381, 290);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
@ -295,7 +276,6 @@ namespace Sunny.UI.Demo
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.uiSmoothLabel2);
this.Controls.Add(this.uiSmoothLabel1);
this.Controls.Add(this.label1);
this.Controls.Add(this.uiLine5);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.uiLabel3);
@ -339,7 +319,6 @@ namespace Sunny.UI.Demo
private UILabel uiLabel3;
private UILabel uiLabel4;
private UILine uiLine5;
private System.Windows.Forms.Label label1;
private UISmoothLabel uiSmoothLabel1;
private UISmoothLabel uiSmoothLabel2;
private UILine uiLine6;

View File

@ -45,7 +45,7 @@ namespace Sunny.UI.Demo
// uiLine11
//
this.uiLine11.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiLine11.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine11.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine11.LineDashStyle = Sunny.UI.UILineDashStyle.DashDotDot;
this.uiLine11.LineSize = 2;
this.uiLine11.Location = new System.Drawing.Point(578, 55);
@ -55,12 +55,12 @@ namespace Sunny.UI.Demo
this.uiLine11.TabIndex = 23;
this.uiLine11.Text = "uiLine11";
this.uiLine11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine11.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine10
//
this.uiLine10.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine10.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine10.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine10.Location = new System.Drawing.Point(521, 55);
this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine10.Name = "uiLine10";
@ -68,11 +68,11 @@ namespace Sunny.UI.Demo
this.uiLine10.TabIndex = 22;
this.uiLine10.Text = "uiLine10";
this.uiLine10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine10.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine7.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine7.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine7.LineSize = 3;
this.uiLine7.Location = new System.Drawing.Point(30, 413);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
@ -81,11 +81,11 @@ namespace Sunny.UI.Demo
this.uiLine7.TabIndex = 21;
this.uiLine7.Text = "文字右下";
this.uiLine7.TextAlign = System.Drawing.ContentAlignment.BottomRight;
this.uiLine7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine8
//
this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine8.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine8.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine8.LineSize = 2;
this.uiLine8.Location = new System.Drawing.Point(30, 378);
this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16);
@ -94,10 +94,11 @@ namespace Sunny.UI.Demo
this.uiLine8.TabIndex = 20;
this.uiLine8.Text = "文字右中";
this.uiLine8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.uiLine8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine9
//
this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine9.LineDashStyle = Sunny.UI.UILineDashStyle.DashDot;
this.uiLine9.Location = new System.Drawing.Point(30, 340);
this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16);
@ -106,11 +107,11 @@ namespace Sunny.UI.Demo
this.uiLine9.TabIndex = 19;
this.uiLine9.Text = "文字右上";
this.uiLine9.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.uiLine9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine4.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine4.LineSize = 3;
this.uiLine4.Location = new System.Drawing.Point(30, 265);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
@ -119,10 +120,11 @@ namespace Sunny.UI.Demo
this.uiLine4.TabIndex = 18;
this.uiLine4.Text = "文字中下";
this.uiLine4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.uiLine4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.Dot;
this.uiLine5.LineSize = 2;
this.uiLine5.Location = new System.Drawing.Point(30, 230);
@ -131,11 +133,11 @@ namespace Sunny.UI.Demo
this.uiLine5.Size = new System.Drawing.Size(443, 29);
this.uiLine5.TabIndex = 17;
this.uiLine5.Text = "文字居中";
this.uiLine5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine6.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine6.Location = new System.Drawing.Point(30, 192);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
@ -143,11 +145,12 @@ namespace Sunny.UI.Demo
this.uiLine6.TabIndex = 16;
this.uiLine6.Text = "文字中上";
this.uiLine6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.uiLine6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine3.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine3.LineColorGradient = true;
this.uiLine3.LineSize = 3;
this.uiLine3.Location = new System.Drawing.Point(30, 113);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
@ -156,11 +159,11 @@ namespace Sunny.UI.Demo
this.uiLine3.TabIndex = 15;
this.uiLine3.Text = "文字左下 LineSize=3";
this.uiLine3.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
this.uiLine3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.LineSize = 2;
this.uiLine2.Location = new System.Drawing.Point(30, 78);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
@ -169,11 +172,12 @@ namespace Sunny.UI.Demo
this.uiLine2.TabIndex = 14;
this.uiLine2.Text = "文字左中 LineSize=2";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine1.LineColorGradient = true;
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -181,6 +185,7 @@ namespace Sunny.UI.Demo
this.uiLine1.TabIndex = 13;
this.uiLine1.Text = "文字左上 LineSize=1";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.TopLeft;
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// FLine
//

View File

@ -40,20 +40,22 @@ namespace Sunny.UI.Demo
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(30, 441);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(100, 35);
this.uiButton1.TabIndex = 29;
this.uiButton1.Text = "Add Item";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// uiCheckBox1
//
this.uiCheckBox1.Checked = true;
this.uiCheckBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiCheckBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiCheckBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiCheckBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiCheckBox1.Location = new System.Drawing.Point(352, 440);
this.uiCheckBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiCheckBox1.Name = "uiCheckBox1";
@ -66,34 +68,39 @@ namespace Sunny.UI.Demo
// uiListBox1
//
this.uiListBox1.FillColor = System.Drawing.Color.White;
this.uiListBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiListBox1.FormatString = "";
this.uiListBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiListBox1.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.uiListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiListBox1.Location = new System.Drawing.Point(30, 85);
this.uiListBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiListBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiListBox1.Name = "uiListBox1";
this.uiListBox1.Padding = new System.Windows.Forms.Padding(2);
this.uiListBox1.ShowText = false;
this.uiListBox1.Size = new System.Drawing.Size(270, 343);
this.uiListBox1.TabIndex = 27;
this.uiListBox1.Text = "uiListBox1";
this.uiListBox1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListBox_DrawItem);
this.uiListBox1.ItemDoubleClick += new System.EventHandler(this.uiListBox1_ItemDoubleClick);
this.uiListBox1.DoubleClick += new System.EventHandler(this.uiListBox1_ItemDoubleClick);
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Location = new System.Drawing.Point(352, 55);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(352, 51);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(266, 18);
this.uiLine2.Size = new System.Drawing.Size(266, 27);
this.uiLine2.TabIndex = 26;
this.uiLine2.Text = "uiImageListBox";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -105,7 +112,8 @@ namespace Sunny.UI.Demo
// uiImageListBox1
//
this.uiImageListBox1.FillColor = System.Drawing.Color.White;
this.uiImageListBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageListBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiImageListBox1.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.uiImageListBox1.ItemHeight = 80;
this.uiImageListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiImageListBox1.Location = new System.Drawing.Point(352, 85);
@ -113,11 +121,12 @@ namespace Sunny.UI.Demo
this.uiImageListBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiImageListBox1.Name = "uiImageListBox1";
this.uiImageListBox1.Padding = new System.Windows.Forms.Padding(2);
this.uiImageListBox1.ShowText = false;
this.uiImageListBox1.Size = new System.Drawing.Size(266, 343);
this.uiImageListBox1.TabIndex = 24;
this.uiImageListBox1.Text = "uiImageListBox1";
this.uiImageListBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiImageListBox1.ItemDoubleClick += new System.EventHandler(this.uiImageListBox1_ItemDoubleClick);
this.uiImageListBox1.DoubleClick += new System.EventHandler(this.uiImageListBox1_ItemDoubleClick);
//
// FListBox
//

View File

@ -18,7 +18,7 @@ namespace Sunny.UI.Demo
if (text.Contains("6"))
{
e.Graphics.FillRectangle(UIColor.Green, e.Bounds);
e.Graphics.DrawString(text, e.Font, Color.Blue, e.Bounds);
e.Graphics.DrawString(text, e.Font, Color.Blue, e.Bounds, ContentAlignment.MiddleLeft);
}
}

View File

@ -123,7 +123,9 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 160);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -137,9 +139,8 @@ namespace Sunny.UI.Demo
this.uiNavMenu2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.uiNavMenu2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.uiNavMenu2.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.uiNavMenu2.ExpandSelectFirst = true;
this.uiNavMenu2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.uiNavMenu2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiNavMenu2.Font = new System.Drawing.Font("宋体", 12F);
this.uiNavMenu2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiNavMenu2.FullRowSelect = true;
this.uiNavMenu2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
@ -204,19 +205,23 @@ namespace Sunny.UI.Demo
treeNode19,
treeNode20,
treeNode21});
this.uiNavMenu2.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiNavMenu2.ScrollBarHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiNavMenu2.ScrollBarPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiNavMenu2.ScrollFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.uiNavMenu2.SecondBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.uiNavMenu2.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
this.uiNavMenu2.SelectedColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
this.uiNavMenu2.ShowLines = false;
this.uiNavMenu2.Size = new System.Drawing.Size(253, 353);
this.uiNavMenu2.Style = Sunny.UI.UIStyle.Custom;
this.uiNavMenu2.TabIndex = 22;
this.uiNavMenu2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiNavMenu1
//
this.uiNavMenu1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.uiNavMenu1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.uiNavMenu1.ExpandSelectFirst = true;
this.uiNavMenu1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiNavMenu1.Font = new System.Drawing.Font("宋体", 12F);
this.uiNavMenu1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.uiNavMenu1.FullRowSelect = true;
this.uiNavMenu1.ItemHeight = 50;
@ -283,13 +288,15 @@ namespace Sunny.UI.Demo
this.uiNavMenu1.ShowLines = false;
this.uiNavMenu1.Size = new System.Drawing.Size(253, 353);
this.uiNavMenu1.TabIndex = 21;
this.uiNavMenu1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavMenu1.MenuItemClick += new Sunny.UI.UINavMenu.OnMenuItemClick(this.uiNavMenu1_MenuItemClick);
//
// uiNavBar1
//
this.uiNavBar1.Controls.Add(this.uiLine1);
this.uiNavBar1.Dock = System.Windows.Forms.DockStyle.Top;
this.uiNavBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiNavBar1.DropMenuFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiNavBar1.Location = new System.Drawing.Point(0, 35);
this.uiNavBar1.Name = "uiNavBar1";
this.uiNavBar1.NodeAlignment = System.Drawing.StringAlignment.Near;
@ -337,8 +344,9 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.White;
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);

View File

@ -5,8 +5,6 @@
public FNavigation()
{
InitializeComponent();
uiNavBar1.SetNodeItem(uiNavBar1.Nodes[0].Nodes[0], new NavMenuItem(100));
uiNavBar1.SetNodeItem(uiNavBar1.Nodes[0].Nodes[1], new NavMenuItem(101));
}
private void uiNavBar1_MenuItemClick(string itemText, int menuIndex, int pageIndex)

View File

@ -38,13 +38,17 @@ namespace Sunny.UI.Demo
this.uiScrollingText1 = new Sunny.UI.UIScrollingText();
this.uiLine6 = new Sunny.UI.UILine();
this.uiToolTip1 = new Sunny.UI.UIToolTip(this.components);
this.uiLine1 = new Sunny.UI.UILine();
this.uiVerificationCode1 = new Sunny.UI.UIVerificationCode();
this.uiVerificationCode2 = new Sunny.UI.UIVerificationCode();
this.uiCalendar1 = new Sunny.UI.UICalendar();
this.uiLine2 = new Sunny.UI.UILine();
this.SuspendLayout();
//
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.IsScaled = false;
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.Location = new System.Drawing.Point(31, 136);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(138, 21);
@ -55,8 +59,7 @@ namespace Sunny.UI.Demo
// uiLabel2
//
this.uiLabel2.AutoSize = true;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.IsScaled = false;
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.Location = new System.Drawing.Point(211, 95);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(138, 21);
@ -67,8 +70,7 @@ namespace Sunny.UI.Demo
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.IsScaled = false;
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.Location = new System.Drawing.Point(31, 95);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(138, 21);
@ -79,8 +81,7 @@ namespace Sunny.UI.Demo
//
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine7.IsScaled = false;
this.uiLine7.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine7.Location = new System.Drawing.Point(30, 55);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine7.Name = "uiLine7";
@ -92,10 +93,7 @@ namespace Sunny.UI.Demo
// uiScrollingText2
//
this.uiScrollingText2.Active = true;
this.uiScrollingText2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiScrollingText2.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiScrollingText2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiScrollingText2.IsScaled = false;
this.uiScrollingText2.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiScrollingText2.Location = new System.Drawing.Point(381, 129);
this.uiScrollingText2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiScrollingText2.Name = "uiScrollingText2";
@ -107,9 +105,8 @@ namespace Sunny.UI.Demo
//
this.uiScrollingText1.Active = true;
this.uiScrollingText1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiScrollingText1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiScrollingText1.Font = new System.Drawing.Font("宋体", 12F);
this.uiScrollingText1.ForeColor = System.Drawing.Color.Red;
this.uiScrollingText1.IsScaled = false;
this.uiScrollingText1.Location = new System.Drawing.Point(381, 88);
this.uiScrollingText1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiScrollingText1.Name = "uiScrollingText1";
@ -122,8 +119,7 @@ namespace Sunny.UI.Demo
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.IsScaled = false;
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.Location = new System.Drawing.Point(381, 55);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
@ -135,16 +131,77 @@ namespace Sunny.UI.Demo
// uiToolTip1
//
this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.uiToolTip1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiToolTip1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
this.uiToolTip1.OwnerDraw = true;
this.uiToolTip1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(381, 187);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(319, 20);
this.uiLine1.TabIndex = 80;
this.uiLine1.Text = "UIVerificationCode";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiVerificationCode1
//
this.uiVerificationCode1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiVerificationCode1.Location = new System.Drawing.Point(381, 225);
this.uiVerificationCode1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiVerificationCode1.Name = "uiVerificationCode1";
this.uiVerificationCode1.Size = new System.Drawing.Size(100, 35);
this.uiVerificationCode1.TabIndex = 81;
//
// uiVerificationCode2
//
this.uiVerificationCode2.CodeLength = 6;
this.uiVerificationCode2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiVerificationCode2.Location = new System.Drawing.Point(499, 225);
this.uiVerificationCode2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiVerificationCode2.Name = "uiVerificationCode2";
this.uiVerificationCode2.Size = new System.Drawing.Size(140, 35);
this.uiVerificationCode2.TabIndex = 82;
//
// uiCalendar1
//
this.uiCalendar1.Date = new System.DateTime(2022, 7, 3, 0, 0, 0, 0);
this.uiCalendar1.FillColor = System.Drawing.Color.White;
this.uiCalendar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiCalendar1.Location = new System.Drawing.Point(30, 225);
this.uiCalendar1.MinimumSize = new System.Drawing.Size(240, 180);
this.uiCalendar1.Name = "uiCalendar1";
this.uiCalendar1.PrimaryColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiCalendar1.Size = new System.Drawing.Size(319, 240);
this.uiCalendar1.TabIndex = 83;
this.uiCalendar1.Text = "uiCalendar1";
this.uiCalendar1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiCalendar1.OnDateTimeChanged += new Sunny.UI.OnDateTimeChanged(this.uiCalendar1_OnDateTimeChanged);
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 187);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(319, 20);
this.uiLine2.TabIndex = 84;
this.uiLine2.Text = "UICalendar";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// FOther
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiCalendar1);
this.Controls.Add(this.uiVerificationCode2);
this.Controls.Add(this.uiVerificationCode1);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
@ -171,5 +228,10 @@ namespace Sunny.UI.Demo
private UIScrollingText uiScrollingText1;
private UILine uiLine6;
private UIToolTip uiToolTip1;
private UILine uiLine1;
private UIVerificationCode uiVerificationCode1;
private UIVerificationCode uiVerificationCode2;
private UICalendar uiCalendar1;
private UILine uiLine2;
}
}

View File

@ -9,5 +9,10 @@
uiToolTip1.SetToolTip(uiLabel3, "赠人玫瑰手有余香" + '\n' + "赠人玫瑰手有余香",
"SunnyUI", 61530, 32, UIColor.Green);
}
private void uiCalendar1_OnDateTimeChanged(object sender, UIDateTimeArgs e)
{
this.ShowInfoTip(uiCalendar1.Date.DateString());
}
}
}

View File

@ -34,18 +34,18 @@ namespace Sunny.UI.Demo
this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
this.uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
this.uiButton1 = new Sunny.UI.UIButton();
this.uiButton4 = new Sunny.UI.UIButton();
this.uiButton3 = new Sunny.UI.UIButton();
this.uiButton2 = new Sunny.UI.UIButton();
this.uiButton1 = new Sunny.UI.UIButton();
this.uiLine1 = new Sunny.UI.UILine();
this.uiLine2 = new Sunny.UI.UILine();
this.uiButton3 = new Sunny.UI.UIButton();
this.uiButton4 = new Sunny.UI.UIButton();
this.uiTableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// uiPanel1
//
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel1.Location = new System.Drawing.Point(30, 90);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
@ -54,25 +54,27 @@ namespace Sunny.UI.Demo
this.uiPanel1.TabIndex = 7;
this.uiPanel1.Text = "uiPanel1";
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiTitlePanel2
//
this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTitlePanel2.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiTitlePanel2.Location = new System.Drawing.Point(331, 285);
this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel2.Name = "uiTitlePanel2";
this.uiTitlePanel2.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.uiTitlePanel2.ShowCollapse = true;
this.uiTitlePanel2.ShowText = false;
this.uiTitlePanel2.Size = new System.Drawing.Size(270, 180);
this.uiTitlePanel2.TabIndex = 9;
this.uiTitlePanel2.Text = "uiTitlePanel2";
this.uiTitlePanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiTitlePanel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiGroupBox1
//
this.uiGroupBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiGroupBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiGroupBox1.Location = new System.Drawing.Point(331, 74);
this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1);
@ -82,20 +84,22 @@ namespace Sunny.UI.Demo
this.uiGroupBox1.TabIndex = 8;
this.uiGroupBox1.Text = "uiGroupBox1";
this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiGroupBox1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiTitlePanel1
//
this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTitlePanel1.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiTitlePanel1.Location = new System.Drawing.Point(30, 285);
this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel1.Name = "uiTitlePanel1";
this.uiTitlePanel1.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.uiTitlePanel1.ShowText = false;
this.uiTitlePanel1.Size = new System.Drawing.Size(270, 180);
this.uiTitlePanel1.TabIndex = 6;
this.uiTitlePanel1.Text = "uiTitlePanel1";
this.uiTitlePanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiTitlePanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiTableLayoutPanel1
//
@ -117,33 +121,65 @@ namespace Sunny.UI.Demo
this.uiTableLayoutPanel1.TabIndex = 10;
this.uiTableLayoutPanel1.TagString = null;
//
// uiButton1
// uiButton4
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Location = new System.Drawing.Point(3, 3);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(82, 35);
this.uiButton1.TabIndex = 0;
this.uiButton1.Text = "uiButton1";
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton4.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton4.Location = new System.Drawing.Point(267, 3);
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton4.Name = "uiButton4";
this.uiButton4.Size = new System.Drawing.Size(84, 35);
this.uiButton4.TabIndex = 5;
this.uiButton4.Text = "uiButton4";
this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiButton3
//
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton3.Location = new System.Drawing.Point(179, 3);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.Size = new System.Drawing.Size(82, 35);
this.uiButton3.TabIndex = 4;
this.uiButton3.Text = "uiButton3";
this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton2.Location = new System.Drawing.Point(91, 3);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.Size = new System.Drawing.Size(82, 35);
this.uiButton2.TabIndex = 1;
this.uiButton2.Text = "uiButton2";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(3, 3);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(82, 35);
this.uiButton1.TabIndex = 0;
this.uiButton1.Text = "uiButton1";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 479);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -151,10 +187,11 @@ namespace Sunny.UI.Demo
this.uiLine1.TabIndex = 78;
this.uiLine1.Text = "UITableLayoutPanel";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 55);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -162,30 +199,7 @@ namespace Sunny.UI.Demo
this.uiLine2.TabIndex = 79;
this.uiLine2.Text = "UIPanel";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiButton3
//
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton3.Location = new System.Drawing.Point(179, 3);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.Size = new System.Drawing.Size(82, 35);
this.uiButton3.TabIndex = 4;
this.uiButton3.Text = "uiButton3";
//
// uiButton4
//
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton4.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton4.Location = new System.Drawing.Point(267, 3);
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton4.Name = "uiButton4";
this.uiButton4.Size = new System.Drawing.Size(84, 35);
this.uiButton4.TabIndex = 5;
this.uiButton4.Text = "uiButton4";
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// FPanel
//

View File

@ -18,14 +18,9 @@
private void timer1_Tick(object sender, System.EventArgs e)
{
value++;
uiTrackBar2.Value = uiTrackBar1.Value = value;
uiProcessBar2.Value = uiProcessBar1.Value = value;
uiProcessBar3.Value = uiRoundProcess2.Value = uiRoundProcess1.Value = value;
}
private void uiTrackBar1_ValueChanged(object sender, System.EventArgs e)
{
uiTrackBar8.Value = uiTrackBar2.Value = uiTrackBar1.Value = value;
uiProcessBar4.Value = uiProcessBar2.Value = uiProcessBar1.Value = value;
uiRoundProcess4.Value = uiRoundProcess3.Value = uiProcessBar3.Value = uiRoundProcess2.Value = uiRoundProcess1.Value = value;
}
private void uiTrackBar3_ValueChanged(object sender, System.EventArgs e)
@ -35,7 +30,7 @@
private void uiTrackBar4_ValueChanged(object sender, System.EventArgs e)
{
uiTrackBar5.Value = uiTrackBar4.Value;
uiTrackBar7.Value = uiTrackBar5.Value = uiTrackBar4.Value;
}
}
}

View File

@ -30,13 +30,6 @@ namespace Sunny.UI.Demo
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.uiTrackBar8 = new Sunny.UI.UITrackBar();
this.uiTrackBar7 = new Sunny.UI.UITrackBar();
this.uiTrackBar6 = new Sunny.UI.UITrackBar();
this.uiTrackBar5 = new Sunny.UI.UITrackBar();
this.uiTrackBar4 = new Sunny.UI.UITrackBar();
this.uiTrackBar3 = new Sunny.UI.UITrackBar();
this.uiTrackBar2 = new Sunny.UI.UITrackBar();
this.uiLine2 = new Sunny.UI.UILine();
this.uiBreadcrumb1 = new Sunny.UI.UIBreadcrumb();
this.uiRoundProcess2 = new Sunny.UI.UIRoundProcess();
@ -46,7 +39,6 @@ namespace Sunny.UI.Demo
this.uiLine1 = new Sunny.UI.UILine();
this.uiWaitingBar1 = new Sunny.UI.UIWaitingBar();
this.uiLine5 = new Sunny.UI.UILine();
this.uiTrackBar1 = new Sunny.UI.UITrackBar();
this.uiLine4 = new Sunny.UI.UILine();
this.uiProgressIndicator1 = new Sunny.UI.UIProgressIndicator();
this.uiLine3 = new Sunny.UI.UILine();
@ -54,101 +46,29 @@ namespace Sunny.UI.Demo
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.uiProcessBar3 = new Sunny.UI.UIProcessBar();
this.uiLine6 = new Sunny.UI.UILine();
this.uiRoundProcess3 = new Sunny.UI.UIRoundProcess();
this.uiRoundProcess4 = new Sunny.UI.UIRoundProcess();
this.uiRuler5 = new Sunny.UI.UIRuler();
this.uiRuler6 = new Sunny.UI.UIRuler();
this.uiRuler4 = new Sunny.UI.UIRuler();
this.uiRuler3 = new Sunny.UI.UIRuler();
this.uiRuler2 = new Sunny.UI.UIRuler();
this.uiRuler1 = new Sunny.UI.UIRuler();
this.uiTrackBar8 = new Sunny.UI.UITrackBar();
this.uiTrackBar7 = new Sunny.UI.UITrackBar();
this.uiTrackBar5 = new Sunny.UI.UITrackBar();
this.uiTrackBar4 = new Sunny.UI.UITrackBar();
this.uiTrackBar3 = new Sunny.UI.UITrackBar();
this.uiTrackBar2 = new Sunny.UI.UITrackBar();
this.uiTrackBar1 = new Sunny.UI.UITrackBar();
this.uiProcessBar4 = new Sunny.UI.UIProcessBar();
this.SuspendLayout();
//
// uiTrackBar8
//
this.uiTrackBar8.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar8.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar8.Location = new System.Drawing.Point(428, 395);
this.uiTrackBar8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar8.Name = "uiTrackBar8";
this.uiTrackBar8.Size = new System.Drawing.Size(35, 99);
this.uiTrackBar8.TabIndex = 102;
this.uiTrackBar8.Text = "uiTrackBar8";
this.uiTrackBar8.Value = 50;
//
// uiTrackBar7
//
this.uiTrackBar7.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar7.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar7.Location = new System.Drawing.Point(387, 395);
this.uiTrackBar7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar7.Name = "uiTrackBar7";
this.uiTrackBar7.Size = new System.Drawing.Size(35, 99);
this.uiTrackBar7.TabIndex = 101;
this.uiTrackBar7.Text = "uiTrackBar7";
this.uiTrackBar7.Value = 50;
//
// uiTrackBar6
//
this.uiTrackBar6.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar6.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar6.Location = new System.Drawing.Point(346, 395);
this.uiTrackBar6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar6.Name = "uiTrackBar6";
this.uiTrackBar6.Size = new System.Drawing.Size(35, 99);
this.uiTrackBar6.TabIndex = 100;
this.uiTrackBar6.Text = "uiTrackBar6";
this.uiTrackBar6.Value = 50;
//
// uiTrackBar5
//
this.uiTrackBar5.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar5.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar5.Location = new System.Drawing.Point(305, 395);
this.uiTrackBar5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar5.Name = "uiTrackBar5";
this.uiTrackBar5.Size = new System.Drawing.Size(35, 99);
this.uiTrackBar5.TabIndex = 99;
this.uiTrackBar5.Text = "uiTrackBar5";
this.uiTrackBar5.Value = 50;
//
// uiTrackBar4
//
this.uiTrackBar4.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar4.Location = new System.Drawing.Point(28, 465);
this.uiTrackBar4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar4.Name = "uiTrackBar4";
this.uiTrackBar4.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar4.TabIndex = 98;
this.uiTrackBar4.Text = "uiTrackBar4";
this.uiTrackBar4.ValueChanged += new System.EventHandler(this.uiTrackBar4_ValueChanged);
//
// uiTrackBar3
//
this.uiTrackBar3.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar3.Location = new System.Drawing.Point(28, 430);
this.uiTrackBar3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar3.Name = "uiTrackBar3";
this.uiTrackBar3.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar3.TabIndex = 97;
this.uiTrackBar3.Text = "uiTrackBar3";
this.uiTrackBar3.ValueChanged += new System.EventHandler(this.uiTrackBar3_ValueChanged);
//
// uiTrackBar2
//
this.uiTrackBar2.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar2.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar2.Location = new System.Drawing.Point(264, 395);
this.uiTrackBar2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar2.Name = "uiTrackBar2";
this.uiTrackBar2.Size = new System.Drawing.Size(35, 99);
this.uiTrackBar2.TabIndex = 96;
this.uiTrackBar2.Text = "uiTrackBar2";
this.uiTrackBar2.Value = 50;
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(29, 287);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -159,7 +79,7 @@ namespace Sunny.UI.Demo
//
// uiBreadcrumb1
//
this.uiBreadcrumb1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBreadcrumb1.Font = new System.Drawing.Font("宋体", 12F);
this.uiBreadcrumb1.ItemIndex = 0;
this.uiBreadcrumb1.Items.AddRange(new object[] {
"步骤一",
@ -174,32 +94,32 @@ namespace Sunny.UI.Demo
this.uiBreadcrumb1.Size = new System.Drawing.Size(440, 25);
this.uiBreadcrumb1.TabIndex = 94;
this.uiBreadcrumb1.Text = "uiBreadcrumb1";
this.uiBreadcrumb1.UnSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
//
// uiRoundProcess2
//
this.uiRoundProcess2.BackColor = System.Drawing.Color.Transparent;
this.uiRoundProcess2.DecimalPlaces = 0;
this.uiRoundProcess2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRoundProcess2.ForeColor = System.Drawing.Color.White;
this.uiRoundProcess2.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundProcess2.ForeColor2 = System.Drawing.Color.Black;
this.uiRoundProcess2.Inner = 0;
this.uiRoundProcess2.Location = new System.Drawing.Point(155, 167);
this.uiRoundProcess2.Location = new System.Drawing.Point(133, 167);
this.uiRoundProcess2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundProcess2.Name = "uiRoundProcess2";
this.uiRoundProcess2.ShowProcess = true;
this.uiRoundProcess2.Size = new System.Drawing.Size(120, 120);
this.uiRoundProcess2.Style = Sunny.UI.UIStyle.Custom;
this.uiRoundProcess2.StyleCustomMode = true;
this.uiRoundProcess2.TabIndex = 93;
this.uiRoundProcess2.Text = "0%";
//
// uiLine9
//
this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine9.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine9.BackColor = System.Drawing.Color.Transparent;
this.uiLine9.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine9.Location = new System.Drawing.Point(29, 147);
this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine9.Name = "uiLine9";
this.uiLine9.Size = new System.Drawing.Size(319, 20);
this.uiLine9.Size = new System.Drawing.Size(440, 20);
this.uiLine9.TabIndex = 92;
this.uiLine9.Text = "UIRoundProcess";
this.uiLine9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -207,8 +127,10 @@ namespace Sunny.UI.Demo
// uiRoundProcess1
//
this.uiRoundProcess1.BackColor = System.Drawing.Color.Transparent;
this.uiRoundProcess1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRoundProcess1.Location = new System.Drawing.Point(28, 167);
this.uiRoundProcess1.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundProcess1.ForeColor2 = System.Drawing.Color.Black;
this.uiRoundProcess1.Inner = 35;
this.uiRoundProcess1.Location = new System.Drawing.Point(15, 167);
this.uiRoundProcess1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundProcess1.Name = "uiRoundProcess1";
this.uiRoundProcess1.ShowProcess = true;
@ -218,7 +140,8 @@ namespace Sunny.UI.Demo
//
// uiProcessBar2
//
this.uiProcessBar2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiProcessBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar2.Font = new System.Drawing.Font("宋体", 12F);
this.uiProcessBar2.Location = new System.Drawing.Point(30, 123);
this.uiProcessBar2.MinimumSize = new System.Drawing.Size(70, 1);
this.uiProcessBar2.Name = "uiProcessBar2";
@ -230,9 +153,10 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine1.Location = new System.Drawing.Point(381, 54);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(411, 54);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(319, 20);
@ -242,8 +166,10 @@ namespace Sunny.UI.Demo
//
// uiWaitingBar1
//
this.uiWaitingBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiWaitingBar1.Location = new System.Drawing.Point(381, 88);
this.uiWaitingBar1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiWaitingBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiWaitingBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiWaitingBar1.Location = new System.Drawing.Point(411, 88);
this.uiWaitingBar1.MinimumSize = new System.Drawing.Size(70, 23);
this.uiWaitingBar1.Name = "uiWaitingBar1";
this.uiWaitingBar1.Size = new System.Drawing.Size(319, 29);
@ -252,8 +178,9 @@ namespace Sunny.UI.Demo
//
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine5.BackColor = System.Drawing.Color.Transparent;
this.uiLine5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine5.Location = new System.Drawing.Point(28, 369);
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine5.Name = "uiLine5";
@ -262,34 +189,23 @@ namespace Sunny.UI.Demo
this.uiLine5.Text = "UITrackBar";
this.uiLine5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTrackBar1
//
this.uiTrackBar1.DisableColor = System.Drawing.Color.Silver;
this.uiTrackBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTrackBar1.Location = new System.Drawing.Point(28, 395);
this.uiTrackBar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar1.Name = "uiTrackBar1";
this.uiTrackBar1.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar1.TabIndex = 86;
this.uiTrackBar1.Text = "uiTrackBar1";
this.uiTrackBar1.ValueChanged += new System.EventHandler(this.uiTrackBar1_ValueChanged);
//
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine4.Location = new System.Drawing.Point(381, 147);
this.uiLine4.BackColor = System.Drawing.Color.Transparent;
this.uiLine4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine4.Location = new System.Drawing.Point(527, 147);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
this.uiLine4.Size = new System.Drawing.Size(319, 20);
this.uiLine4.Size = new System.Drawing.Size(203, 20);
this.uiLine4.TabIndex = 85;
this.uiLine4.Text = "UIProgressIndicator";
this.uiLine4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiProgressIndicator1
//
this.uiProgressIndicator1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiProgressIndicator1.Location = new System.Drawing.Point(381, 167);
this.uiProgressIndicator1.Font = new System.Drawing.Font("宋体", 12F);
this.uiProgressIndicator1.Location = new System.Drawing.Point(527, 173);
this.uiProgressIndicator1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiProgressIndicator1.Name = "uiProgressIndicator1";
this.uiProgressIndicator1.Size = new System.Drawing.Size(120, 120);
@ -298,8 +214,9 @@ namespace Sunny.UI.Demo
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine3.BackColor = System.Drawing.Color.Transparent;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine3.Location = new System.Drawing.Point(30, 54);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
@ -310,7 +227,8 @@ namespace Sunny.UI.Demo
//
// uiProcessBar1
//
this.uiProcessBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiProcessBar1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiProcessBar1.Location = new System.Drawing.Point(30, 88);
this.uiProcessBar1.MinimumSize = new System.Drawing.Size(70, 1);
this.uiProcessBar1.Name = "uiProcessBar1";
@ -325,18 +243,20 @@ namespace Sunny.UI.Demo
// uiProcessBar3
//
this.uiProcessBar3.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiProcessBar3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiProcessBar3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar3.Font = new System.Drawing.Font("宋体", 12F);
this.uiProcessBar3.Location = new System.Drawing.Point(527, 325);
this.uiProcessBar3.MinimumSize = new System.Drawing.Size(70, 1);
this.uiProcessBar3.Name = "uiProcessBar3";
this.uiProcessBar3.Size = new System.Drawing.Size(173, 169);
this.uiProcessBar3.Size = new System.Drawing.Size(173, 219);
this.uiProcessBar3.TabIndex = 103;
this.uiProcessBar3.Value = 50;
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine6.BackColor = System.Drawing.Color.Transparent;
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine6.Location = new System.Drawing.Point(527, 287);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
@ -345,20 +265,237 @@ namespace Sunny.UI.Demo
this.uiLine6.Text = "UIProcessBar";
this.uiLine6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiRoundProcess3
//
this.uiRoundProcess3.BackColor = System.Drawing.Color.Transparent;
this.uiRoundProcess3.DecimalPlaces = 0;
this.uiRoundProcess3.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundProcess3.ForeColor2 = System.Drawing.Color.Black;
this.uiRoundProcess3.Inner = 35;
this.uiRoundProcess3.Location = new System.Drawing.Point(251, 167);
this.uiRoundProcess3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundProcess3.Name = "uiRoundProcess3";
this.uiRoundProcess3.ShowProcess = true;
this.uiRoundProcess3.Size = new System.Drawing.Size(120, 120);
this.uiRoundProcess3.StartAngle = 220;
this.uiRoundProcess3.SweepAngle = 280;
this.uiRoundProcess3.TabIndex = 105;
this.uiRoundProcess3.Text = "50%";
this.uiRoundProcess3.Value = 50;
//
// uiRoundProcess4
//
this.uiRoundProcess4.BackColor = System.Drawing.Color.Transparent;
this.uiRoundProcess4.DecimalPlaces = 0;
this.uiRoundProcess4.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundProcess4.ForeColor2 = System.Drawing.Color.Black;
this.uiRoundProcess4.Inner = 35;
this.uiRoundProcess4.Location = new System.Drawing.Point(369, 167);
this.uiRoundProcess4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundProcess4.Name = "uiRoundProcess4";
this.uiRoundProcess4.ShowProcess = true;
this.uiRoundProcess4.Size = new System.Drawing.Size(120, 120);
this.uiRoundProcess4.StartAngle = 270;
this.uiRoundProcess4.SweepAngle = 180;
this.uiRoundProcess4.TabIndex = 106;
this.uiRoundProcess4.Text = "0%";
//
// uiRuler5
//
this.uiRuler5.BackColor = System.Drawing.Color.Transparent;
this.uiRuler5.Direction = Sunny.UI.UITrackBar.BarDirection.VerticalDown;
this.uiRuler5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler5.Location = new System.Drawing.Point(439, 387);
this.uiRuler5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler5.MinorCount = 4;
this.uiRuler5.Name = "uiRuler5";
this.uiRuler5.Size = new System.Drawing.Size(35, 166);
this.uiRuler5.StartValue = -20D;
this.uiRuler5.StepCount = 6;
this.uiRuler5.TabIndex = 125;
this.uiRuler5.Text = "uiRuler5";
this.uiRuler5.TextDirection = Sunny.UI.UIRuler.UITextPos.Behind;
//
// uiRuler6
//
this.uiRuler6.BackColor = System.Drawing.Color.Transparent;
this.uiRuler6.Direction = Sunny.UI.UITrackBar.BarDirection.VerticalDown;
this.uiRuler6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler6.Location = new System.Drawing.Point(342, 387);
this.uiRuler6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler6.MinorCount = 4;
this.uiRuler6.Name = "uiRuler6";
this.uiRuler6.Size = new System.Drawing.Size(35, 166);
this.uiRuler6.TabIndex = 124;
this.uiRuler6.Text = "uiRuler6";
//
// uiRuler4
//
this.uiRuler4.BackColor = System.Drawing.Color.Transparent;
this.uiRuler4.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiRuler4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler4.Location = new System.Drawing.Point(308, 387);
this.uiRuler4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler4.MinorCount = 4;
this.uiRuler4.Name = "uiRuler4";
this.uiRuler4.Size = new System.Drawing.Size(35, 166);
this.uiRuler4.TabIndex = 123;
this.uiRuler4.Text = "uiRuler4";
this.uiRuler4.TextDirection = Sunny.UI.UIRuler.UITextPos.Behind;
//
// uiRuler3
//
this.uiRuler3.BackColor = System.Drawing.Color.Transparent;
this.uiRuler3.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiRuler3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler3.Location = new System.Drawing.Point(211, 387);
this.uiRuler3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler3.MinorCount = 4;
this.uiRuler3.Name = "uiRuler3";
this.uiRuler3.Size = new System.Drawing.Size(35, 166);
this.uiRuler3.TabIndex = 122;
this.uiRuler3.Text = "uiRuler3";
//
// uiRuler2
//
this.uiRuler2.BackColor = System.Drawing.Color.Transparent;
this.uiRuler2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler2.Location = new System.Drawing.Point(28, 395);
this.uiRuler2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler2.MinorCount = 4;
this.uiRuler2.Name = "uiRuler2";
this.uiRuler2.Size = new System.Drawing.Size(173, 27);
this.uiRuler2.TabIndex = 121;
this.uiRuler2.Text = "uiRuler2";
//
// uiRuler1
//
this.uiRuler1.BackColor = System.Drawing.Color.Transparent;
this.uiRuler1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler1.Location = new System.Drawing.Point(28, 517);
this.uiRuler1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler1.MinorCount = 4;
this.uiRuler1.Name = "uiRuler1";
this.uiRuler1.Size = new System.Drawing.Size(173, 27);
this.uiRuler1.TabIndex = 120;
this.uiRuler1.Text = "uiRuler1";
this.uiRuler1.TextDirection = Sunny.UI.UIRuler.UITextPos.Behind;
//
// uiTrackBar8
//
this.uiTrackBar8.Direction = Sunny.UI.UITrackBar.BarDirection.VerticalDown;
this.uiTrackBar8.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar8.Location = new System.Drawing.Point(373, 395);
this.uiTrackBar8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar8.Name = "uiTrackBar8";
this.uiTrackBar8.Size = new System.Drawing.Size(35, 149);
this.uiTrackBar8.TabIndex = 119;
this.uiTrackBar8.Text = "uiTrackBar8";
this.uiTrackBar8.Value = 50;
//
// uiTrackBar7
//
this.uiTrackBar7.Direction = Sunny.UI.UITrackBar.BarDirection.VerticalDown;
this.uiTrackBar7.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar7.Location = new System.Drawing.Point(408, 395);
this.uiTrackBar7.Minimum = -20;
this.uiTrackBar7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar7.Name = "uiTrackBar7";
this.uiTrackBar7.Size = new System.Drawing.Size(35, 149);
this.uiTrackBar7.TabIndex = 118;
this.uiTrackBar7.Text = "uiTrackBar7";
//
// uiTrackBar5
//
this.uiTrackBar5.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar5.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar5.Location = new System.Drawing.Point(278, 395);
this.uiTrackBar5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar5.Name = "uiTrackBar5";
this.uiTrackBar5.Size = new System.Drawing.Size(35, 149);
this.uiTrackBar5.TabIndex = 117;
this.uiTrackBar5.Text = "uiTrackBar5";
//
// uiTrackBar4
//
this.uiTrackBar4.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar4.Location = new System.Drawing.Point(36, 490);
this.uiTrackBar4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar4.Name = "uiTrackBar4";
this.uiTrackBar4.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar4.TabIndex = 116;
this.uiTrackBar4.Text = "uiTrackBar4";
this.uiTrackBar4.ValueChanged += new System.EventHandler(this.uiTrackBar4_ValueChanged);
//
// uiTrackBar3
//
this.uiTrackBar3.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar3.Location = new System.Drawing.Point(36, 455);
this.uiTrackBar3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar3.Name = "uiTrackBar3";
this.uiTrackBar3.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar3.TabIndex = 115;
this.uiTrackBar3.Text = "uiTrackBar3";
this.uiTrackBar3.ValueChanged += new System.EventHandler(this.uiTrackBar3_ValueChanged);
//
// uiTrackBar2
//
this.uiTrackBar2.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiTrackBar2.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar2.Location = new System.Drawing.Point(243, 395);
this.uiTrackBar2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar2.Name = "uiTrackBar2";
this.uiTrackBar2.Size = new System.Drawing.Size(35, 149);
this.uiTrackBar2.TabIndex = 114;
this.uiTrackBar2.Text = "uiTrackBar2";
this.uiTrackBar2.Value = 50;
//
// uiTrackBar1
//
this.uiTrackBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiTrackBar1.Location = new System.Drawing.Point(36, 420);
this.uiTrackBar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar1.Name = "uiTrackBar1";
this.uiTrackBar1.Size = new System.Drawing.Size(158, 29);
this.uiTrackBar1.TabIndex = 113;
this.uiTrackBar1.Text = "uiTrackBar1";
//
// uiProcessBar4
//
this.uiProcessBar4.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiProcessBar4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar4.Font = new System.Drawing.Font("宋体", 12F);
this.uiProcessBar4.Location = new System.Drawing.Point(706, 325);
this.uiProcessBar4.MinimumSize = new System.Drawing.Size(3, 1);
this.uiProcessBar4.Name = "uiProcessBar4";
this.uiProcessBar4.Radius = 3;
this.uiProcessBar4.Size = new System.Drawing.Size(3, 219);
this.uiProcessBar4.TabIndex = 126;
this.uiProcessBar4.Value = 50;
//
// FProcess
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 546);
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.uiProcessBar3);
this.ClientSize = new System.Drawing.Size(800, 635);
this.Controls.Add(this.uiProcessBar4);
this.Controls.Add(this.uiRuler5);
this.Controls.Add(this.uiRuler6);
this.Controls.Add(this.uiRuler4);
this.Controls.Add(this.uiRuler3);
this.Controls.Add(this.uiRuler2);
this.Controls.Add(this.uiRuler1);
this.Controls.Add(this.uiTrackBar8);
this.Controls.Add(this.uiTrackBar7);
this.Controls.Add(this.uiTrackBar6);
this.Controls.Add(this.uiTrackBar5);
this.Controls.Add(this.uiTrackBar4);
this.Controls.Add(this.uiTrackBar3);
this.Controls.Add(this.uiTrackBar2);
this.Controls.Add(this.uiTrackBar1);
this.Controls.Add(this.uiRoundProcess4);
this.Controls.Add(this.uiRoundProcess3);
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.uiProcessBar3);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiBreadcrumb1);
this.Controls.Add(this.uiRoundProcess2);
@ -368,7 +505,6 @@ namespace Sunny.UI.Demo
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiWaitingBar1);
this.Controls.Add(this.uiLine5);
this.Controls.Add(this.uiTrackBar1);
this.Controls.Add(this.uiLine4);
this.Controls.Add(this.uiProgressIndicator1);
this.Controls.Add(this.uiLine3);
@ -383,14 +519,6 @@ namespace Sunny.UI.Demo
}
#endregion
private UITrackBar uiTrackBar8;
private UITrackBar uiTrackBar7;
private UITrackBar uiTrackBar6;
private UITrackBar uiTrackBar5;
private UITrackBar uiTrackBar4;
private UITrackBar uiTrackBar3;
private UITrackBar uiTrackBar2;
private UILine uiLine2;
private UIBreadcrumb uiBreadcrumb1;
private UIRoundProcess uiRoundProcess2;
@ -400,7 +528,6 @@ namespace Sunny.UI.Demo
private UILine uiLine1;
private UIWaitingBar uiWaitingBar1;
private UILine uiLine5;
private UITrackBar uiTrackBar1;
private UILine uiLine4;
private UIProgressIndicator uiProgressIndicator1;
private UILine uiLine3;
@ -408,5 +535,21 @@ namespace Sunny.UI.Demo
private System.Windows.Forms.Timer timer1;
private UIProcessBar uiProcessBar3;
private UILine uiLine6;
private UIRoundProcess uiRoundProcess3;
private UIRoundProcess uiRoundProcess4;
private UIRuler uiRuler5;
private UIRuler uiRuler6;
private UIRuler uiRuler4;
private UIRuler uiRuler3;
private UIRuler uiRuler2;
private UIRuler uiRuler1;
private UITrackBar uiTrackBar8;
private UITrackBar uiTrackBar7;
private UITrackBar uiTrackBar5;
private UITrackBar uiTrackBar4;
private UITrackBar uiTrackBar3;
private UITrackBar uiTrackBar2;
private UITrackBar uiTrackBar1;
private UIProcessBar uiProcessBar4;
}
}

View File

@ -55,31 +55,33 @@ namespace Sunny.UI.Demo
// uiButton4
//
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton4.Location = new System.Drawing.Point(145, 481);
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton4.Name = "uiButton4";
this.uiButton4.Size = new System.Drawing.Size(100, 35);
this.uiButton4.TabIndex = 86;
this.uiButton4.Text = "选择";
this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
//
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton2.Location = new System.Drawing.Point(30, 481);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.Size = new System.Drawing.Size(100, 35);
this.uiButton2.TabIndex = 85;
this.uiButton2.Text = "全不选";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
//
// uiRadioButtonGroup1
//
this.uiRadioButtonGroup1.ColumnCount = 3;
this.uiRadioButtonGroup1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButtonGroup1.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButtonGroup1.Items.AddRange(new object[] {
"0",
"1",
@ -99,14 +101,14 @@ namespace Sunny.UI.Demo
this.uiRadioButtonGroup1.Size = new System.Drawing.Size(670, 173);
this.uiRadioButtonGroup1.TabIndex = 84;
this.uiRadioButtonGroup1.Text = "UIRadioButtonGroup";
this.uiRadioButtonGroup1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiRadioButtonGroup1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiRadioButtonGroup1.ValueChanged += new Sunny.UI.UIRadioButtonGroup.OnValueChanged(this.uiRadioButtonGroup1_ValueChanged);
//
// uiRadioButton12
//
this.uiRadioButton12.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton12.Enabled = false;
this.uiRadioButton12.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton12.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton12.GroupIndex = 4;
this.uiRadioButton12.Location = new System.Drawing.Point(516, 83);
this.uiRadioButton12.MinimumSize = new System.Drawing.Size(1, 1);
@ -121,7 +123,7 @@ namespace Sunny.UI.Demo
this.uiRadioButton13.Checked = true;
this.uiRadioButton13.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton13.Enabled = false;
this.uiRadioButton13.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton13.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton13.GroupIndex = 4;
this.uiRadioButton13.Location = new System.Drawing.Point(354, 83);
this.uiRadioButton13.MinimumSize = new System.Drawing.Size(1, 1);
@ -134,10 +136,11 @@ namespace Sunny.UI.Demo
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel3.Location = new System.Drawing.Point(49, 254);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(131, 21);
this.uiLabel3.Size = new System.Drawing.Size(119, 16);
this.uiLabel3.TabIndex = 81;
this.uiLabel3.Text = "GroupIndex = 3";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -146,7 +149,7 @@ namespace Sunny.UI.Demo
//
this.uiRadioButton9.Checked = true;
this.uiRadioButton9.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton9.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton9.GroupIndex = 3;
this.uiRadioButton9.Location = new System.Drawing.Point(516, 247);
this.uiRadioButton9.MinimumSize = new System.Drawing.Size(1, 1);
@ -159,7 +162,7 @@ namespace Sunny.UI.Demo
// uiRadioButton10
//
this.uiRadioButton10.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton10.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton10.GroupIndex = 3;
this.uiRadioButton10.Location = new System.Drawing.Point(354, 247);
this.uiRadioButton10.MinimumSize = new System.Drawing.Size(1, 1);
@ -172,7 +175,7 @@ namespace Sunny.UI.Demo
// uiRadioButton11
//
this.uiRadioButton11.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton11.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton11.GroupIndex = 3;
this.uiRadioButton11.Location = new System.Drawing.Point(192, 247);
this.uiRadioButton11.MinimumSize = new System.Drawing.Size(1, 1);
@ -185,10 +188,11 @@ namespace Sunny.UI.Demo
// uiLabel2
//
this.uiLabel2.AutoSize = true;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel2.Location = new System.Drawing.Point(49, 213);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(131, 21);
this.uiLabel2.Size = new System.Drawing.Size(119, 16);
this.uiLabel2.TabIndex = 77;
this.uiLabel2.Text = "GroupIndex = 2";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -196,7 +200,7 @@ namespace Sunny.UI.Demo
// uiRadioButton5
//
this.uiRadioButton5.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton5.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton5.GroupIndex = 2;
this.uiRadioButton5.Location = new System.Drawing.Point(516, 206);
this.uiRadioButton5.MinimumSize = new System.Drawing.Size(1, 1);
@ -210,7 +214,7 @@ namespace Sunny.UI.Demo
//
this.uiRadioButton7.Checked = true;
this.uiRadioButton7.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton7.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton7.GroupIndex = 2;
this.uiRadioButton7.Location = new System.Drawing.Point(354, 206);
this.uiRadioButton7.MinimumSize = new System.Drawing.Size(1, 1);
@ -223,7 +227,7 @@ namespace Sunny.UI.Demo
// uiRadioButton8
//
this.uiRadioButton8.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton8.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton8.GroupIndex = 2;
this.uiRadioButton8.Location = new System.Drawing.Point(192, 206);
this.uiRadioButton8.MinimumSize = new System.Drawing.Size(1, 1);
@ -236,10 +240,11 @@ namespace Sunny.UI.Demo
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel1.Location = new System.Drawing.Point(49, 172);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(131, 21);
this.uiLabel1.Size = new System.Drawing.Size(119, 16);
this.uiLabel1.TabIndex = 73;
this.uiLabel1.Text = "GroupIndex = 1";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -247,7 +252,7 @@ namespace Sunny.UI.Demo
// uiRadioButton6
//
this.uiRadioButton6.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton6.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton6.GroupIndex = 1;
this.uiRadioButton6.Location = new System.Drawing.Point(516, 165);
this.uiRadioButton6.MinimumSize = new System.Drawing.Size(1, 1);
@ -260,7 +265,7 @@ namespace Sunny.UI.Demo
// uiRadioButton3
//
this.uiRadioButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton3.GroupIndex = 1;
this.uiRadioButton3.Location = new System.Drawing.Point(354, 165);
this.uiRadioButton3.MinimumSize = new System.Drawing.Size(1, 1);
@ -274,7 +279,7 @@ namespace Sunny.UI.Demo
//
this.uiRadioButton4.Checked = true;
this.uiRadioButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton4.GroupIndex = 1;
this.uiRadioButton4.Location = new System.Drawing.Point(192, 165);
this.uiRadioButton4.MinimumSize = new System.Drawing.Size(1, 1);
@ -286,7 +291,9 @@ namespace Sunny.UI.Demo
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.BackColor = System.Drawing.Color.Transparent;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine3.Location = new System.Drawing.Point(30, 131);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
@ -298,7 +305,7 @@ namespace Sunny.UI.Demo
// uiRadioButton2
//
this.uiRadioButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton2.Location = new System.Drawing.Point(192, 83);
this.uiRadioButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRadioButton2.Name = "uiRadioButton2";
@ -311,7 +318,7 @@ namespace Sunny.UI.Demo
//
this.uiRadioButton1.Checked = true;
this.uiRadioButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiRadioButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRadioButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiRadioButton1.Location = new System.Drawing.Point(30, 83);
this.uiRadioButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRadioButton1.Name = "uiRadioButton1";
@ -323,7 +330,9 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 55);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -332,7 +341,7 @@ namespace Sunny.UI.Demo
this.uiLine2.Text = "UIRadioButton";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// FRadioButton1
// FRadioButton
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -358,7 +367,7 @@ namespace Sunny.UI.Demo
this.Controls.Add(this.uiRadioButton2);
this.Controls.Add(this.uiRadioButton1);
this.Controls.Add(this.uiLine2);
this.Name = "FRadioButton1";
this.Name = "FRadioButton";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61842;

View File

@ -23,7 +23,7 @@ namespace Sunny.UI.Demo
private void uiButton2_Click(object sender, EventArgs e)
{
uiRadioButtonGroup1.SelectedNone();
uiRadioButtonGroup1.SelectedIndex = -1;
}
private void uiButton4_Click(object sender, EventArgs e)

View File

@ -47,7 +47,7 @@ namespace Sunny.UI.Demo
// uiVerScrollBarEx1
//
this.uiVerScrollBarEx1.BoundsHeight = 10;
this.uiVerScrollBarEx1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiVerScrollBarEx1.Font = new System.Drawing.Font("宋体", 12F);
this.uiVerScrollBarEx1.LargeChange = 10;
this.uiVerScrollBarEx1.Location = new System.Drawing.Point(219, 96);
this.uiVerScrollBarEx1.Maximum = 100;
@ -61,7 +61,7 @@ namespace Sunny.UI.Demo
// uiHorScrollBar4
//
this.uiHorScrollBar4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
this.uiHorScrollBar4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHorScrollBar4.Font = new System.Drawing.Font("宋体", 12F);
this.uiHorScrollBar4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiHorScrollBar4.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiHorScrollBar4.Location = new System.Drawing.Point(381, 219);
@ -77,7 +77,7 @@ namespace Sunny.UI.Demo
// uiHorScrollBar3
//
this.uiHorScrollBar3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(245)))), ((int)(((byte)(233)))));
this.uiHorScrollBar3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHorScrollBar3.Font = new System.Drawing.Font("宋体", 12F);
this.uiHorScrollBar3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiHorScrollBar3.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiHorScrollBar3.Location = new System.Drawing.Point(381, 177);
@ -93,7 +93,7 @@ namespace Sunny.UI.Demo
// uiHorScrollBar2
//
this.uiHorScrollBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiHorScrollBar2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHorScrollBar2.Font = new System.Drawing.Font("宋体", 12F);
this.uiHorScrollBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiHorScrollBar2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiHorScrollBar2.Location = new System.Drawing.Point(381, 135);
@ -108,7 +108,7 @@ namespace Sunny.UI.Demo
//
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine7.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine7.Location = new System.Drawing.Point(381, 55);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine7.Name = "uiLine7";
@ -119,7 +119,7 @@ namespace Sunny.UI.Demo
//
// uiHorScrollBar1
//
this.uiHorScrollBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiHorScrollBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiHorScrollBar1.Location = new System.Drawing.Point(381, 93);
this.uiHorScrollBar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiHorScrollBar1.Name = "uiHorScrollBar1";
@ -130,7 +130,7 @@ namespace Sunny.UI.Demo
// uiScrollBar4
//
this.uiScrollBar4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
this.uiScrollBar4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiScrollBar4.Font = new System.Drawing.Font("宋体", 12F);
this.uiScrollBar4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiScrollBar4.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiScrollBar4.Location = new System.Drawing.Point(156, 90);
@ -146,7 +146,7 @@ namespace Sunny.UI.Demo
// uiScrollBar3
//
this.uiScrollBar3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(245)))), ((int)(((byte)(233)))));
this.uiScrollBar3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiScrollBar3.Font = new System.Drawing.Font("宋体", 12F);
this.uiScrollBar3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiScrollBar3.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiScrollBar3.Location = new System.Drawing.Point(114, 90);
@ -162,7 +162,7 @@ namespace Sunny.UI.Demo
// uiScrollBar2
//
this.uiScrollBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiScrollBar2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiScrollBar2.Font = new System.Drawing.Font("宋体", 12F);
this.uiScrollBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiScrollBar2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiScrollBar2.Location = new System.Drawing.Point(72, 90);
@ -177,7 +177,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -188,7 +188,7 @@ namespace Sunny.UI.Demo
//
// uiScrollBar1
//
this.uiScrollBar1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiScrollBar1.Font = new System.Drawing.Font("宋体", 12F);
this.uiScrollBar1.Location = new System.Drawing.Point(30, 90);
this.uiScrollBar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiScrollBar1.Name = "uiScrollBar1";

View File

@ -1,5 +1,4 @@
using Sunny.UI;
using System.Windows.Forms;
using System.Windows.Forms;
namespace Sunny.UI.Demo
{

View File

@ -29,7 +29,6 @@ namespace Sunny.UI.Demo
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("节点4");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("节点5");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("节点6");
@ -40,10 +39,8 @@ namespace Sunny.UI.Demo
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("节点1");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("节点2");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("节点3");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FSplitContainer));
this.uiSplitContainer1 = new Sunny.UI.UISplitContainer();
this.uiNavMenuEx1 = new Sunny.UI.UINavMenu();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.uiSplitContainer2 = new Sunny.UI.UISplitContainer();
this.uiListBox1 = new Sunny.UI.UIListBox();
this.uiButton1 = new Sunny.UI.UIButton();
@ -62,6 +59,7 @@ namespace Sunny.UI.Demo
this.uiSplitContainer1.Cursor = System.Windows.Forms.Cursors.Default;
this.uiSplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSplitContainer1.Location = new System.Drawing.Point(0, 35);
this.uiSplitContainer1.MinimumSize = new System.Drawing.Size(20, 20);
this.uiSplitContainer1.Name = "uiSplitContainer1";
//
// uiSplitContainer1.Panel1
@ -81,11 +79,8 @@ namespace Sunny.UI.Demo
this.uiNavMenuEx1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.uiNavMenuEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiNavMenuEx1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.uiNavMenuEx1.ExpandSelectFirst = true;
this.uiNavMenuEx1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiNavMenuEx1.Font = new System.Drawing.Font("宋体", 12F);
this.uiNavMenuEx1.FullRowSelect = true;
this.uiNavMenuEx1.ImageIndex = 0;
this.uiNavMenuEx1.ImageList = this.imageList1;
this.uiNavMenuEx1.ItemHeight = 50;
this.uiNavMenuEx1.Location = new System.Drawing.Point(0, 0);
this.uiNavMenuEx1.MenuStyle = Sunny.UI.UIMenuStyle.Custom;
@ -109,28 +104,19 @@ namespace Sunny.UI.Demo
treeNode5,
treeNode6,
treeNode7});
this.uiNavMenuEx1.SelectedImageIndex = 0;
this.uiNavMenuEx1.ShowLines = false;
this.uiNavMenuEx1.Size = new System.Drawing.Size(266, 415);
this.uiNavMenuEx1.Style = Sunny.UI.UIStyle.Custom;
this.uiNavMenuEx1.TabIndex = 0;
this.uiNavMenuEx1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavMenuEx1.NodeRightSymbolClick += new Sunny.UI.UINavMenu.OnNodeRightSymbolClick(this.uiNavMenuEx1_NodeRightSymbolClick);
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "Add_16x16.png");
this.imageList1.Images.SetKeyName(1, "AddFooter_16x16.png");
this.imageList1.Images.SetKeyName(2, "AddGroupFooter_16x16.png");
this.imageList1.Images.SetKeyName(3, "AddGroupHeader_16x16.png");
//
// uiSplitContainer2
//
this.uiSplitContainer2.CollapsePanel = Sunny.UI.UISplitContainer.UICollapsePanel.Panel2;
this.uiSplitContainer2.Cursor = System.Windows.Forms.Cursors.Default;
this.uiSplitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSplitContainer2.Location = new System.Drawing.Point(0, 0);
this.uiSplitContainer2.MinimumSize = new System.Drawing.Size(20, 20);
this.uiSplitContainer2.Name = "uiSplitContainer2";
this.uiSplitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
@ -149,14 +135,15 @@ namespace Sunny.UI.Demo
// uiListBox1
//
this.uiListBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiListBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiListBox1.FormatString = "";
this.uiListBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiListBox1.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.uiListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiListBox1.Location = new System.Drawing.Point(0, 0);
this.uiListBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiListBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiListBox1.Name = "uiListBox1";
this.uiListBox1.Padding = new System.Windows.Forms.Padding(2);
this.uiListBox1.ShowText = false;
this.uiListBox1.Size = new System.Drawing.Size(523, 244);
this.uiListBox1.TabIndex = 0;
this.uiListBox1.Text = "uiListBox1";
@ -164,19 +151,19 @@ namespace Sunny.UI.Demo
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiButton1.Location = new System.Drawing.Point(29, 29);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(100, 35);
this.uiButton1.TabIndex = 0;
this.uiButton1.Text = "清除";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// FSplitContainer
//
this.AllowShowTitle = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSplitContainer1);
@ -204,7 +191,6 @@ namespace Sunny.UI.Demo
private Sunny.UI.UINavMenu uiNavMenuEx1;
private Sunny.UI.UIListBox uiListBox1;
private Sunny.UI.UIButton uiButton1;
private System.Windows.Forms.ImageList imageList1;
}
}

View File

@ -117,56 +117,4 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZ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wGAAQEBwAEDAcABAwHAAQMBgAEBAcABAwHAAQMBwAEDAf4BfwHAAQMBwAED
AcABAwH+AX8BwAEDAcABAwHAAQMB/gF/AcABAwHAAQMBwAEDAf4BfwHAAQMBwAEDAcABAAH+AX8BwAED
AcABAwHAAQAB/gF/AcABAwHAAQMBwAEDAv8BwAEDAcABAwHAAQML
</value>
</data>
</root>

View File

@ -57,8 +57,7 @@ namespace Sunny.UI.Demo
this.uiTabControlMenu1.Controls.Add(this.tabPage7);
this.uiTabControlMenu1.Controls.Add(this.tabPage8);
this.uiTabControlMenu1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.uiTabControlMenu1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTabControlMenu1.ItemSize = new System.Drawing.Size(40, 200);
this.uiTabControlMenu1.Font = new System.Drawing.Font("宋体", 12F);
this.uiTabControlMenu1.Location = new System.Drawing.Point(30, 321);
this.uiTabControlMenu1.Multiline = true;
this.uiTabControlMenu1.Name = "uiTabControlMenu1";
@ -66,6 +65,7 @@ namespace Sunny.UI.Demo
this.uiTabControlMenu1.Size = new System.Drawing.Size(670, 239);
this.uiTabControlMenu1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.uiTabControlMenu1.TabIndex = 25;
this.uiTabControlMenu1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// tabPage5
//
@ -79,34 +79,33 @@ namespace Sunny.UI.Demo
// tabPage6
//
this.tabPage6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.tabPage6.Location = new System.Drawing.Point(201, 0);
this.tabPage6.Location = new System.Drawing.Point(161, 0);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(469, 239);
this.tabPage6.Size = new System.Drawing.Size(509, 239);
this.tabPage6.TabIndex = 1;
this.tabPage6.Text = "tabPage6";
//
// tabPage7
//
this.tabPage7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tabPage7.Location = new System.Drawing.Point(201, 0);
this.tabPage7.Location = new System.Drawing.Point(161, 0);
this.tabPage7.Name = "tabPage7";
this.tabPage7.Size = new System.Drawing.Size(469, 239);
this.tabPage7.Size = new System.Drawing.Size(509, 239);
this.tabPage7.TabIndex = 2;
this.tabPage7.Text = "tabPage7";
//
// tabPage8
//
this.tabPage8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tabPage8.Location = new System.Drawing.Point(201, 0);
this.tabPage8.Location = new System.Drawing.Point(161, 0);
this.tabPage8.Name = "tabPage8";
this.tabPage8.Size = new System.Drawing.Size(469, 239);
this.tabPage8.Size = new System.Drawing.Size(509, 239);
this.tabPage8.TabIndex = 3;
this.tabPage8.Text = "tabPage8";
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.IsScaled = false;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 286);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -114,11 +113,11 @@ namespace Sunny.UI.Demo
this.uiLine2.TabIndex = 24;
this.uiLine2.Text = "UITabControlMenu";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.IsScaled = false;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -126,6 +125,7 @@ namespace Sunny.UI.Demo
this.uiLine1.TabIndex = 23;
this.uiLine1.Text = "UITabControl";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiTabControl1
//
@ -138,18 +138,20 @@ namespace Sunny.UI.Demo
this.uiTabControl1.Controls.Add(this.tabPage12);
this.uiTabControl1.Controls.Add(this.tabPage13);
this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.Frame = null;
this.uiTabControl1.ItemSize = new System.Drawing.Size(150, 40);
this.uiTabControl1.Location = new System.Drawing.Point(30, 85);
this.uiTabControl1.MainPage = "主页";
this.uiTabControl1.MenuStyle = Sunny.UI.UIMenuStyle.Custom;
this.uiTabControl1.Name = "uiTabControl1";
this.uiTabControl1.SelectedIndex = 0;
this.uiTabControl1.ShowActiveCloseButton = true;
this.uiTabControl1.ShowCloseButton = true;
this.uiTabControl1.Size = new System.Drawing.Size(670, 183);
this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.uiTabControl1.TabIndex = 22;
this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiTabControl1.BeforeRemoveTabPage += new Sunny.UI.UITabControl.OnBeforeRemoveTabPage(this.uiTabControl1_BeforeRemoveTabPage);
//
// tabPage1
@ -166,7 +168,7 @@ namespace Sunny.UI.Demo
this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.tabPage2.Location = new System.Drawing.Point(0, 40);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(670, 143);
this.tabPage2.Size = new System.Drawing.Size(200, 60);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "页面";
//

View File

@ -54,18 +54,15 @@ namespace Sunny.UI.Demo
//
// uiTextBox6
//
this.uiTextBox6.ButtonSymbol = 61761;
this.uiTextBox6.ButtonWidth = 100;
this.uiTextBox6.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox6.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox6.Location = new System.Drawing.Point(117, 167);
this.uiTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox6.Maximum = 2147483647D;
this.uiTextBox6.Minimum = -2147483648D;
this.uiTextBox6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox6.Name = "uiTextBox6";
this.uiTextBox6.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox6.ShowText = false;
this.uiTextBox6.Size = new System.Drawing.Size(221, 29);
this.uiTextBox6.Symbol = 61461;
this.uiTextBox6.TabIndex = 2;
@ -74,19 +71,16 @@ namespace Sunny.UI.Demo
//
// uiTextBox5
//
this.uiTextBox5.ButtonSymbol = 61761;
this.uiTextBox5.ButtonWidth = 100;
this.uiTextBox5.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox5.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox5.Icon = global::Sunny.UI.Demo.Properties.Resources.Home_32x32;
this.uiTextBox5.Location = new System.Drawing.Point(117, 128);
this.uiTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox5.Maximum = 2147483647D;
this.uiTextBox5.Minimum = -2147483648D;
this.uiTextBox5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox5.Name = "uiTextBox5";
this.uiTextBox5.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox5.ShowText = false;
this.uiTextBox5.Size = new System.Drawing.Size(221, 29);
this.uiTextBox5.TabIndex = 1;
this.uiTextBox5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
@ -94,19 +88,17 @@ namespace Sunny.UI.Demo
//
// uiTextBox4
//
this.uiTextBox4.ButtonSymbol = 61761;
this.uiTextBox4.ButtonWidth = 100;
this.uiTextBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox4.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox4.Location = new System.Drawing.Point(30, 325);
this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox4.Maximum = 2147483647D;
this.uiTextBox4.Minimum = -2147483648D;
this.uiTextBox4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox4.Multiline = true;
this.uiTextBox4.Name = "uiTextBox4";
this.uiTextBox4.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox4.ShowScrollBar = true;
this.uiTextBox4.ShowText = false;
this.uiTextBox4.Size = new System.Drawing.Size(308, 226);
this.uiTextBox4.TabIndex = 5;
this.uiTextBox4.Text = "Blog: https://www.cnblogs.com/yhuse\r\nGitee: https://gitee.com/yhuse/SunnyUI\r\nGitH" +
@ -117,8 +109,7 @@ namespace Sunny.UI.Demo
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.Location = new System.Drawing.Point(388, 286);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
@ -129,8 +120,7 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 286);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -141,27 +131,24 @@ namespace Sunny.UI.Demo
//
// uiRichTextBox1
//
this.uiRichTextBox1.AutoWordSelection = true;
this.uiRichTextBox1.FillColor = System.Drawing.Color.White;
this.uiRichTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiRichTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRichTextBox1.Font = new System.Drawing.Font("宋体", 12F);
this.uiRichTextBox1.Location = new System.Drawing.Point(388, 325);
this.uiRichTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiRichTextBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRichTextBox1.Name = "uiRichTextBox1";
this.uiRichTextBox1.Padding = new System.Windows.Forms.Padding(2);
this.uiRichTextBox1.ShowText = false;
this.uiRichTextBox1.Size = new System.Drawing.Size(308, 226);
this.uiRichTextBox1.TabIndex = 6;
this.uiRichTextBox1.Text = "Blog: https://www.cnblogs.com/yhuse\nGitee: https://gitee.com/yhuse/SunnyUI\nGitHub" +
": https://github.com/yhuse/SunnyUI\nSunnyUI.Net 系列文章目录\n欢迎交流QQ群 56829229 (SunnyU" +
"I技术交流群)请给源码项目点个Star吧";
this.uiRichTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiRichTextBox1.WordWrap = true;
//
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine5.Location = new System.Drawing.Point(388, 132);
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine5.Name = "uiLine5";
@ -172,8 +159,7 @@ namespace Sunny.UI.Demo
//
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine4.Location = new System.Drawing.Point(388, 55);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
@ -184,8 +170,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -196,12 +181,12 @@ namespace Sunny.UI.Demo
//
// uiDoubleUpDown1
//
this.uiDoubleUpDown1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiDoubleUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDoubleUpDown1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDoubleUpDown1.Location = new System.Drawing.Point(388, 167);
this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiDoubleUpDown1.MinimumSize = new System.Drawing.Size(100, 0);
this.uiDoubleUpDown1.Name = "uiDoubleUpDown1";
this.uiDoubleUpDown1.ShowText = false;
this.uiDoubleUpDown1.Size = new System.Drawing.Size(150, 29);
this.uiDoubleUpDown1.TabIndex = 8;
this.uiDoubleUpDown1.Text = "uiDoubleUpDown1";
@ -211,7 +196,7 @@ namespace Sunny.UI.Demo
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.Location = new System.Drawing.Point(38, 249);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(65, 21);
@ -221,19 +206,16 @@ namespace Sunny.UI.Demo
//
// uiTextBox3
//
this.uiTextBox3.ButtonSymbol = 61761;
this.uiTextBox3.ButtonWidth = 100;
this.uiTextBox3.CanEmpty = true;
this.uiTextBox3.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTextBox3.Font = new System.Drawing.Font("宋体", 12F);
this.uiTextBox3.Location = new System.Drawing.Point(117, 245);
this.uiTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox3.Maximum = 2147483647D;
this.uiTextBox3.Minimum = -2147483648D;
this.uiTextBox3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox3.Name = "uiTextBox3";
this.uiTextBox3.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox3.ShowText = false;
this.uiTextBox3.Size = new System.Drawing.Size(221, 29);
this.uiTextBox3.TabIndex = 4;
this.uiTextBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
@ -243,7 +225,7 @@ namespace Sunny.UI.Demo
// uiLabel2
//
this.uiLabel2.AutoSize = true;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.Location = new System.Drawing.Point(38, 210);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(65, 21);
@ -253,24 +235,23 @@ namespace Sunny.UI.Demo
//
// uiTextBox2
//
this.uiTextBox2.ButtonSymbol = 61761;
this.uiTextBox2.ButtonWidth = 100;
this.uiTextBox2.CanEmpty = true;
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox2.DoubleValue = 5D;
this.uiTextBox2.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTextBox2.IntValue = 5;
this.uiTextBox2.DoubleValue = 50D;
this.uiTextBox2.Font = new System.Drawing.Font("宋体", 12F);
this.uiTextBox2.IntValue = 50;
this.uiTextBox2.Location = new System.Drawing.Point(117, 206);
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox2.Maximum = 9D;
this.uiTextBox2.Minimum = 0D;
this.uiTextBox2.Maximum = 200D;
this.uiTextBox2.Minimum = 50D;
this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox2.Name = "uiTextBox2";
this.uiTextBox2.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox2.ShowText = false;
this.uiTextBox2.Size = new System.Drawing.Size(221, 29);
this.uiTextBox2.TabIndex = 3;
this.uiTextBox2.Text = "5";
this.uiTextBox2.Text = "50";
this.uiTextBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTextBox2.Type = Sunny.UI.UITextBox.UIEditType.Integer;
this.uiTextBox2.Watermark = "水印文字";
@ -278,7 +259,7 @@ namespace Sunny.UI.Demo
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.Location = new System.Drawing.Point(38, 93);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(55, 21);
@ -288,14 +269,14 @@ namespace Sunny.UI.Demo
//
// uiIntegerUpDown1
//
this.uiIntegerUpDown1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiIntegerUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiIntegerUpDown1.Font = new System.Drawing.Font("宋体", 12F);
this.uiIntegerUpDown1.Location = new System.Drawing.Point(388, 89);
this.uiIntegerUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiIntegerUpDown1.Maximum = 100;
this.uiIntegerUpDown1.Minimum = -100;
this.uiIntegerUpDown1.MinimumSize = new System.Drawing.Size(100, 0);
this.uiIntegerUpDown1.Name = "uiIntegerUpDown1";
this.uiIntegerUpDown1.ShowText = false;
this.uiIntegerUpDown1.Size = new System.Drawing.Size(150, 29);
this.uiIntegerUpDown1.TabIndex = 7;
this.uiIntegerUpDown1.Text = "_uiIntegerUpDown1";
@ -310,17 +291,15 @@ namespace Sunny.UI.Demo
//
// uiTextBox1
//
this.uiTextBox1.ButtonSymbol = 61761;
this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox1.Location = new System.Drawing.Point(117, 89);
this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox1.Maximum = 2147483647D;
this.uiTextBox1.Minimum = -2147483648D;
this.uiTextBox1.MinimumSize = new System.Drawing.Size(1, 16);
this.uiTextBox1.Name = "uiTextBox1";
this.uiTextBox1.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox1.ShowButton = true;
this.uiTextBox1.ShowText = false;
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
this.uiTextBox1.TabIndex = 52;
this.uiTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
@ -330,8 +309,7 @@ namespace Sunny.UI.Demo
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.Location = new System.Drawing.Point(388, 211);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
@ -342,17 +320,16 @@ namespace Sunny.UI.Demo
//
// uiipTextBox1
//
this.uiipTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiipTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiipTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiipTextBox1.Location = new System.Drawing.Point(388, 245);
this.uiipTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiipTextBox1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiipTextBox1.Name = "uiipTextBox1";
this.uiipTextBox1.Padding = new System.Windows.Forms.Padding(1);
this.uiipTextBox1.ShowText = false;
this.uiipTextBox1.Size = new System.Drawing.Size(150, 29);
this.uiipTextBox1.TabIndex = 55;
this.uiipTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiipTextBox1.Value = null;
//
// FTextBox
//

View File

@ -5,6 +5,9 @@
public FTextBox()
{
InitializeComponent();
uiTextBox1.SetTipsText(uiToolTip1, "Hello World.");
uiTextBox5.SetTipsText(uiToolTip1, "Hello World.");
}
private void FTextBox_Shown(object sender, System.EventArgs e)
@ -14,7 +17,7 @@
private void uiTextBox1_ButtonClick(object sender, System.EventArgs e)
{
ShowInfoTip("您点击了编辑框的按钮。");
this.ShowInfoTip("您点击了编辑框的按钮。");
}
}
}

View File

@ -35,7 +35,7 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -46,7 +46,7 @@ namespace Sunny.UI.Demo
//
// uiTransfer1
//
this.uiTransfer1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTransfer1.Font = new System.Drawing.Font("宋体", 12F);
this.uiTransfer1.ItemsLeft.AddRange(new object[] {
"1",
"2",

View File

@ -29,7 +29,6 @@ namespace Sunny.UI.Demo
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("节点8");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("节点9");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("节点10");
@ -62,15 +61,15 @@ namespace Sunny.UI.Demo
treeNode17,
treeNode18,
treeNode19});
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FTreeView));
this.uiLine1 = new Sunny.UI.UILine();
this.uiTreeView1 = new Sunny.UI.UITreeView();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -81,12 +80,10 @@ namespace Sunny.UI.Demo
//
// uiTreeView1
//
this.uiTreeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.uiTreeView1.CheckBoxes = true;
this.uiTreeView1.FillColor = System.Drawing.Color.White;
this.uiTreeView1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTreeView1.ImageIndex = 0;
this.uiTreeView1.ImageList = this.imageList1;
this.uiTreeView1.Font = new System.Drawing.Font("宋体", 12F);
this.uiTreeView1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiTreeView1.Location = new System.Drawing.Point(30, 89);
this.uiTreeView1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTreeView1.MinimumSize = new System.Drawing.Size(1, 1);
@ -142,24 +139,13 @@ namespace Sunny.UI.Demo
treeNode15,
treeNode16,
treeNode20});
this.uiTreeView1.SelectedImageIndex = 0;
this.uiTreeView1.SelectedNode = null;
this.uiTreeView1.ShowLines = true;
this.uiTreeView1.ScrollBarStyleInherited = false;
this.uiTreeView1.ShowText = false;
this.uiTreeView1.Size = new System.Drawing.Size(266, 313);
this.uiTreeView1.TabIndex = 20;
this.uiTreeView1.Text = null;
this.uiTreeView1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "16x16_blend.png");
this.imageList1.Images.SetKeyName(1, "16x16_bookmark.png");
this.imageList1.Images.SetKeyName(2, "16x16_bookmark_add.png");
this.imageList1.Images.SetKeyName(3, "16x16_bookmark_add2.png");
this.imageList1.Images.SetKeyName(4, "16x16_bookmark_folder.png");
//
// FTreeView
//
this.AllowShowTitle = true;
@ -180,6 +166,5 @@ namespace Sunny.UI.Demo
private UILine uiLine1;
private UITreeView uiTreeView1;
private System.Windows.Forms.ImageList imageList1;
}
}

View File

@ -117,70 +117,4 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD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9AG9ApQIvQKUAeMB8QEAAf8BvAiZApMBvAgAAf8CUwH/DAAB/wJTAf8HAAHzBhoB9AHzA70BlAGT
Af8XAAKaDgACmgkABP8BAAH0ARoC8wG9ARoBkwH/AQABQgFNAT4HAAE+AwABKAMAAUADAAEgAwABAQEA
AQEGAAEBFgAD/wEAAf8B+QYAAf8BOAYAAYABAQcAAQEHAAEBBwABARcAAQEHAAEBBwABAQcAAQEHAAED
BwABBwYAAYMB/wYAAv8GAAL/BMMB+AEFAcABAwHBAYMBwQGDAfABAQGAAQEBwAEHAcABAQHgAwAB4AEH
AeABAAGAAwAB4AEHAeABAAGAAwAB4AEHAeAFAAHAAQMBwAEBBAABgAEBAYABARwAAfgBDwH4AQ8EAAH8
AT8B/AE/AgABgAEBAfwBPwH8AT8CAAGAAQMB/AE/AfwBPwGAAQAC/wH+AX8B/gF/AcIBAQs=
</value>
</data>
</root>

View File

@ -29,147 +29,286 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("控件");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("窗体");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("图表");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("工控");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("主题");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
this.uiLogo1 = new Sunny.UI.UILogo();
this.uiAvatar = new Sunny.UI.UIAvatar();
this.StyleManager = new Sunny.UI.UIStyleManager(this.components);
this.uiContextMenuStrip1 = new Sunny.UI.UIContextMenuStrip();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.Header.SuspendLayout();
this.NHome = new System.Windows.Forms.ToolStripMenuItem();
this.NAbout = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.NZhCN = new System.Windows.Forms.ToolStripMenuItem();
this.NZhTW = new System.Windows.Forms.ToolStripMenuItem();
this.NEnUS = new System.Windows.Forms.ToolStripMenuItem();
this.StyleManager = new Sunny.UI.UIStyleManager(this.components);
this.uiNavBar1 = new Sunny.UI.UINavBar();
this.uiAvatar1 = new Sunny.UI.UIAvatar();
this.uiLogo1 = new Sunny.UI.UILogo();
this.uiPanel1 = new Sunny.UI.UIPanel();
this.uiPanel4 = new Sunny.UI.UIPanel();
this.uiPanel3 = new Sunny.UI.UIPanel();
this.uiPanel2 = new Sunny.UI.UIPanel();
this.uiNavMenu1 = new Sunny.UI.UINavMenu();
this.uiTabControl1 = new Sunny.UI.UITabControl();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.uiContextMenuStrip1.SuspendLayout();
this.uiNavBar1.SuspendLayout();
this.uiPanel1.SuspendLayout();
this.SuspendLayout();
//
// Aside
// uiContextMenuStrip1
//
this.Aside.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.Aside.ItemHeight = 36;
this.Aside.LineColor = System.Drawing.Color.Black;
this.Aside.Location = new System.Drawing.Point(2, 145);
this.Aside.MenuStyle = Sunny.UI.UIMenuStyle.Black;
this.Aside.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.Aside.ScrollBarHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.Aside.ScrollBarPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.Aside.ShowOneNode = true;
this.Aside.ShowSecondBackColor = true;
this.Aside.ShowTips = true;
this.Aside.Size = new System.Drawing.Size(250, 573);
this.Aside.Style = Sunny.UI.UIStyle.Custom;
this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiContextMenuStrip1.Font = new System.Drawing.Font("Tahoma", 12F);
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.NHome,
this.NAbout,
this.toolStripMenuItem1,
this.NZhCN,
this.NZhTW,
this.NEnUS});
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
this.uiContextMenuStrip1.Size = new System.Drawing.Size(143, 130);
//
// Header
// NHome
//
this.Header.Controls.Add(this.uiAvatar);
this.Header.Controls.Add(this.uiLogo1);
this.Header.Location = new System.Drawing.Point(2, 35);
treeNode1.ImageIndex = 1;
treeNode1.Name = "节点0";
treeNode1.Text = "控件";
treeNode2.Name = "节点1";
treeNode2.Text = "窗体";
treeNode3.Name = "节点2";
treeNode3.Text = "图表";
treeNode4.Name = "节点0";
treeNode4.Text = "工控";
treeNode5.Name = "节点2";
treeNode5.Text = "主题";
this.Header.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4,
treeNode5});
this.Header.NodeSize = new System.Drawing.Size(110, 45);
this.Header.SelectedIndex = 0;
this.Header.Size = new System.Drawing.Size(1020, 110);
this.Header.Style = Sunny.UI.UIStyle.Custom;
this.Header.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.Header_MenuItemClick);
this.NHome.Name = "NHome";
this.NHome.Size = new System.Drawing.Size(142, 24);
this.NHome.Text = "主页";
this.NHome.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// uiLogo1
// NAbout
//
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLogo1.Location = new System.Drawing.Point(2, 15);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.Name = "uiLogo1";
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
this.uiLogo1.Style = Sunny.UI.UIStyle.Custom;
this.uiLogo1.TabIndex = 3;
this.uiLogo1.Text = "uiLogo1";
this.NAbout.Name = "NAbout";
this.NAbout.Size = new System.Drawing.Size(142, 24);
this.NAbout.Text = "关于";
this.NAbout.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// uiAvatar
// toolStripMenuItem1
//
this.uiAvatar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiAvatar.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAvatar.Location = new System.Drawing.Point(939, 25);
this.uiAvatar.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar.Name = "uiAvatar";
this.uiAvatar.Size = new System.Drawing.Size(66, 70);
this.uiAvatar.TabIndex = 4;
this.uiAvatar.Text = "uiAvatar1";
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(139, 6);
//
// NZhCN
//
this.NZhCN.Name = "NZhCN";
this.NZhCN.Size = new System.Drawing.Size(142, 24);
this.NZhCN.Text = "简体中文";
this.NZhCN.Click += new System.EventHandler(this.NZhCN_Click);
//
// NZhTW
//
this.NZhTW.Name = "NZhTW";
this.NZhTW.Size = new System.Drawing.Size(142, 24);
this.NZhTW.Text = "繁体中文";
this.NZhTW.Click += new System.EventHandler(this.NZhTW_Click);
//
// NEnUS
//
this.NEnUS.Name = "NEnUS";
this.NEnUS.Size = new System.Drawing.Size(142, 24);
this.NEnUS.Text = "English";
this.NEnUS.Click += new System.EventHandler(this.NEnUS_Click);
//
// StyleManager
//
this.StyleManager.DPIScale = true;
this.StyleManager.GlobalFont = true;
this.StyleManager.GlobalFontName = "Tahoma";
this.StyleManager.MultiLanguageSupport = true;
//
// uiContextMenuStrip1
// uiNavBar1
//
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem1});
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 56);
this.uiNavBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.uiNavBar1.Controls.Add(this.uiAvatar1);
this.uiNavBar1.Controls.Add(this.uiLogo1);
this.uiNavBar1.Dock = System.Windows.Forms.DockStyle.Top;
this.uiNavBar1.DropMenuFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavBar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiNavBar1.Location = new System.Drawing.Point(2, 36);
this.uiNavBar1.MenuHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.uiNavBar1.MenuSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
this.uiNavBar1.MenuStyle = Sunny.UI.UIMenuStyle.White;
this.uiNavBar1.Name = "uiNavBar1";
this.uiNavBar1.Size = new System.Drawing.Size(1128, 126);
this.uiNavBar1.TabIndex = 1;
this.uiNavBar1.Text = "uiNavBar1";
this.uiNavBar1.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.uiNavBar1_MenuItemClick);
//
// 关于ToolStripMenuItem
// uiAvatar1
//
this.ToolStripMenuItem.Name = "关于ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
this.ToolStripMenuItem.Text = "主页";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
this.uiAvatar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiAvatar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiAvatar1.Location = new System.Drawing.Point(1048, 33);
this.uiAvatar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAvatar1.Name = "uiAvatar1";
this.uiAvatar1.Size = new System.Drawing.Size(60, 60);
this.uiAvatar1.TabIndex = 5;
this.uiAvatar1.Text = "uiAvatar1";
//
// 关于ToolStripMenuItem1
// uiLogo1
//
this.ToolStripMenuItem1.Name = "关于ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(112, 26);
this.ToolStripMenuItem1.Text = "关于";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(8, 23);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.Name = "uiLogo1";
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
this.uiLogo1.TabIndex = 4;
this.uiLogo1.Text = "uiLogo1";
//
// uiPanel1
//
this.uiPanel1.Controls.Add(this.uiPanel4);
this.uiPanel1.Controls.Add(this.uiPanel3);
this.uiPanel1.Controls.Add(this.uiPanel2);
this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel1.Location = new System.Drawing.Point(2, 812);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Top;
this.uiPanel1.Size = new System.Drawing.Size(1128, 32);
this.uiPanel1.TabIndex = 3;
this.uiPanel1.Text = null;
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiPanel4
//
this.uiPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel4.Location = new System.Drawing.Point(286, 0);
this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel4.Name = "uiPanel4";
this.uiPanel4.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel4.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Top;
this.uiPanel4.Size = new System.Drawing.Size(556, 32);
this.uiPanel4.TabIndex = 2;
this.uiPanel4.Text = null;
this.uiPanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiPanel3
//
this.uiPanel3.Dock = System.Windows.Forms.DockStyle.Right;
this.uiPanel3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel3.Location = new System.Drawing.Point(842, 0);
this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel3.MultiLanguageSupport = false;
this.uiPanel3.Name = "uiPanel3";
this.uiPanel3.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel3.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)));
this.uiPanel3.Size = new System.Drawing.Size(286, 32);
this.uiPanel3.TabIndex = 1;
this.uiPanel3.Text = null;
this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiPanel2
//
this.uiPanel2.Dock = System.Windows.Forms.DockStyle.Left;
this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel2.Location = new System.Drawing.Point(0, 0);
this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel2.MultiLanguageSupport = false;
this.uiPanel2.Name = "uiPanel2";
this.uiPanel2.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel2.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Top | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)));
this.uiPanel2.Size = new System.Drawing.Size(286, 32);
this.uiPanel2.TabIndex = 0;
this.uiPanel2.Text = null;
this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiNavMenu1
//
this.uiNavMenu1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.uiNavMenu1.Dock = System.Windows.Forms.DockStyle.Left;
this.uiNavMenu1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.uiNavMenu1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiNavMenu1.FullRowSelect = true;
this.uiNavMenu1.HotTracking = true;
this.uiNavMenu1.ItemHeight = 35;
this.uiNavMenu1.Location = new System.Drawing.Point(2, 162);
this.uiNavMenu1.Name = "uiNavMenu1";
this.uiNavMenu1.ShowLines = false;
this.uiNavMenu1.ShowOneNode = true;
this.uiNavMenu1.ShowPlusMinus = false;
this.uiNavMenu1.ShowRootLines = false;
this.uiNavMenu1.Size = new System.Drawing.Size(286, 650);
this.uiNavMenu1.TabIndex = 4;
this.uiNavMenu1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// uiTabControl1
//
this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.Frame = this;
this.uiTabControl1.ItemSize = new System.Drawing.Size(0, 1);
this.uiTabControl1.Location = new System.Drawing.Point(288, 162);
this.uiTabControl1.MainPage = "";
this.uiTabControl1.Name = "uiTabControl1";
this.uiTabControl1.SelectedIndex = 0;
this.uiTabControl1.Size = new System.Drawing.Size(842, 650);
this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.uiTabControl1.TabIndex = 5;
this.uiTabControl1.TabVisible = false;
this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// FMain
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1024, 720);
this.ClientSize = new System.Drawing.Size(1132, 846);
this.CloseAskString = "您确认要退出程序吗?";
this.Controls.Add(this.uiTabControl1);
this.Controls.Add(this.uiNavMenu1);
this.Controls.Add(this.uiPanel1);
this.Controls.Add(this.uiNavBar1);
this.ExtendBox = true;
this.ExtendMenu = this.uiContextMenuStrip1;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(1024, 720);
this.IconImage = global::Sunny.UI.Demo.Properties.Resources.Sunny24;
this.MainTabControl = this.uiTabControl1;
this.Name = "FMain";
this.Padding = new System.Windows.Forms.Padding(2, 35, 2, 2);
this.Padding = new System.Windows.Forms.Padding(2, 36, 2, 2);
this.Resizable = true;
this.ShowDragStretch = true;
this.ShowRadius = false;
this.ShowShadow = true;
this.Text = "SunnyUI.Net";
this.Selecting += new Sunny.UI.UIMainFrame.OnSelecting(this.FMain_Selecting);
this.HotKeyEventHandler += new Sunny.UI.HotKeyEventHandler(this.FMain_HotKeyEventHandler);
this.Controls.SetChildIndex(this.Header, 0);
this.Controls.SetChildIndex(this.Aside, 0);
this.Header.ResumeLayout(false);
this.Text = "Form1";
this.ZoomScaleRect = new System.Drawing.Rectangle(15, 15, 1132, 846);
this.HotKeyEventHandler += new Sunny.UI.HotKeyEventHandler(this.Form1_HotKeyEventHandler);
this.PageSelected += new Sunny.UI.OnUIPageChanged(this.Form1_PageSelected);
this.ReceiveParams += new Sunny.UI.OnReceiveParams(this.Form1_ReceiveParams);
this.uiContextMenuStrip1.ResumeLayout(false);
this.uiNavBar1.ResumeLayout(false);
this.uiPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UILogo uiLogo1;
private UIAvatar uiAvatar;
private UIStyleManager StyleManager;
private UIContextMenuStrip uiContextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem NHome;
private System.Windows.Forms.ToolStripMenuItem NAbout;
private UIStyleManager StyleManager;
private UINavBar uiNavBar1;
private UIPanel uiPanel1;
private UINavMenu uiNavMenu1;
private UITabControl uiTabControl1;
private UILogo uiLogo1;
private UIAvatar uiAvatar1;
private UIPanel uiPanel2;
private UIPanel uiPanel3;
private System.Windows.Forms.Timer timer1;
private UIPanel uiPanel4;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem NZhCN;
private System.Windows.Forms.ToolStripMenuItem NZhTW;
private System.Windows.Forms.ToolStripMenuItem NEnUS;
}
}

View File

@ -1,117 +1,170 @@
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace Sunny.UI.Demo
{
public partial class FMain : UIHeaderAsideMainFrame
/// <summary>
/// WindowsXP、Windows7、Windows10、Windows11 建议使用 UIForm
/// Windows10、Windows11 可尝试使用 UIForm2更接近原生窗体使用体验用 UIForm 也可以
/// </summary>
public partial class FMain : UIForm
{
public FMain()
{
InitializeComponent();
//关联窗体承载多页面框架的容器UITabControl
//窗体上如果只有一个UITabControl也会自动关联超过一个需要手动关联
this.MainTabControl = uiTabControl1;
uiNavBar1.TabControl = uiTabControl1;
uiNavMenu1.TabControl = uiTabControl1;
//设置初始页面索引(关联页面,唯一不重复即可)
int pageIndex = 1000;
Header.SetNodePageIndex(Header.Nodes[0], pageIndex);
Header.SetNodeSymbol(Header.Nodes[0], 61451);
TreeNode parent = Aside.CreateNode("控件", 61451, 24, pageIndex);
//uiNavBar1设置节点也可以在Nodes属性里配置
uiNavBar1.Nodes.Add("控件");
uiNavBar1.Nodes.Add("窗体");
uiNavBar1.Nodes.Add("图表");
uiNavBar1.Nodes.Add("工控");
uiNavBar1.Nodes.Add("主题");
uiNavBar1.SetNodePageIndex(uiNavBar1.Nodes[0], pageIndex);
uiNavBar1.SetNodeSymbol(uiNavBar1.Nodes[0], 61451);
TreeNode parent = uiNavMenu1.CreateNode("控件", 61451, 24, pageIndex);
//通过设置PageIndex关联节点文字、图标由相应的Page的Text、Symbol提供
Aside.CreateChildNode(parent, AddPage(new FAvatar(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FButton(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FCheckBox(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FCombobox(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FContextMenuStrip(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FDataGridView(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FFlowLayoutPanel(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FHeaderButton(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FLabel(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FLine(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FListBox(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FNavigation(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FPanel(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FProcess(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FRadioButton(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FScrollBar(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FSplitContainer(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FTabControl(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FTextBox(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FTransfer(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FTreeView(), ++pageIndex));
Aside.CreateChildNode(parent, AddPage(new FOther(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FAvatar(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FButton(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FCheckBox(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FCombobox(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FContextMenuStrip(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FDataGridView(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FFlowLayoutPanel(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FHeaderButton(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FLabel(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FLine(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FListBox(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FNavigation(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FPanel(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FProcess(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FRadioButton(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FScrollBar(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FSplitContainer(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FTabControl(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FTextBox(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FTransfer(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FTreeView(), ++pageIndex));
uiNavMenu1.CreateChildNode(parent, AddPage(new FOther(), ++pageIndex));
//示例设置某个节点的小红点提示
Aside.ShowTips = true;
Aside.SetNodeTipsText(parent.Nodes[0], "6", Color.Red, Color.White);
Aside.SetNodeTipsText(parent.Nodes[1], " ", Color.Lime, Color.White);
uiNavMenu1.ShowTips = true;
uiNavMenu1.SetNodeTipsText(uiNavMenu1.Nodes[0], "6", Color.Red, Color.White);
uiNavMenu1.SetNodeTipsText(parent.Nodes[1], " ", Color.Lime, Color.White);
pageIndex = 2000;
Header.SetNodePageIndex(Header.Nodes[1], pageIndex);
Header.SetNodeSymbol(Header.Nodes[1], 61818);
parent = Aside.CreateNode("窗体", 61818, 24, pageIndex);
uiNavBar1.SetNodePageIndex(uiNavBar1.Nodes[1], pageIndex);
uiNavBar1.SetNodeSymbol(uiNavBar1.Nodes[1], 61818);
parent = uiNavMenu1.CreateNode("窗体", 61818, 24, pageIndex);
//通过设置GUID关联节点字体图标和大小由UIPage设置
Aside.CreateChildNode(parent, AddPage(new FDialogs(), Guid.NewGuid()));
Aside.CreateChildNode(parent, AddPage(new FEditor(), Guid.NewGuid()));
Aside.CreateChildNode(parent, AddPage(new FFrames(), Guid.NewGuid()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FDialogs(), Guid.NewGuid()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FEditor(), Guid.NewGuid()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FFrames(), Guid.NewGuid()));
pageIndex = 3000;
Header.SetNodePageIndex(Header.Nodes[2], pageIndex);
Header.SetNodeSymbol(Header.Nodes[2], 61950);
parent = Aside.CreateNode("图表", 61950, 24, pageIndex);
uiNavBar1.SetNodePageIndex(uiNavBar1.Nodes[2], pageIndex);
uiNavBar1.SetNodeSymbol(uiNavBar1.Nodes[2], 61950);
parent = uiNavMenu1.CreateNode("图表", 61950, 24, pageIndex);
//直接关联默认自动生成GUID
Aside.CreateChildNode(parent, AddPage(new FBarChart()));
Aside.CreateChildNode(parent, AddPage(new FDoughnutChart()));
Aside.CreateChildNode(parent, AddPage(new FLineChart()));
Aside.CreateChildNode(parent, AddPage(new FPieChart()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FBarChart()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FDoughnutChart()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FLineChart()));
uiNavMenu1.CreateChildNode(parent, AddPage(new FPieChart()));
pageIndex = 4000;
Header.SetNodePageIndex(Header.Nodes[3], pageIndex);
Header.SetNodeSymbol(Header.Nodes[3], 362614);
parent = Aside.CreateNode("工控", 362614, 24, pageIndex);
uiNavBar1.SetNodePageIndex(uiNavBar1.Nodes[3], pageIndex);
uiNavBar1.SetNodeSymbol(uiNavBar1.Nodes[3], 362614);
parent = uiNavMenu1.CreateNode("工控", 362614, 24, pageIndex);
//直接关联默认自动生成GUID
Aside.CreateChildNode(parent, AddPage(new FPipe()));
Aside.CreateChildNode(parent, AddPage(new FMeter()));
Aside.CreateChildNode(parent, AddPage(new FLed()));
Aside.CreateChildNode(parent, AddPage(new FLight()));
Header.SetNodeSymbol(Header.Nodes[4], 61502);
uiNavMenu1.CreateChildNode(parent, AddPage(CreateInstance<UIPage>("Sunny.UI.Demo.FPipe")));
uiNavMenu1.CreateChildNode(parent, AddPage(CreateInstance<UIPage>("Sunny.UI.Demo.FMeter")));
uiNavMenu1.CreateChildNode(parent, AddPage(CreateInstance<UIPage>("Sunny.UI.Demo.FLed")));
uiNavMenu1.CreateChildNode(parent, AddPage(CreateInstance<UIPage>("Sunny.UI.Demo.FLight")));
uiNavMenu1.CreateChildNode(parent, AddPage(CreateInstance<UIPage>("Sunny.UI.Demo.FSwitch")));
uiNavBar1.SetNodeSymbol(uiNavBar1.Nodes[4], 61502);
var styles = UIStyles.PopularStyles();
foreach (UIStyle style in styles)
{
Header.CreateChildNode(Header.Nodes[4], style.DisplayText(), style.Value());
uiNavBar1.CreateChildNode(uiNavBar1.Nodes[4], style.Description(), style.Value());
}
Header.CreateChildNode(Header.Nodes[4], "多彩主题", UIStyle.Colorful.Value());
//直接增加一个页面,不在左侧列表显示
AddPage(new FColorful());
var node = uiNavBar1.CreateChildNode(uiNavBar1.Nodes[4], "字体图标", 99999);
uiNavBar1.SetNodeSymbol(node, 558426);
node = uiNavBar1.CreateChildNode(uiNavBar1.Nodes[4], "多彩主题", UIStyle.Colorful.Value());
uiNavBar1.SetNodeSymbol(node, 558295);
//左侧导航主节点关联页面
uiNavMenu1.CreateNode(AddPage(new FSymbols(), 99999));
uiNavMenu1.CreateNode(AddPage(new FColorful(), UIStyle.Colorful.Value()));
//直接增加一个页面,不在左侧列表显示
AddPage(new FCommon());
//选中第一个节点
Aside.SelectPage(1002);
Text = Version + " Build " + Properties.Resources.BuildDate;
uiNavMenu1.SelectPage(1002);
uiPanel2.Text = Text = Version;
//设置全局热键
RegisterHotKey(UI.ModifierKeys.Shift, Keys.F8);
//根据页面类型获取页面
FButton page = GetPage<FButton>();
if (page != null)
page.Text.WriteConsole();
//根据页面索引获取页面
UIPage page1 = GetPage(1002);
if (page1 != null)
page1.Text.WriteConsole();
timer1.Start();
}
private void Header_MenuItemClick(string text, int menuIndex, int pageIndex)
/// <summary>
/// 创建对象实例
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="fullName">命名空间.类型名</param>
/// <returns></returns>
public static T CreateInstance<T>(string fullName)
{
Type o = Type.GetType(fullName);
dynamic obj = Activator.CreateInstance(o, true);
return (T)obj;//类型转换并返回
}
private void uiNavBar1_MenuItemClick(string itemText, int menuIndex, int pageIndex)
{
switch (menuIndex)
{
case 4:
UIStyle style = (UIStyle)pageIndex;
if (style != UIStyle.Colorful)
if (pageIndex < UIStyle.Colorful.Value())
StyleManager.Style = style;
else
SelectPage(pageIndex);
uiNavMenu1.SelectPage(pageIndex);
break;
default:
Aside.SelectPage(pageIndex);
uiNavMenu1.SelectPage(pageIndex);
break;
}
}
private void FMain_Selecting(object sender, TabControlCancelEventArgs e, UIPage page)
private void Form1_PageSelected(object sender, UIPageEventArgs e)
{
Console.WriteLine(page?.Text);
if (e.Page != null)
Console.WriteLine(e.Page.Text);
}
private void ToolStripMenuItem1_Click(object sender, EventArgs e)
@ -121,15 +174,82 @@ namespace Sunny.UI.Demo
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("https://gitee.com/yhuse/SunnyUI");
Process.Start("https://gitee.com/yhuse/SunnyUI");
}
private void FMain_HotKeyEventHandler(object sender, HotKeyEventArgs e)
/// <summary>
/// 全局热键事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Form1_HotKeyEventHandler(object sender, HotKeyEventArgs e)
{
if (e.hotKey.ModifierKey == UI.ModifierKeys.Shift && e.hotKey.Key == Keys.F8)
{
ShowInfoTip("您按下了全局系统热键 Shift+F8");
this.ShowInfoTip("您按下了全局系统热键 Shift+F8");
}
}
private void Form1_ReceiveParams(object sender, UIPageParamsArgs e)
{
Text = e.Value.ToString();
SendParamToPage(1001, "传值给页面");
}
private void timer1_Tick(object sender, EventArgs e)
{
uiPanel3.Text = DateTime.Now.DateTimeString();
}
private void NZhCN_Click(object sender, EventArgs e)
{
UIStyles.CultureInfo = CultureInfos.zh_CN;
}
private void NZhTW_Click(object sender, EventArgs e)
{
UIStyles.CultureInfo = CultureInfos.zh_TW;
}
private void NEnUS_Click(object sender, EventArgs e)
{
UIStyles.CultureInfo = CultureInfos.en_US;
}
/// <summary>
/// 重载多语翻译
/// </summary>
public override void Translate()
{
//必须保留
base.Translate();
//读取翻译代码中的多语资源
CodeTranslator.Load(this);
//设置多语资源
this.CloseAskString = CodeTranslator.Current.CloseAskString;
this.uiNavMenu1.Nodes[0].Text = this.uiNavBar1.Nodes[0].Text = CodeTranslator.Current.Controls;
this.uiNavMenu1.Nodes[1].Text = this.uiNavBar1.Nodes[1].Text = CodeTranslator.Current.Forms;
this.uiNavMenu1.Nodes[2].Text = this.uiNavBar1.Nodes[2].Text = CodeTranslator.Current.Charts;
this.uiNavMenu1.Nodes[3].Text = this.uiNavBar1.Nodes[3].Text = CodeTranslator.Current.Industrial;
this.uiNavBar1.Nodes[4].Text = CodeTranslator.Current.Theme;
this.uiNavMenu1.Nodes[4].Text = CodeTranslator.Current.Symbols;
this.uiNavMenu1.Nodes[5].Text = CodeTranslator.Current.Colorful;
this.uiNavBar1.Invalidate();
this.uiNavMenu1.Invalidate();
}
private class CodeTranslator : IniCodeTranslator<CodeTranslator>
{
public string CloseAskString { get; set; } = "您确认要退出程序吗?";
public string Controls { get; set; } = "控件";
public string Forms { get; set; } = "窗体";
public string Charts { get; set; } = "图表";
public string Industrial { get; set; } = "工控";
public string Theme { get; set; } = "主题";
public string Symbols { get; set; } = "字体图标";
public string Colorful { get; set; } = "多彩主题";
}
}
}

View File

@ -117,11 +117,11 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="StyleManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>150, 17</value>
<value>328, 17</value>
</metadata>
<metadata name="StyleManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>506, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -864,4 +864,7 @@
AAAAAAAAAYAAAAGAAAAAAAAAAAAAAAAAAACAAQAAgAEAAMADAADwDwAA
</value>
</data>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>639, 17</value>
</metadata>
</root>

View File

@ -42,19 +42,27 @@ namespace Sunny.UI.Demo
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiPanel11 = new Sunny.UI.UIPanel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLine1 = new Sunny.UI.UILine();
this.uiLine2 = new Sunny.UI.UILine();
this.cbFont = new Sunny.UI.UIComboBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiLabel4 = new Sunny.UI.UILabel();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiTrackBar1 = new Sunny.UI.UITrackBar();
this.uiLabel5 = new Sunny.UI.UILabel();
this.SuspendLayout();
//
// uiPanel1
//
this.uiPanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(190)))), ((int)(((byte)(172)))));
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel1.ForeColor = System.Drawing.Color.White;
this.uiPanel1.Location = new System.Drawing.Point(23, 56);
this.uiPanel1.Location = new System.Drawing.Point(170, 95);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(190)))), ((int)(((byte)(172)))));
this.uiPanel1.Size = new System.Drawing.Size(120, 100);
this.uiPanel1.Size = new System.Drawing.Size(120, 80);
this.uiPanel1.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel1.StyleCustomMode = true;
this.uiPanel1.TabIndex = 0;
@ -64,15 +72,15 @@ namespace Sunny.UI.Demo
//
// uiPanel2
//
this.uiPanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(152)))), ((int)(((byte)(0)))));
this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(0)))));
this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel2.ForeColor = System.Drawing.Color.White;
this.uiPanel2.Location = new System.Drawing.Point(173, 56);
this.uiPanel2.Location = new System.Drawing.Point(310, 95);
this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel2.Name = "uiPanel2";
this.uiPanel2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(152)))), ((int)(((byte)(0)))));
this.uiPanel2.Size = new System.Drawing.Size(120, 100);
this.uiPanel2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(0)))));
this.uiPanel2.Size = new System.Drawing.Size(120, 80);
this.uiPanel2.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel2.StyleCustomMode = true;
this.uiPanel2.TabIndex = 1;
@ -83,14 +91,14 @@ namespace Sunny.UI.Demo
// uiPanel3
//
this.uiPanel3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(190)))), ((int)(((byte)(60)))));
this.uiPanel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel3.ForeColor = System.Drawing.Color.White;
this.uiPanel3.Location = new System.Drawing.Point(473, 56);
this.uiPanel3.Location = new System.Drawing.Point(450, 192);
this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel3.Name = "uiPanel3";
this.uiPanel3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(190)))), ((int)(((byte)(60)))));
this.uiPanel3.Size = new System.Drawing.Size(120, 100);
this.uiPanel3.Size = new System.Drawing.Size(120, 80);
this.uiPanel3.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel3.StyleCustomMode = true;
this.uiPanel3.TabIndex = 3;
@ -101,14 +109,14 @@ namespace Sunny.UI.Demo
// uiPanel4
//
this.uiPanel4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(100)))), ((int)(((byte)(80)))));
this.uiPanel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel4.ForeColor = System.Drawing.Color.White;
this.uiPanel4.Location = new System.Drawing.Point(323, 56);
this.uiPanel4.Location = new System.Drawing.Point(590, 192);
this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel4.Name = "uiPanel4";
this.uiPanel4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(100)))), ((int)(((byte)(80)))));
this.uiPanel4.Size = new System.Drawing.Size(120, 100);
this.uiPanel4.Size = new System.Drawing.Size(120, 80);
this.uiPanel4.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel4.StyleCustomMode = true;
this.uiPanel4.TabIndex = 2;
@ -119,14 +127,14 @@ namespace Sunny.UI.Demo
// uiPanel5
//
this.uiPanel5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(98)))), ((int)(((byte)(161)))));
this.uiPanel5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel5.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel5.ForeColor = System.Drawing.Color.White;
this.uiPanel5.Location = new System.Drawing.Point(623, 56);
this.uiPanel5.Location = new System.Drawing.Point(590, 95);
this.uiPanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel5.Name = "uiPanel5";
this.uiPanel5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(98)))), ((int)(((byte)(161)))));
this.uiPanel5.Size = new System.Drawing.Size(120, 100);
this.uiPanel5.Size = new System.Drawing.Size(120, 80);
this.uiPanel5.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel5.StyleCustomMode = true;
this.uiPanel5.TabIndex = 4;
@ -136,15 +144,15 @@ namespace Sunny.UI.Demo
//
// uiPanel6
//
this.uiPanel6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(94)))), ((int)(((byte)(99)))));
this.uiPanel6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.uiPanel6.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel6.ForeColor = System.Drawing.Color.White;
this.uiPanel6.Location = new System.Drawing.Point(473, 174);
this.uiPanel6.Location = new System.Drawing.Point(450, 95);
this.uiPanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel6.Name = "uiPanel6";
this.uiPanel6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(94)))), ((int)(((byte)(99)))));
this.uiPanel6.Size = new System.Drawing.Size(120, 100);
this.uiPanel6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
this.uiPanel6.Size = new System.Drawing.Size(120, 80);
this.uiPanel6.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel6.StyleCustomMode = true;
this.uiPanel6.TabIndex = 8;
@ -155,14 +163,14 @@ namespace Sunny.UI.Demo
// uiPanel7
//
this.uiPanel7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(126)))), ((int)(((byte)(164)))));
this.uiPanel7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel7.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel7.ForeColor = System.Drawing.Color.White;
this.uiPanel7.Location = new System.Drawing.Point(323, 174);
this.uiPanel7.Location = new System.Drawing.Point(310, 192);
this.uiPanel7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel7.Name = "uiPanel7";
this.uiPanel7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(126)))), ((int)(((byte)(164)))));
this.uiPanel7.Size = new System.Drawing.Size(120, 100);
this.uiPanel7.Size = new System.Drawing.Size(120, 80);
this.uiPanel7.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel7.StyleCustomMode = true;
this.uiPanel7.TabIndex = 7;
@ -173,14 +181,14 @@ namespace Sunny.UI.Demo
// uiPanel8
//
this.uiPanel8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(188)))), ((int)(((byte)(212)))));
this.uiPanel8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel8.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel8.ForeColor = System.Drawing.Color.White;
this.uiPanel8.Location = new System.Drawing.Point(173, 174);
this.uiPanel8.Location = new System.Drawing.Point(170, 192);
this.uiPanel8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel8.Name = "uiPanel8";
this.uiPanel8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(188)))), ((int)(((byte)(212)))));
this.uiPanel8.Size = new System.Drawing.Size(120, 100);
this.uiPanel8.Size = new System.Drawing.Size(120, 80);
this.uiPanel8.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel8.StyleCustomMode = true;
this.uiPanel8.TabIndex = 6;
@ -191,14 +199,14 @@ namespace Sunny.UI.Demo
// uiPanel9
//
this.uiPanel9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiPanel9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel9.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel9.ForeColor = System.Drawing.Color.White;
this.uiPanel9.Location = new System.Drawing.Point(23, 174);
this.uiPanel9.Location = new System.Drawing.Point(30, 192);
this.uiPanel9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel9.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel9.Name = "uiPanel9";
this.uiPanel9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiPanel9.Size = new System.Drawing.Size(120, 100);
this.uiPanel9.Size = new System.Drawing.Size(120, 80);
this.uiPanel9.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel9.StyleCustomMode = true;
this.uiPanel9.TabIndex = 5;
@ -209,14 +217,14 @@ namespace Sunny.UI.Demo
// uiPanel10
//
this.uiPanel10.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
this.uiPanel10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel10.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel10.ForeColor = System.Drawing.Color.White;
this.uiPanel10.Location = new System.Drawing.Point(623, 174);
this.uiPanel10.Location = new System.Drawing.Point(30, 95);
this.uiPanel10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel10.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel10.Name = "uiPanel10";
this.uiPanel10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
this.uiPanel10.Size = new System.Drawing.Size(120, 100);
this.uiPanel10.Size = new System.Drawing.Size(120, 80);
this.uiPanel10.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel10.StyleCustomMode = true;
this.uiPanel10.TabIndex = 9;
@ -226,8 +234,9 @@ namespace Sunny.UI.Demo
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Location = new System.Drawing.Point(23, 297);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel1.Location = new System.Drawing.Point(30, 288);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(698, 23);
this.uiLabel1.TabIndex = 10;
@ -237,14 +246,14 @@ namespace Sunny.UI.Demo
// uiPanel11
//
this.uiPanel11.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiPanel11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPanel11.Font = new System.Drawing.Font("宋体", 12F);
this.uiPanel11.ForeColor = System.Drawing.Color.White;
this.uiPanel11.Location = new System.Drawing.Point(23, 340);
this.uiPanel11.Location = new System.Drawing.Point(30, 326);
this.uiPanel11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel11.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel11.Name = "uiPanel11";
this.uiPanel11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiPanel11.Size = new System.Drawing.Size(120, 100);
this.uiPanel11.Size = new System.Drawing.Size(120, 80);
this.uiPanel11.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel11.StyleCustomMode = true;
this.uiPanel11.TabIndex = 11;
@ -254,20 +263,134 @@ namespace Sunny.UI.Demo
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Location = new System.Drawing.Point(23, 457);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel2.Location = new System.Drawing.Point(176, 383);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(172, 23);
this.uiLabel2.TabIndex = 12;
this.uiLabel2.Text = "RGB: 255, 255, 255 ";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLine1
//
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 430);
this.uiLine1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 29);
this.uiLine1.TabIndex = 13;
this.uiLine1.Text = "全局字体";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLine2
//
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 55);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(670, 20);
this.uiLine2.TabIndex = 78;
this.uiLine2.Text = "全局配色";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cbFont
//
this.cbFont.DataSource = null;
this.cbFont.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cbFont.FillColor = System.Drawing.Color.White;
this.cbFont.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbFont.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.cbFont.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.cbFont.Location = new System.Drawing.Point(101, 473);
this.cbFont.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cbFont.MinimumSize = new System.Drawing.Size(63, 0);
this.cbFont.Name = "cbFont";
this.cbFont.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cbFont.Size = new System.Drawing.Size(469, 29);
this.cbFont.SymbolSize = 24;
this.cbFont.TabIndex = 79;
this.cbFont.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cbFont.Watermark = "";
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel3.Location = new System.Drawing.Point(30, 524);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(172, 23);
this.uiLabel3.TabIndex = 80;
this.uiLabel3.Text = "缩放";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel4.Location = new System.Drawing.Point(30, 476);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(85, 23);
this.uiLabel4.TabIndex = 81;
this.uiLabel4.Text = "字体";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Location = new System.Drawing.Point(590, 473);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(120, 80);
this.uiSymbolButton1.Symbol = 0;
this.uiSymbolButton1.TabIndex = 83;
this.uiSymbolButton1.Text = "设置字体";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiTrackBar1
//
this.uiTrackBar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTrackBar1.Location = new System.Drawing.Point(101, 521);
this.uiTrackBar1.Maximum = 200;
this.uiTrackBar1.Minimum = 75;
this.uiTrackBar1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTrackBar1.Name = "uiTrackBar1";
this.uiTrackBar1.Size = new System.Drawing.Size(389, 29);
this.uiTrackBar1.TabIndex = 84;
this.uiTrackBar1.Text = "uiTrackBar1";
this.uiTrackBar1.Value = 100;
this.uiTrackBar1.ValueChanged += new System.EventHandler(this.uiTrackBar1_ValueChanged);
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel5.Location = new System.Drawing.Point(511, 524);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(59, 23);
this.uiLabel5.TabIndex = 85;
this.uiLabel5.Text = "100";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// FColorful
//
this.AllowShowTitle = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(776, 543);
this.ClientSize = new System.Drawing.Size(854, 596);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.uiTrackBar1);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.cbFont);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiPanel11);
this.Controls.Add(this.uiLabel1);
@ -285,6 +408,7 @@ namespace Sunny.UI.Demo
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 999;
this.ShowTitle = true;
this.Symbol = 558295;
this.Text = "多彩主题";
this.ResumeLayout(false);
@ -305,5 +429,13 @@ namespace Sunny.UI.Demo
private UILabel uiLabel1;
private UIPanel uiPanel11;
private UILabel uiLabel2;
private UILine uiLine1;
private UILine uiLine2;
private UIComboBox cbFont;
private UILabel uiLabel3;
private UILabel uiLabel4;
private UISymbolButton uiSymbolButton1;
private UITrackBar uiTrackBar1;
private UILabel uiLabel5;
}
}

View File

@ -1,5 +1,6 @@
using System;
using System.Drawing;
using System.Drawing.Text;
namespace Sunny.UI.Demo
{
@ -10,6 +11,14 @@ namespace Sunny.UI.Demo
InitializeComponent();
uiPanel11.FillColor = uiPanel11.RectColor = RandomColor.GetColor(ColorScheme.Random, Luminosity.Bright);
uiLabel2.Text = "RGB: " + uiPanel11.FillColor.R + ", " + uiPanel11.FillColor.G + ", " + uiPanel11.FillColor.B;
InstalledFontCollection fonts = new InstalledFontCollection();
foreach (FontFamily family in fonts.Families)
{
cbFont.Items.Add(family.Name);
}
cbFont.SelectedIndex = cbFont.Items.IndexOf(SystemFonts.DefaultFont.Name);
}
private void uiPanel1_Click(object sender, System.EventArgs e)
@ -46,5 +55,20 @@ namespace Sunny.UI.Demo
int b = Math.Abs(Math.Min(color.B - increase, max));
return Color.FromArgb(r, g, b);
}
private void uiSymbolButton1_Click(object sender, EventArgs e)
{
UIStyles.DPIScale = true;
UIStyles.GlobalFont = true;
UIStyles.GlobalFontName = cbFont.Text;
UIStyles.GlobalFontScale = uiTrackBar1.Value;
UIStyles.SetDPIScale();
}
private void uiTrackBar1_ValueChanged(object sender, EventArgs e)
{
uiLabel5.Text = uiTrackBar1.Value.ToString();
UIStyles.GlobalFontScale = uiTrackBar1.Value;
}
}
}

View File

@ -32,7 +32,6 @@
this.btnWarn = new Sunny.UI.UISymbolButton();
this.btnSuccess = new Sunny.UI.UISymbolButton();
this.btnAsk = new Sunny.UI.UISymbolButton();
this.btnAuto = new Sunny.UI.UISymbolButton();
this.btnStatus2 = new Sunny.UI.UISymbolButton();
this.btnInfo = new Sunny.UI.UISymbolButton();
this.btnPasswordInput = new Sunny.UI.UISymbolButton();
@ -63,85 +62,93 @@
this.uiLine9 = new Sunny.UI.UILine();
this.uiLine10 = new Sunny.UI.UILine();
this.uiSymbolButton13 = new Sunny.UI.UISymbolButton();
this.uiLine11 = new Sunny.UI.UILine();
this.uiSymbolButton12 = new Sunny.UI.UISymbolButton();
this.SuspendLayout();
//
// btnError
//
this.btnError.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnError.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.btnError.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.btnError.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnError.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.btnError.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.btnError.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnError.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnError.Font = new System.Drawing.Font("宋体", 12F);
this.btnError.Location = new System.Drawing.Point(600, 88);
this.btnError.MinimumSize = new System.Drawing.Size(1, 1);
this.btnError.Name = "btnError";
this.btnError.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnError.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.btnError.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.btnError.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.btnError.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnError.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnError.Size = new System.Drawing.Size(100, 35);
this.btnError.Style = Sunny.UI.UIStyle.Red;
this.btnError.Style = Sunny.UI.UIStyle.Custom;
this.btnError.StyleCustomMode = true;
this.btnError.Symbol = 61532;
this.btnError.TabIndex = 29;
this.btnError.Text = "Error";
this.btnError.Text = "错误";
this.btnError.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnError.Click += new System.EventHandler(this.btnError_Click);
//
// btnWarn
//
this.btnWarn.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnWarn.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnWarn.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.btnWarn.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnWarn.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnWarn.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnWarn.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnWarn.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnWarn.Font = new System.Drawing.Font("宋体", 12F);
this.btnWarn.Location = new System.Drawing.Point(486, 88);
this.btnWarn.MinimumSize = new System.Drawing.Size(1, 1);
this.btnWarn.Name = "btnWarn";
this.btnWarn.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnWarn.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnWarn.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.btnWarn.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnWarn.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnWarn.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnWarn.Size = new System.Drawing.Size(100, 35);
this.btnWarn.Style = Sunny.UI.UIStyle.Orange;
this.btnWarn.Style = Sunny.UI.UIStyle.Custom;
this.btnWarn.StyleCustomMode = true;
this.btnWarn.Symbol = 61553;
this.btnWarn.TabIndex = 28;
this.btnWarn.Text = "Warn";
this.btnWarn.Text = "警告";
this.btnWarn.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnWarn.Click += new System.EventHandler(this.btnWarn_Click);
//
// btnSuccess
//
this.btnSuccess.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSuccess.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.btnSuccess.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.btnSuccess.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnSuccess.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.btnSuccess.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.btnSuccess.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.btnSuccess.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.btnSuccess.Font = new System.Drawing.Font("宋体", 12F);
this.btnSuccess.Location = new System.Drawing.Point(372, 88);
this.btnSuccess.MinimumSize = new System.Drawing.Size(1, 1);
this.btnSuccess.Name = "btnSuccess";
this.btnSuccess.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnSuccess.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.btnSuccess.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.btnSuccess.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.btnSuccess.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.btnSuccess.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.btnSuccess.Size = new System.Drawing.Size(100, 35);
this.btnSuccess.Style = Sunny.UI.UIStyle.Green;
this.btnSuccess.Style = Sunny.UI.UIStyle.Custom;
this.btnSuccess.StyleCustomMode = true;
this.btnSuccess.Symbol = 61528;
this.btnSuccess.TabIndex = 27;
this.btnSuccess.Text = "Success";
this.btnSuccess.Text = "成功";
this.btnSuccess.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSuccess.Click += new System.EventHandler(this.btnSuccess_Click);
//
// btnAsk
//
this.btnAsk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAsk.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAsk.Location = new System.Drawing.Point(30, 87);
this.btnAsk.Font = new System.Drawing.Font("宋体", 12F);
this.btnAsk.Location = new System.Drawing.Point(144, 88);
this.btnAsk.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAsk.Name = "btnAsk";
this.btnAsk.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -149,27 +156,14 @@
this.btnAsk.StyleCustomMode = true;
this.btnAsk.Symbol = 61529;
this.btnAsk.TabIndex = 26;
this.btnAsk.Text = "Query";
this.btnAsk.Text = "确认";
this.btnAsk.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAsk.Click += new System.EventHandler(this.btnAsk_Click);
//
// btnAuto
//
this.btnAuto.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAuto.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAuto.Location = new System.Drawing.Point(144, 88);
this.btnAuto.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAuto.Name = "btnAuto";
this.btnAuto.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnAuto.Size = new System.Drawing.Size(100, 35);
this.btnAuto.Symbol = 61732;
this.btnAuto.TabIndex = 31;
this.btnAuto.Text = "Auto";
this.btnAuto.Click += new System.EventHandler(this.btnAuto_Click);
//
// btnStatus2
//
this.btnStatus2.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStatus2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnStatus2.Font = new System.Drawing.Font("宋体", 12F);
this.btnStatus2.Location = new System.Drawing.Point(30, 245);
this.btnStatus2.MinimumSize = new System.Drawing.Size(1, 1);
this.btnStatus2.Name = "btnStatus2";
@ -178,36 +172,29 @@
this.btnStatus2.Symbol = 57595;
this.btnStatus2.TabIndex = 36;
this.btnStatus2.Text = "进度提示框";
this.btnStatus2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStatus2.Click += new System.EventHandler(this.btnStatus2_Click);
//
// btnInfo
//
this.btnInfo.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnInfo.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
this.btnInfo.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
this.btnInfo.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnInfo.Location = new System.Drawing.Point(258, 88);
this.btnInfo.Font = new System.Drawing.Font("宋体", 12F);
this.btnInfo.Location = new System.Drawing.Point(30, 88);
this.btnInfo.MinimumSize = new System.Drawing.Size(1, 1);
this.btnInfo.Name = "btnInfo";
this.btnInfo.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnInfo.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
this.btnInfo.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
this.btnInfo.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.Size = new System.Drawing.Size(100, 35);
this.btnInfo.Style = Sunny.UI.UIStyle.Gray;
this.btnInfo.StyleCustomMode = true;
this.btnInfo.Symbol = 61530;
this.btnInfo.TabIndex = 37;
this.btnInfo.Text = "Info";
this.btnInfo.Text = "提示";
this.btnInfo.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnInfo.Click += new System.EventHandler(this.btnInfo_Click);
//
// btnPasswordInput
//
this.btnPasswordInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnPasswordInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnPasswordInput.Font = new System.Drawing.Font("宋体", 12F);
this.btnPasswordInput.Location = new System.Drawing.Point(543, 166);
this.btnPasswordInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnPasswordInput.Name = "btnPasswordInput";
@ -216,12 +203,13 @@
this.btnPasswordInput.Symbol = 61545;
this.btnPasswordInput.TabIndex = 46;
this.btnPasswordInput.Text = "密码输入框";
this.btnPasswordInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPasswordInput.Click += new System.EventHandler(this.btnPasswordInput_Click);
//
// btnDoubleInput
//
this.btnDoubleInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDoubleInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnDoubleInput.Font = new System.Drawing.Font("宋体", 12F);
this.btnDoubleInput.Location = new System.Drawing.Point(372, 166);
this.btnDoubleInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDoubleInput.Name = "btnDoubleInput";
@ -230,12 +218,13 @@
this.btnDoubleInput.Symbol = 62022;
this.btnDoubleInput.TabIndex = 45;
this.btnDoubleInput.Text = "浮点数输入框";
this.btnDoubleInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDoubleInput.Click += new System.EventHandler(this.btnDoubleInput_Click);
//
// btnIntInput
//
this.btnIntInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnIntInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnIntInput.Font = new System.Drawing.Font("宋体", 12F);
this.btnIntInput.Location = new System.Drawing.Point(201, 166);
this.btnIntInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnIntInput.Name = "btnIntInput";
@ -244,12 +233,13 @@
this.btnIntInput.Symbol = 62022;
this.btnIntInput.TabIndex = 44;
this.btnIntInput.Text = "整数输入框";
this.btnIntInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnIntInput.Click += new System.EventHandler(this.btnIntInput_Click);
//
// btnStringInput
//
this.btnStringInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStringInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnStringInput.Font = new System.Drawing.Font("宋体", 12F);
this.btnStringInput.Location = new System.Drawing.Point(30, 166);
this.btnStringInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnStringInput.Name = "btnStringInput";
@ -258,11 +248,14 @@
this.btnStringInput.Symbol = 62022;
this.btnStringInput.TabIndex = 43;
this.btnStringInput.Text = "字符串输入框";
this.btnStringInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStringInput.Click += new System.EventHandler(this.btnStringInput_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -273,7 +266,9 @@
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 134);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -284,7 +279,9 @@
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.BackColor = System.Drawing.Color.Transparent;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine3.Location = new System.Drawing.Point(30, 213);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
@ -295,11 +292,13 @@
//
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine4.Location = new System.Drawing.Point(372, 213);
this.uiLine4.BackColor = System.Drawing.Color.Transparent;
this.uiLine4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine4.Location = new System.Drawing.Point(543, 213);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
this.uiLine4.Size = new System.Drawing.Size(328, 20);
this.uiLine4.Size = new System.Drawing.Size(155, 20);
this.uiLine4.TabIndex = 51;
this.uiLine4.Text = "UISelectDialog";
this.uiLine4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -307,8 +306,8 @@
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(372, 245);
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(543, 245);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -316,15 +315,18 @@
this.uiSymbolButton1.Symbol = 61655;
this.uiSymbolButton1.TabIndex = 50;
this.uiSymbolButton1.Text = "下拉选择框";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.BackColor = System.Drawing.Color.Transparent;
this.uiLine5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine5.Location = new System.Drawing.Point(30, 292);
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine5.Name = "uiLine5";
this.uiLine5.Size = new System.Drawing.Size(670, 20);
this.uiLine5.Size = new System.Drawing.Size(442, 20);
this.uiLine5.TabIndex = 58;
this.uiLine5.Text = "UINotifier";
this.uiLine5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -332,105 +334,115 @@
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(30, 324);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton2.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton2.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton2.StyleCustomMode = true;
this.uiSymbolButton2.Symbol = 61530;
this.uiSymbolButton2.TabIndex = 57;
this.uiSymbolButton2.Text = "Info";
this.uiSymbolButton2.Text = "提示";
this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// uiSymbolButton4
//
this.uiSymbolButton4.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiSymbolButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton4.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiSymbolButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton4.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton4.Location = new System.Drawing.Point(372, 324);
this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton4.Name = "uiSymbolButton4";
this.uiSymbolButton4.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiSymbolButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiSymbolButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton4.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton4.Style = Sunny.UI.UIStyle.Red;
this.uiSymbolButton4.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton4.StyleCustomMode = true;
this.uiSymbolButton4.Symbol = 61532;
this.uiSymbolButton4.TabIndex = 55;
this.uiSymbolButton4.Text = "Error";
this.uiSymbolButton4.Text = "错误";
this.uiSymbolButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton4.Click += new System.EventHandler(this.uiSymbolButton4_Click);
//
// uiSymbolButton5
//
this.uiSymbolButton5.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiSymbolButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton5.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiSymbolButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton5.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton5.Location = new System.Drawing.Point(258, 324);
this.uiSymbolButton5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton5.Name = "uiSymbolButton5";
this.uiSymbolButton5.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiSymbolButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiSymbolButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton5.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton5.Style = Sunny.UI.UIStyle.Orange;
this.uiSymbolButton5.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton5.StyleCustomMode = true;
this.uiSymbolButton5.Symbol = 61553;
this.uiSymbolButton5.TabIndex = 54;
this.uiSymbolButton5.Text = "Warn";
this.uiSymbolButton5.Text = "警告";
this.uiSymbolButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton5.Click += new System.EventHandler(this.uiSymbolButton5_Click);
//
// uiSymbolButton6
//
this.uiSymbolButton6.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiSymbolButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton6.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiSymbolButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton6.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton6.Location = new System.Drawing.Point(144, 324);
this.uiSymbolButton6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton6.Name = "uiSymbolButton6";
this.uiSymbolButton6.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiSymbolButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiSymbolButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton6.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton6.Style = Sunny.UI.UIStyle.Green;
this.uiSymbolButton6.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton6.StyleCustomMode = true;
this.uiSymbolButton6.Symbol = 61528;
this.uiSymbolButton6.TabIndex = 53;
this.uiSymbolButton6.Text = "Success";
this.uiSymbolButton6.Text = "成功";
this.uiSymbolButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton6.Click += new System.EventHandler(this.uiSymbolButton6_Click);
//
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.BackColor = System.Drawing.Color.Transparent;
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine6.Location = new System.Drawing.Point(30, 450);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
this.uiLine6.Size = new System.Drawing.Size(328, 20);
this.uiLine6.Size = new System.Drawing.Size(668, 20);
this.uiLine6.TabIndex = 59;
this.uiLine6.Text = "ULocalize";
this.uiLine6.Text = "国际化";
this.uiLine6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnEN
//
this.btnEN.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEN.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnEN.Font = new System.Drawing.Font("宋体", 12F);
this.btnEN.Location = new System.Drawing.Point(144, 482);
this.btnEN.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEN.Name = "btnEN";
@ -438,13 +450,14 @@
this.btnEN.Size = new System.Drawing.Size(100, 35);
this.btnEN.Symbol = 57571;
this.btnEN.TabIndex = 61;
this.btnEN.Text = "EN";
this.btnEN.Text = "English";
this.btnEN.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnEN.Click += new System.EventHandler(this.btnEN_Click);
//
// btnCH
//
this.btnCH.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCH.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnCH.Font = new System.Drawing.Font("宋体", 12F);
this.btnCH.Location = new System.Drawing.Point(30, 482);
this.btnCH.MinimumSize = new System.Drawing.Size(1, 1);
this.btnCH.Name = "btnCH";
@ -453,12 +466,15 @@
this.btnCH.StyleCustomMode = true;
this.btnCH.Symbol = 57571;
this.btnCH.TabIndex = 60;
this.btnCH.Text = "CH";
this.btnCH.Text = "中文";
this.btnCH.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCH.Click += new System.EventHandler(this.btnCH_Click);
//
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine7.BackColor = System.Drawing.Color.Transparent;
this.uiLine7.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine7.Location = new System.Drawing.Point(30, 371);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine7.Name = "uiLine7";
@ -471,77 +487,85 @@
//
this.uiSymbolButton7.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiSymbolButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton7.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiSymbolButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton7.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton7.Location = new System.Drawing.Point(258, 403);
this.uiSymbolButton7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton7.Name = "uiSymbolButton7";
this.uiSymbolButton7.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiSymbolButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128)))));
this.uiSymbolButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiSymbolButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiSymbolButton7.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton7.Style = Sunny.UI.UIStyle.Red;
this.uiSymbolButton7.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton7.StyleCustomMode = true;
this.uiSymbolButton7.Symbol = 61532;
this.uiSymbolButton7.TabIndex = 64;
this.uiSymbolButton7.Text = "Error";
this.uiSymbolButton7.Text = "错误";
this.uiSymbolButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton7.Click += new System.EventHandler(this.uiSymbolButton7_Click);
//
// uiSymbolButton8
//
this.uiSymbolButton8.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiSymbolButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton8.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiSymbolButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton8.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton8.Location = new System.Drawing.Point(144, 403);
this.uiSymbolButton8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton8.Name = "uiSymbolButton8";
this.uiSymbolButton8.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86)))));
this.uiSymbolButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiSymbolButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiSymbolButton8.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton8.Style = Sunny.UI.UIStyle.Orange;
this.uiSymbolButton8.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton8.StyleCustomMode = true;
this.uiSymbolButton8.Symbol = 61553;
this.uiSymbolButton8.TabIndex = 63;
this.uiSymbolButton8.Text = "Warn";
this.uiSymbolButton8.Text = "警告";
this.uiSymbolButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton8.Click += new System.EventHandler(this.uiSymbolButton8_Click);
//
// uiSymbolButton9
//
this.uiSymbolButton9.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiSymbolButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton9.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiSymbolButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton9.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton9.Location = new System.Drawing.Point(30, 403);
this.uiSymbolButton9.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton9.Name = "uiSymbolButton9";
this.uiSymbolButton9.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81)))));
this.uiSymbolButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiSymbolButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiSymbolButton9.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton9.Style = Sunny.UI.UIStyle.Green;
this.uiSymbolButton9.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton9.StyleCustomMode = true;
this.uiSymbolButton9.Symbol = 61528;
this.uiSymbolButton9.TabIndex = 62;
this.uiSymbolButton9.Text = "Success";
this.uiSymbolButton9.Text = "成功";
this.uiSymbolButton9.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton9.Click += new System.EventHandler(this.uiSymbolButton9_Click);
//
// uiLine8
//
this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine8.BackColor = System.Drawing.Color.Transparent;
this.uiLine8.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine8.Location = new System.Drawing.Point(372, 371);
this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine8.Name = "uiLine8";
@ -553,7 +577,7 @@
// uiSymbolButton3
//
this.uiSymbolButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton3.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton3.Location = new System.Drawing.Point(486, 403);
this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton3.Name = "uiSymbolButton3";
@ -561,13 +585,14 @@
this.uiSymbolButton3.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton3.Symbol = 62144;
this.uiSymbolButton3.TabIndex = 68;
this.uiSymbolButton3.Text = "Login";
this.uiSymbolButton3.Text = "登录";
this.uiSymbolButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton3.Click += new System.EventHandler(this.uiSymbolButton3_Click);
//
// uiSymbolButton10
//
this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton10.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton10.Location = new System.Drawing.Point(372, 403);
this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton10.Name = "uiSymbolButton10";
@ -575,13 +600,14 @@
this.uiSymbolButton10.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton10.Symbol = 61447;
this.uiSymbolButton10.TabIndex = 67;
this.uiSymbolButton10.Text = "Login";
this.uiSymbolButton10.Text = "登录";
this.uiSymbolButton10.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton10.Click += new System.EventHandler(this.uiSymbolButton10_Click);
//
// uiSymbolButton11
//
this.uiSymbolButton11.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton11.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton11.Location = new System.Drawing.Point(201, 245);
this.uiSymbolButton11.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton11.Name = "uiSymbolButton11";
@ -590,11 +616,14 @@
this.uiSymbolButton11.Symbol = 61806;
this.uiSymbolButton11.TabIndex = 70;
this.uiSymbolButton11.Text = "等待提示框";
this.uiSymbolButton11.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton11.Click += new System.EventHandler(this.uiSymbolButton11_Click);
//
// uiLine9
//
this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine9.BackColor = System.Drawing.Color.Transparent;
this.uiLine9.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine9.Location = new System.Drawing.Point(201, 213);
this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine9.Name = "uiLine9";
@ -605,11 +634,13 @@
//
// uiLine10
//
this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine10.Location = new System.Drawing.Point(372, 450);
this.uiLine10.BackColor = System.Drawing.Color.Transparent;
this.uiLine10.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine10.Location = new System.Drawing.Point(486, 292);
this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine10.Name = "uiLine10";
this.uiLine10.Size = new System.Drawing.Size(328, 20);
this.uiLine10.Size = new System.Drawing.Size(214, 20);
this.uiLine10.TabIndex = 74;
this.uiLine10.Text = "选择文件夹";
this.uiLine10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -617,8 +648,8 @@
// uiSymbolButton13
//
this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton13.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton13.Location = new System.Drawing.Point(372, 482);
this.uiSymbolButton13.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton13.Location = new System.Drawing.Point(484, 324);
this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton13.Name = "uiSymbolButton13";
this.uiSymbolButton13.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -626,13 +657,44 @@
this.uiSymbolButton13.Symbol = 61717;
this.uiSymbolButton13.TabIndex = 72;
this.uiSymbolButton13.Text = "选择文件夹";
this.uiSymbolButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton13.Click += new System.EventHandler(this.uiSymbolButton13_Click);
//
// uiLine11
//
this.uiLine11.BackColor = System.Drawing.Color.Transparent;
this.uiLine11.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine11.Location = new System.Drawing.Point(372, 213);
this.uiLine11.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine11.Name = "uiLine11";
this.uiLine11.Size = new System.Drawing.Size(155, 20);
this.uiLine11.TabIndex = 78;
this.uiLine11.Text = "UIProcessForm";
this.uiLine11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton12
//
this.uiSymbolButton12.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton12.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton12.Location = new System.Drawing.Point(372, 245);
this.uiSymbolButton12.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton12.Name = "uiSymbolButton12";
this.uiSymbolButton12.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton12.Size = new System.Drawing.Size(155, 35);
this.uiSymbolButton12.Symbol = 61806;
this.uiSymbolButton12.TabIndex = 77;
this.uiSymbolButton12.Text = "等待提示框";
this.uiSymbolButton12.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton12.Click += new System.EventHandler(this.uiSymbolButton12_Click);
//
// FDialogs
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 549);
this.ClientSize = new System.Drawing.Size(800, 590);
this.Controls.Add(this.uiLine11);
this.Controls.Add(this.uiSymbolButton12);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiLine10);
this.Controls.Add(this.btnAsk);
@ -651,7 +713,6 @@
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiLine8);
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.btnAuto);
this.Controls.Add(this.uiLine3);
this.Controls.Add(this.uiSymbolButton3);
this.Controls.Add(this.btnCH);
@ -683,7 +744,6 @@
private UISymbolButton btnWarn;
private UISymbolButton btnSuccess;
private UISymbolButton btnAsk;
private UISymbolButton btnAuto;
private UISymbolButton btnStatus2;
private UISymbolButton btnInfo;
private UISymbolButton btnPasswordInput;
@ -714,5 +774,7 @@
private UILine uiLine9;
private UILine uiLine10;
private UISymbolButton uiSymbolButton13;
private UILine uiLine11;
private UISymbolButton uiSymbolButton12;
}
}

View File

@ -4,96 +4,110 @@ using System.Threading;
namespace Sunny.UI.Demo
{
public partial class FDialogs : UIPage
public partial class FDialogs : UIPage, ITranslate
{
public FDialogs()
{
InitializeComponent();
}
private void btnAsk_Click(object sender, EventArgs e)
public override void Init()
{
if (ShowAskDialog("确认信息提示框"))
{
ShowSuccessTip("您点击了确定按钮");
}
else
{
ShowErrorTip("您点击了取消按钮");
}
}
private void btnAuto_Click(object sender, EventArgs e)
{
UIMessageDialog.ShowMessageDialog("跟随界面主题风格信息提示框", UILocalize.InfoTitle, false, Style);
}
private void btnSuccess_Click(object sender, EventArgs e)
{
ShowSuccessDialog("正确信息提示框");
}
private void btnWarn_Click(object sender, EventArgs e)
{
ShowWarningDialog("警告信息提示框");
}
private void btnError_Click(object sender, EventArgs e)
{
ShowErrorDialog("错误信息提示框");
}
private void btnStatus2_Click(object sender, EventArgs e)
{
ShowStatusForm(100, "数据加载中......", 0);
for (int i = 0; i < 88; i++)
{
SystemEx.Delay(50);
SetStatusFormDescription("数据加载中(" + i + "%)......");
StatusFormStepIt();
}
HideStatusForm();
base.Init();
btnCH.PerformClick();
}
private void btnInfo_Click(object sender, EventArgs e)
{
ShowInfoDialog("默认信息提示框");
this.ShowInfoDialog2(CodeTranslator.Current.Default);
this.ShowInfoDialog(CodeTranslator.Current.Default);
}
private void btnAsk_Click(object sender, EventArgs e)
{
if (this.ShowAskDialog2(CodeTranslator.Current.Confirm, true))
{
this.ShowSuccessTip(CodeTranslator.Current.PressedOK);
}
else
{
this.ShowErrorTip(CodeTranslator.Current.PressedCancel);
}
if (this.ShowAskDialog(CodeTranslator.Current.Confirm))
{
this.ShowSuccessTip(CodeTranslator.Current.PressedOK);
}
else
{
this.ShowErrorTip(CodeTranslator.Current.PressedCancel);
}
}
private void btnSuccess_Click(object sender, EventArgs e)
{
this.ShowSuccessDialog2(CodeTranslator.Current.Success, false, 3000);
this.ShowSuccessDialog(CodeTranslator.Current.Success, false, 3000);
}
private void btnWarn_Click(object sender, EventArgs e)
{
this.ShowWarningDialog2(CodeTranslator.Current.Warning);
this.ShowWarningDialog(CodeTranslator.Current.Warning);
}
private void btnError_Click(object sender, EventArgs e)
{
this.ShowErrorDialog2(CodeTranslator.Current.Error);
this.ShowErrorDialog(CodeTranslator.Current.Error);
}
private void btnStatus2_Click(object sender, EventArgs e)
{
this.ShowStatusForm(100, CodeTranslator.Current.Loading + "......", 0);
for (int i = 0; i < 88; i++)
{
SystemEx.Delay(50);
this.SetStatusFormDescription(CodeTranslator.Current.Loading + "(" + i + "%)......");
this.SetStatusFormStepIt();
}
this.HideStatusForm();
}
private void btnStringInput_Click(object sender, EventArgs e)
{
string value = "请输入字符串";
if (this.InputStringDialog(ref value, true, "请输入字符串:", true))
string value = CodeTranslator.Current.InputString;
if (this.ShowInputStringDialog(ref value, true, CodeTranslator.Current.InputString, true))
{
ShowInfoDialog(value);
this.ShowInfoDialog(value);
}
}
private void btnIntInput_Click(object sender, EventArgs e)
{
int value = 0;
if (this.InputIntegerDialog(ref value))
if (this.ShowInputIntegerDialog(ref value))
{
ShowInfoDialog(value.ToString());
this.ShowInfoDialog(value.ToString());
}
}
private void btnDoubleInput_Click(object sender, EventArgs e)
{
double value = 0;
if (this.InputDoubleDialog(ref value))
if (this.ShowInputDoubleDialog(ref value))
{
ShowInfoDialog(value.ToString("F2"));
this.ShowInfoDialog(value.ToString("F2"));
}
}
private void btnPasswordInput_Click(object sender, EventArgs e)
{
string value = "";
if (this.InputPasswordDialog(ref value))
if (this.ShowInputPasswordDialog(ref value))
{
ShowInfoDialog(value);
this.ShowInfoDialog(value);
}
}
@ -103,58 +117,48 @@ namespace Sunny.UI.Demo
int index = 2;
if (this.ShowSelectDialog(ref index, items))
{
ShowInfoDialog(index.ToString());
this.ShowInfoDialog(index.ToString());
}
}
private void uiSymbolButton2_Click(object sender, EventArgs e)
{
ShowInfoNotifier("Info", InfoNotifierClick);
this.ShowInfoNotifier("Hello SunnyUI!", InfoNotifierClick);
}
private void InfoNotifierClick(object sender, EventArgs e)
private void InfoNotifierClick(object sender, DescriptionEventArgs e)
{
ShowInfoTip("嗨,你点击了右下角的弹窗消息");
this.ShowInfoTip(e.Description);
}
private void uiSymbolButton6_Click(object sender, EventArgs e)
{
ShowSuccessNotifier("Success");
this.ShowSuccessNotifier("Success");
}
private void uiSymbolButton5_Click(object sender, EventArgs e)
{
ShowWarningNotifier("Warning");
this.ShowWarningNotifier("Warning");
}
private void uiSymbolButton4_Click(object sender, EventArgs e)
{
ShowErrorNotifier("Error");
}
private void btnCH_Click(object sender, EventArgs e)
{
UILocalizeHelper.SetCH();
}
private void btnEN_Click(object sender, EventArgs e)
{
UILocalizeHelper.SetEN();
this.ShowErrorNotifier("Error");
}
private void uiSymbolButton9_Click(object sender, EventArgs e)
{
ShowSuccessTip("轻便消息提示框 - 成功");
this.ShowSuccessTip(CodeTranslator.Current.Success);
}
private void uiSymbolButton8_Click(object sender, EventArgs e)
{
ShowWarningTip("轻便消息提示框 - 警告");
this.ShowWarningTip(CodeTranslator.Current.Warning);
}
private void uiSymbolButton7_Click(object sender, EventArgs e)
{
ShowErrorTip("轻便消息提示框 - 错误");
this.ShowErrorTip(CodeTranslator.Current.Error);
}
private void uiSymbolButton10_Click(object sender, EventArgs e)
@ -163,7 +167,7 @@ namespace Sunny.UI.Demo
frm.ShowDialog();
if (frm.IsLogin)
{
UIMessageTip.ShowOk("登录成功");
UIMessageTip.ShowOk(CodeTranslator.Current.LoginSuccess);
}
frm.Dispose();
@ -184,7 +188,7 @@ namespace Sunny.UI.Demo
frm.ShowDialog();
if (frm.IsLogin)
{
UIMessageTip.ShowOk("登录成功");
UIMessageTip.ShowOk(CodeTranslator.Current.LoginSuccess);
}
frm.Dispose();
@ -197,26 +201,72 @@ namespace Sunny.UI.Demo
private void uiSymbolButton11_Click(object sender, EventArgs e)
{
ShowWaitForm();
Thread.Sleep(3000);
SetWaitFormDescription(UILocalize.SystemProcessing + "50%");
Thread.Sleep(3000);
HideWaitForm();
this.ShowWaitForm(CodeTranslator.Current.Prepare);
Thread.Sleep(1000);
this.SetWaitFormDescription(UIStyles.CurrentResources.SystemProcessing + "20%");
Thread.Sleep(1000);
this.SetWaitFormDescription(UIStyles.CurrentResources.SystemProcessing + "40%");
Thread.Sleep(1000);
this.SetWaitFormDescription(UIStyles.CurrentResources.SystemProcessing + "60%");
Thread.Sleep(1000);
this.SetWaitFormDescription(UIStyles.CurrentResources.SystemProcessing + "80%");
Thread.Sleep(1000);
this.SetWaitFormDescription(UIStyles.CurrentResources.SystemProcessing + "100%");
this.HideWaitForm();
}
private void uiSymbolButton13_Click(object sender, EventArgs e)
{
string dir = "";
if (DirEx.SelectDir("系统打开文件夹", ref dir))
{
UIMessageTip.ShowOk(dir);
}
dir = "";
if (DirEx.SelectDirEx("扩展打开文件夹", ref dir))
if (DirEx.SelectDirEx(CodeTranslator.Current.OpenDir, ref dir))
{
UIMessageTip.ShowOk(dir);
}
}
private void uiSymbolButton12_Click(object sender, EventArgs e)
{
this.ShowProcessForm(200);
Thread.Sleep(2000);
this.HideProcessForm();
}
private void btnCH_Click(object sender, EventArgs e)
{
UIStyles.CultureInfo = CultureInfos.zh_CN;
}
private void btnEN_Click(object sender, EventArgs e)
{
UIStyles.CultureInfo = CultureInfos.en_US;
}
/// <summary>
/// 重载多语翻译
/// </summary>
public override void Translate()
{
//必须保留
base.Translate();
//读取翻译代码中的多语资源
CodeTranslator.Load(this);
}
private class CodeTranslator : IniCodeTranslator<CodeTranslator>
{
public string Default { get; set; } = "默认信息提示框";
public string Confirm { get; set; } = "确认信息提示框";
public string PressedOK { get; set; } = "您点击了确定按钮";
public string PressedCancel { get; set; } = "您点击了取消按钮";
public string Success { get; set; } = "正确信息提示框";
public string Warning { get; set; } = "警告信息提示框";
public string Error { get; set; } = "错误信息提示框";
public string Loading { get; set; } = "数据加载中";
public string InputString { get; set; } = "请输入字符串";
public string PressedNotifier { get; set; } = "嗨,你点击了右下角的弹窗消息";
public string LoginSuccess { get; set; } = "登录成功";
public string Prepare { get; set; } = "准备开始";
public string OpenDir { get; set; } = "打开文件夹";
}
}
}

View File

@ -54,7 +54,7 @@
this.edtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.edtName.EnterAsTab = true;
this.edtName.FillColor = System.Drawing.Color.White;
this.edtName.Font = new System.Drawing.Font("微软雅黑", 12F);
this.edtName.Font = new System.Drawing.Font("宋体", 12F);
this.edtName.Location = new System.Drawing.Point(150, 55);
this.edtName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.edtName.Maximum = 2147483647D;
@ -67,7 +67,7 @@
// uiLabel2
//
this.uiLabel2.AutoSize = true;
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel2.Location = new System.Drawing.Point(56, 59);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(42, 21);
@ -78,7 +78,7 @@
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel3.Location = new System.Drawing.Point(56, 99);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(42, 21);
@ -90,7 +90,7 @@
//
this.rbMale.Checked = true;
this.rbMale.Cursor = System.Windows.Forms.Cursors.Hand;
this.rbMale.Font = new System.Drawing.Font("微软雅黑", 12F);
this.rbMale.Font = new System.Drawing.Font("宋体", 12F);
this.rbMale.Location = new System.Drawing.Point(150, 95);
this.rbMale.Name = "rbMale";
this.rbMale.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@ -101,7 +101,7 @@
// rbFemale
//
this.rbFemale.Cursor = System.Windows.Forms.Cursors.Hand;
this.rbFemale.Font = new System.Drawing.Font("微软雅黑", 12F);
this.rbFemale.Font = new System.Drawing.Font("宋体", 12F);
this.rbFemale.Location = new System.Drawing.Point(238, 95);
this.rbFemale.Name = "rbFemale";
this.rbFemale.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@ -113,7 +113,7 @@
//
this.edtAge.Cursor = System.Windows.Forms.Cursors.IBeam;
this.edtAge.FillColor = System.Drawing.Color.White;
this.edtAge.Font = new System.Drawing.Font("微软雅黑", 12F);
this.edtAge.Font = new System.Drawing.Font("宋体", 12F);
this.edtAge.Location = new System.Drawing.Point(150, 135);
this.edtAge.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.edtAge.Maximum = 2147483647D;
@ -128,7 +128,7 @@
// uiLabel4
//
this.uiLabel4.AutoSize = true;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel4.Location = new System.Drawing.Point(56, 139);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(42, 21);
@ -140,7 +140,7 @@
//
this.cbDepartment.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cbDepartment.FillColor = System.Drawing.Color.White;
this.cbDepartment.Font = new System.Drawing.Font("微软雅黑", 12F);
this.cbDepartment.Font = new System.Drawing.Font("宋体", 12F);
this.cbDepartment.Items.AddRange(new object[] {
"研发部",
"采购部",
@ -162,7 +162,7 @@
// uiLabel5
//
this.uiLabel5.AutoSize = true;
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel5.Location = new System.Drawing.Point(56, 179);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(42, 21);
@ -173,7 +173,7 @@
// uiLabel6
//
this.uiLabel6.AutoSize = true;
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel6.Location = new System.Drawing.Point(56, 219);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(42, 21);
@ -185,7 +185,7 @@
//
this.edtDate.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.edtDate.FillColor = System.Drawing.Color.White;
this.edtDate.Font = new System.Drawing.Font("微软雅黑", 12F);
this.edtDate.Font = new System.Drawing.Font("宋体", 12F);
this.edtDate.Location = new System.Drawing.Point(150, 215);
this.edtDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.edtDate.MaxLength = 10;
@ -204,7 +204,7 @@
//
this.edtAddress.Cursor = System.Windows.Forms.Cursors.IBeam;
this.edtAddress.FillColor = System.Drawing.Color.White;
this.edtAddress.Font = new System.Drawing.Font("微软雅黑", 12F);
this.edtAddress.Font = new System.Drawing.Font("宋体", 12F);
this.edtAddress.Location = new System.Drawing.Point(150, 254);
this.edtAddress.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.edtAddress.Maximum = 2147483647D;
@ -217,7 +217,7 @@
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLabel1.Location = new System.Drawing.Point(56, 258);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(42, 21);

View File

@ -37,7 +37,7 @@
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 149);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -49,7 +49,7 @@
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 184);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
@ -63,7 +63,7 @@
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAdd.Font = new System.Drawing.Font("宋体", 12F);
this.btnAdd.Location = new System.Drawing.Point(30, 92);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
@ -76,7 +76,7 @@
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -88,7 +88,7 @@
// btnEdit
//
this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnEdit.Font = new System.Drawing.Font("宋体", 12F);
this.btnEdit.Location = new System.Drawing.Point(152, 92);
this.btnEdit.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEdit.Name = "btnEdit";

View File

@ -21,6 +21,7 @@ namespace Sunny.UI.Demo
person.Birthday = new DateTime(2002, 1, 1);
FEdit frm = new FEdit();
frm.Render();
frm.Person = person;
frm.ShowDialog();
if (frm.IsOK)
@ -34,10 +35,11 @@ namespace Sunny.UI.Demo
private void btnAdd_Click(object sender, EventArgs e)
{
FEdit frm = new FEdit();
frm.ShowDialogWithMask();
frm.Render();
frm.ShowDialog();
if (frm.IsOK)
{
ShowSuccessDialog(frm.Person.ToString());
this.ShowSuccessDialog(frm.Person.ToString());
}
frm.Dispose();
@ -85,6 +87,7 @@ namespace Sunny.UI.Demo
option.AddComboCheckedListBox("checkedList", "选择", checkedItems, "CCC");
UIEditForm frm = new UIEditForm(option);
frm.Render();
frm.CheckedData += Frm_CheckedData;
frm.ShowDialog();
@ -113,7 +116,7 @@ namespace Sunny.UI.Demo
if (e.Form["Age"].ToString().ToInt() < 18 || e.Form["Age"].ToString().ToInt() > 60)
{
e.Form.SetEditorFocus("Age");
ShowWarningTip("年龄范围为18到60岁");
this.ShowWarningTip("年龄范围为18到60岁");
return false;
}

View File

@ -35,6 +35,9 @@
this.btnAHM = new Sunny.UI.UIImageButton();
this.btnHMF = new Sunny.UI.UIImageButton();
this.btnHM = new Sunny.UI.UIImageButton();
this.uiLine1 = new Sunny.UI.UILine();
this.uiLine2 = new Sunny.UI.UILine();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
((System.ComponentModel.ISupportInitialize)(this.btnAM)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnAHMF)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnHAMF)).BeginInit();
@ -47,10 +50,10 @@
// btnAM
//
this.btnAM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAM.Font = new System.Drawing.Font("宋体", 12F);
this.btnAM.Image = global::Sunny.UI.Demo.Properties.Resources.AM;
this.btnAM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AM1;
this.btnAM.Location = new System.Drawing.Point(30, 385);
this.btnAM.Location = new System.Drawing.Point(30, 234);
this.btnAM.Name = "btnAM";
this.btnAM.Size = new System.Drawing.Size(160, 120);
this.btnAM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -62,10 +65,10 @@
// btnAHMF
//
this.btnAHMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAHMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAHMF.Font = new System.Drawing.Font("宋体", 12F);
this.btnAHMF.Image = global::Sunny.UI.Demo.Properties.Resources.AHMF;
this.btnAHMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AHMF1;
this.btnAHMF.Location = new System.Drawing.Point(430, 385);
this.btnAHMF.Location = new System.Drawing.Point(398, 234);
this.btnAHMF.Name = "btnAHMF";
this.btnAHMF.Size = new System.Drawing.Size(160, 120);
this.btnAHMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -77,10 +80,10 @@
// btnHAMF
//
this.btnHAMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHAMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHAMF.Font = new System.Drawing.Font("宋体", 12F);
this.btnHAMF.Image = global::Sunny.UI.Demo.Properties.Resources.HAMF;
this.btnHAMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HAMF1;
this.btnHAMF.Location = new System.Drawing.Point(230, 225);
this.btnHAMF.Location = new System.Drawing.Point(582, 90);
this.btnHAMF.Name = "btnHAMF";
this.btnHAMF.Size = new System.Drawing.Size(160, 120);
this.btnHAMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -92,10 +95,10 @@
// btnHAM
//
this.btnHAM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHAM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHAM.Font = new System.Drawing.Font("宋体", 12F);
this.btnHAM.Image = global::Sunny.UI.Demo.Properties.Resources.HAM;
this.btnHAM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HAM1;
this.btnHAM.Location = new System.Drawing.Point(30, 225);
this.btnHAM.Location = new System.Drawing.Point(398, 90);
this.btnHAM.Name = "btnHAM";
this.btnHAM.Size = new System.Drawing.Size(160, 120);
this.btnHAM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -107,10 +110,10 @@
// btnAHM
//
this.btnAHM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAHM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAHM.Font = new System.Drawing.Font("宋体", 12F);
this.btnAHM.Image = global::Sunny.UI.Demo.Properties.Resources.AHM;
this.btnAHM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AHM1;
this.btnAHM.Location = new System.Drawing.Point(230, 385);
this.btnAHM.Location = new System.Drawing.Point(214, 234);
this.btnAHM.Name = "btnAHM";
this.btnAHM.Size = new System.Drawing.Size(160, 120);
this.btnAHM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -122,10 +125,10 @@
// btnHMF
//
this.btnHMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHMF.Font = new System.Drawing.Font("宋体", 12F);
this.btnHMF.Image = global::Sunny.UI.Demo.Properties.Resources.HMF;
this.btnHMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HMF1;
this.btnHMF.Location = new System.Drawing.Point(230, 65);
this.btnHMF.Location = new System.Drawing.Point(214, 90);
this.btnHMF.Name = "btnHMF";
this.btnHMF.Size = new System.Drawing.Size(160, 120);
this.btnHMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -137,10 +140,10 @@
// btnHM
//
this.btnHM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHM.Font = new System.Drawing.Font("宋体", 12F);
this.btnHM.Image = global::Sunny.UI.Demo.Properties.Resources.HM;
this.btnHM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HM1;
this.btnHM.Location = new System.Drawing.Point(30, 65);
this.btnHM.Location = new System.Drawing.Point(30, 90);
this.btnHM.Name = "btnHM";
this.btnHM.Size = new System.Drawing.Size(160, 120);
this.btnHM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -150,11 +153,52 @@
this.btnHM.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.btnHM.Click += new System.EventHandler(this.btnHM_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(712, 20);
this.uiLine1.TabIndex = 78;
this.uiLine1.Text = "内置模板";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine2.Location = new System.Drawing.Point(30, 379);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(712, 20);
this.uiLine2.TabIndex = 79;
this.uiLine2.Text = "自定义模板";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 417);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(160, 120);
this.uiSymbolButton1.Symbol = 110;
this.uiSymbolButton1.SymbolSize = 120;
this.uiSymbolButton1.TabIndex = 80;
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// FFrames
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(892, 627);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.btnAM);
this.Controls.Add(this.btnAHMF);
this.Controls.Add(this.btnHAMF);
@ -188,5 +232,8 @@
private UIImageButton btnAHM;
private UIImageButton btnHMF;
private UIImageButton btnHM;
private UILine uiLine1;
private UILine uiLine2;
private UISymbolButton uiSymbolButton1;
}
}

View File

@ -50,5 +50,12 @@ namespace Sunny.UI.Demo
{
ShowFrame(new FAsideHeaderMainFooter());
}
private void uiSymbolButton1_Click(object sender, System.EventArgs e)
{
FCustomMain main = new FCustomMain();
main.ShowDialog();
main.Dispose();
}
}
}

View File

@ -41,15 +41,16 @@
//
// FLogin
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(750, 450);
this.FocusControl = Sunny.UI.UILoginFormFocusControl.Password;
this.LoginImage = Sunny.UI.UILoginForm.UILoginImage.Login6;
this.Name = "FLogin";
this.SubText = "SunnyUI.Net";
this.Text = "SunnyUI.Net Login Form";
this.Title = "SunnyUI.Net Login Form";
this.UserName = "admin";
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
this.ResumeLayout(false);

View File

@ -18,7 +18,7 @@
}
else
{
ShowErrorTip("用户名或者密码错误。");
this.ShowErrorTip("用户名或者密码错误。");
}
}
}

430
SunnyUI.Demo/Forms/FSymbols.Designer.cs generated Normal file
View File

@ -0,0 +1,430 @@
namespace Sunny.UI.Demo
{
partial class FSymbols
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.uiPanel1 = new Sunny.UI.UIPanel();
this.uiSymbolLabel1 = new Sunny.UI.UISymbolLabel();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.uiTextBox2 = new Sunny.UI.UITextBox();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiTextBox1 = new Sunny.UI.UITextBox();
this.uiTabControl1 = new Sunny.UI.UITabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.lpV6Solid = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.lpV6Regular = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.lpV6Brands = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.lpAwesome = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.lpElegant = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.lpMaterialIcons = new Sunny.UI.UIFlowLayoutPanel();
this.tabPage7 = new System.Windows.Forms.TabPage();
this.lblResult = new Sunny.UI.UIFlowLayoutPanel();
this.uiPanel1.SuspendLayout();
this.uiTabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
this.tabPage6.SuspendLayout();
this.tabPage7.SuspendLayout();
this.SuspendLayout();
//
// uiPanel1
//
this.uiPanel1.Controls.Add(this.uiSymbolLabel1);
this.uiPanel1.Controls.Add(this.uiSymbolButton2);
this.uiPanel1.Controls.Add(this.uiTextBox2);
this.uiPanel1.Controls.Add(this.uiSymbolButton1);
this.uiPanel1.Controls.Add(this.uiLabel1);
this.uiPanel1.Controls.Add(this.uiTextBox1);
this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Top;
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel1.Location = new System.Drawing.Point(0, 35);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel1.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)));
this.uiPanel1.Size = new System.Drawing.Size(1004, 46);
this.uiPanel1.TabIndex = 0;
this.uiPanel1.Text = null;
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiSymbolLabel1
//
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Location = new System.Drawing.Point(406, 6);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Size = new System.Drawing.Size(98, 35);
this.uiSymbolLabel1.TabIndex = 5;
this.uiSymbolLabel1.Text = "图标值";
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Location = new System.Drawing.Point(595, 6);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton2.Symbol = 557715;
this.uiSymbolButton2.TabIndex = 3;
this.uiSymbolButton2.Text = "复制";
this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// uiTextBox2
//
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox2.Location = new System.Drawing.Point(508, 9);
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 16);
this.uiTextBox2.Name = "uiTextBox2";
this.uiTextBox2.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox2.ShowText = false;
this.uiTextBox2.Size = new System.Drawing.Size(80, 29);
this.uiTextBox2.TabIndex = 2;
this.uiTextBox2.Text = "0";
this.uiTextBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTextBox2.Type = Sunny.UI.UITextBox.UIEditType.Integer;
this.uiTextBox2.Watermark = "";
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Location = new System.Drawing.Point(286, 6);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton1.Symbol = 61442;
this.uiSymbolButton1.TabIndex = 1;
this.uiSymbolButton1.Text = "查找";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiLabel1
//
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel1.Location = new System.Drawing.Point(19, 15);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(103, 16);
this.uiLabel1.TabIndex = 4;
this.uiLabel1.Text = "图标英文名称";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTextBox1
//
this.uiTextBox1.ButtonSymbol = 361453;
this.uiTextBox1.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox1.Location = new System.Drawing.Point(129, 9);
this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox1.MinimumSize = new System.Drawing.Size(1, 16);
this.uiTextBox1.Name = "uiTextBox1";
this.uiTextBox1.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox1.ShowButton = true;
this.uiTextBox1.ShowText = false;
this.uiTextBox1.Size = new System.Drawing.Size(150, 29);
this.uiTextBox1.TabIndex = 0;
this.uiTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTextBox1.Watermark = "";
this.uiTextBox1.ButtonClick += new System.EventHandler(this.uiTextBox1_ButtonClick);
this.uiTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.uiTextBox1_KeyDown);
//
// uiTabControl1
//
this.uiTabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
this.uiTabControl1.Controls.Add(this.tabPage1);
this.uiTabControl1.Controls.Add(this.tabPage2);
this.uiTabControl1.Controls.Add(this.tabPage3);
this.uiTabControl1.Controls.Add(this.tabPage4);
this.uiTabControl1.Controls.Add(this.tabPage5);
this.uiTabControl1.Controls.Add(this.tabPage6);
this.uiTabControl1.Controls.Add(this.tabPage7);
this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.uiTabControl1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.ItemSize = new System.Drawing.Size(115, 40);
this.uiTabControl1.Location = new System.Drawing.Point(0, 81);
this.uiTabControl1.MainPage = "";
this.uiTabControl1.Name = "uiTabControl1";
this.uiTabControl1.SelectedIndex = 0;
this.uiTabControl1.Size = new System.Drawing.Size(1004, 611);
this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.uiTabControl1.TabIndex = 1;
this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// tabPage1
//
this.tabPage1.Controls.Add(this.lpV6Solid);
this.tabPage1.Location = new System.Drawing.Point(0, 0);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(1004, 571);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "FontAwesome V6";
this.tabPage1.UseVisualStyleBackColor = true;
//
// lpV6Solid
//
this.lpV6Solid.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpV6Solid.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpV6Solid.Location = new System.Drawing.Point(0, 0);
this.lpV6Solid.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpV6Solid.MinimumSize = new System.Drawing.Size(1, 1);
this.lpV6Solid.Name = "lpV6Solid";
this.lpV6Solid.Padding = new System.Windows.Forms.Padding(2);
this.lpV6Solid.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpV6Solid.ShowText = false;
this.lpV6Solid.Size = new System.Drawing.Size(1004, 571);
this.lpV6Solid.TabIndex = 0;
this.lpV6Solid.Text = "uiFlowLayoutPanel1";
this.lpV6Solid.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.lpV6Regular);
this.tabPage2.Location = new System.Drawing.Point(0, 0);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(200, 60);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "V6 Regular";
this.tabPage2.UseVisualStyleBackColor = true;
//
// lpV6Regular
//
this.lpV6Regular.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpV6Regular.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpV6Regular.Location = new System.Drawing.Point(0, 0);
this.lpV6Regular.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpV6Regular.MinimumSize = new System.Drawing.Size(1, 1);
this.lpV6Regular.Name = "lpV6Regular";
this.lpV6Regular.Padding = new System.Windows.Forms.Padding(2);
this.lpV6Regular.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpV6Regular.ShowText = false;
this.lpV6Regular.Size = new System.Drawing.Size(200, 60);
this.lpV6Regular.TabIndex = 1;
this.lpV6Regular.Text = "uiFlowLayoutPanel2";
this.lpV6Regular.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.lpV6Brands);
this.tabPage3.Location = new System.Drawing.Point(0, 0);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(200, 60);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "V6 Brands";
this.tabPage3.UseVisualStyleBackColor = true;
//
// lpV6Brands
//
this.lpV6Brands.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpV6Brands.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpV6Brands.Location = new System.Drawing.Point(0, 0);
this.lpV6Brands.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpV6Brands.MinimumSize = new System.Drawing.Size(1, 1);
this.lpV6Brands.Name = "lpV6Brands";
this.lpV6Brands.Padding = new System.Windows.Forms.Padding(2);
this.lpV6Brands.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpV6Brands.ShowText = false;
this.lpV6Brands.Size = new System.Drawing.Size(200, 60);
this.lpV6Brands.TabIndex = 1;
this.lpV6Brands.Text = "uiFlowLayoutPanel3";
this.lpV6Brands.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage4
//
this.tabPage4.Controls.Add(this.lpAwesome);
this.tabPage4.Location = new System.Drawing.Point(0, 0);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(200, 60);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "FontAwesome V4";
this.tabPage4.UseVisualStyleBackColor = true;
//
// lpAwesome
//
this.lpAwesome.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpAwesome.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpAwesome.Location = new System.Drawing.Point(0, 0);
this.lpAwesome.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpAwesome.MinimumSize = new System.Drawing.Size(1, 1);
this.lpAwesome.Name = "lpAwesome";
this.lpAwesome.Padding = new System.Windows.Forms.Padding(2);
this.lpAwesome.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpAwesome.ShowText = false;
this.lpAwesome.Size = new System.Drawing.Size(200, 60);
this.lpAwesome.TabIndex = 1;
this.lpAwesome.Text = "uiFlowLayoutPanel4";
this.lpAwesome.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage5
//
this.tabPage5.Controls.Add(this.lpElegant);
this.tabPage5.Location = new System.Drawing.Point(0, 0);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(200, 60);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "ElegantIcons";
this.tabPage5.UseVisualStyleBackColor = true;
//
// lpElegant
//
this.lpElegant.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpElegant.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpElegant.Location = new System.Drawing.Point(0, 0);
this.lpElegant.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpElegant.MinimumSize = new System.Drawing.Size(1, 1);
this.lpElegant.Name = "lpElegant";
this.lpElegant.Padding = new System.Windows.Forms.Padding(2);
this.lpElegant.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpElegant.ShowText = false;
this.lpElegant.Size = new System.Drawing.Size(200, 60);
this.lpElegant.TabIndex = 1;
this.lpElegant.Text = "uiFlowLayoutPanel5";
this.lpElegant.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage6
//
this.tabPage6.Controls.Add(this.lpMaterialIcons);
this.tabPage6.Location = new System.Drawing.Point(0, 0);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(200, 60);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "MaterialIcons";
this.tabPage6.UseVisualStyleBackColor = true;
//
// lpMaterialIcons
//
this.lpMaterialIcons.Dock = System.Windows.Forms.DockStyle.Fill;
this.lpMaterialIcons.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lpMaterialIcons.Location = new System.Drawing.Point(0, 0);
this.lpMaterialIcons.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lpMaterialIcons.MinimumSize = new System.Drawing.Size(1, 1);
this.lpMaterialIcons.Name = "lpMaterialIcons";
this.lpMaterialIcons.Padding = new System.Windows.Forms.Padding(2);
this.lpMaterialIcons.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lpMaterialIcons.ShowText = false;
this.lpMaterialIcons.Size = new System.Drawing.Size(200, 60);
this.lpMaterialIcons.TabIndex = 1;
this.lpMaterialIcons.Text = "uiFlowLayoutPanel6";
this.lpMaterialIcons.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// tabPage7
//
this.tabPage7.Controls.Add(this.lblResult);
this.tabPage7.Location = new System.Drawing.Point(0, 0);
this.tabPage7.Name = "tabPage7";
this.tabPage7.Size = new System.Drawing.Size(200, 60);
this.tabPage7.TabIndex = 6;
this.tabPage7.Text = "查找结果";
this.tabPage7.UseVisualStyleBackColor = true;
//
// lblResult
//
this.lblResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblResult.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblResult.Location = new System.Drawing.Point(0, 0);
this.lblResult.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lblResult.MinimumSize = new System.Drawing.Size(1, 1);
this.lblResult.Name = "lblResult";
this.lblResult.Padding = new System.Windows.Forms.Padding(2);
this.lblResult.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.lblResult.ShowText = false;
this.lblResult.Size = new System.Drawing.Size(200, 60);
this.lblResult.TabIndex = 1;
this.lblResult.Text = "uiFlowLayoutPanel7";
this.lblResult.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// FSymbols
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1004, 692);
this.Controls.Add(this.uiTabControl1);
this.Controls.Add(this.uiPanel1);
this.Name = "FSymbols";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 99999;
this.ShowTitle = true;
this.Symbol = 558426;
this.Text = "字体图标";
this.Shown += new System.EventHandler(this.FSymbols_Shown);
this.uiPanel1.ResumeLayout(false);
this.uiPanel1.PerformLayout();
this.uiTabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.tabPage5.ResumeLayout(false);
this.tabPage6.ResumeLayout(false);
this.tabPage7.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UIPanel uiPanel1;
private UISymbolButton uiSymbolButton1;
private UILabel uiLabel1;
private UITextBox uiTextBox1;
private UITabControl uiTabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.TabPage tabPage7;
private UIFlowLayoutPanel lpV6Solid;
private UIFlowLayoutPanel lpV6Regular;
private UIFlowLayoutPanel lpV6Brands;
private UIFlowLayoutPanel lpAwesome;
private UIFlowLayoutPanel lpElegant;
private UIFlowLayoutPanel lpMaterialIcons;
private UIFlowLayoutPanel lblResult;
private UISymbolButton uiSymbolButton2;
private UITextBox uiTextBox2;
private UISymbolLabel uiSymbolLabel1;
}
}

View File

@ -0,0 +1,142 @@
using System.Windows.Forms;
namespace Sunny.UI.Demo
{
public partial class FSymbols : UIPage
{
private UISymbolPanel fontAwesomeV4;
private UISymbolPanel elegantIcons;
private UISymbolPanel fontAweSomeV6Regular;
private UISymbolPanel fontAweSomeV6Solid;
private UISymbolPanel fontAweSomeV6Brands;
private UISymbolPanel materialIcons;
private UISymbolPanel searchSymbolPanel;
public FSymbols()
{
InitializeComponent();
fontAwesomeV4 = new UISymbolPanel(typeof(FontAwesomeIcons), UISymbolType.FontAwesomeV4);
elegantIcons = new UISymbolPanel(typeof(FontElegantIcons), UISymbolType.FontAwesomeV4);
fontAweSomeV6Regular = new UISymbolPanel(typeof(FontAweSomeV6Regular), UISymbolType.FontAwesomeV6Regular);
fontAweSomeV6Solid = new UISymbolPanel(typeof(FontAweSomeV6Solid), UISymbolType.FontAwesomeV6Solid);
fontAweSomeV6Brands = new UISymbolPanel(typeof(FontAweSomeV6Brands), UISymbolType.FontAwesomeV6Brands);
materialIcons = new UISymbolPanel(typeof(MaterialIcons), UISymbolType.MaterialIcons);
searchSymbolPanel = new UISymbolPanel();
lpV6Solid.Add(fontAweSomeV6Solid);
lpV6Regular.Add(fontAweSomeV6Regular);
lpV6Brands.Add(fontAweSomeV6Brands);
lpElegant.Add(elegantIcons);
lpMaterialIcons.Add(materialIcons);
lblResult.Add(searchSymbolPanel);
lpAwesome.Add(fontAwesomeV4);
fontAwesomeV4.ValueChanged += CustomSymbolPanel_ValueChanged;
elegantIcons.ValueChanged += CustomSymbolPanel_ValueChanged;
fontAweSomeV6Brands.ValueChanged += CustomSymbolPanel_ValueChanged;
fontAweSomeV6Regular.ValueChanged += CustomSymbolPanel_ValueChanged;
fontAweSomeV6Solid.ValueChanged += CustomSymbolPanel_ValueChanged;
materialIcons.ValueChanged += CustomSymbolPanel_ValueChanged;
searchSymbolPanel.ValueChanged += CustomSymbolPanel_ValueChanged;
}
private void CustomSymbolPanel_ValueChanged(object sender, SymbolValue symbol)
{
uiTextBox2.IntValue = symbol.Value;
uiSymbolLabel1.Symbol = symbol.Value;
this.ShowInfoTip(symbol.ToString());
}
private void uiSymbolButton1_Click(object sender, System.EventArgs e)
{
string filter = uiTextBox1.Text.Trim();
fontAwesomeV4.Filter = filter;
elegantIcons.Filter = filter;
fontAweSomeV6Regular.Filter = filter;
fontAweSomeV6Solid.Filter = filter;
fontAweSomeV6Brands.Filter = filter;
materialIcons.Filter = filter;
searchSymbolPanel.Clear();
if (filter.IsNullOrEmpty()) return;
for (int i = 0; i < fontAwesomeV4.SymbolCount; i++)
{
var value = fontAwesomeV4.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
for (int i = 0; i < elegantIcons.SymbolCount; i++)
{
var value = elegantIcons.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
for (int i = 0; i < fontAweSomeV6Regular.SymbolCount; i++)
{
var value = fontAweSomeV6Regular.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
for (int i = 0; i < fontAweSomeV6Solid.SymbolCount; i++)
{
var value = fontAweSomeV6Solid.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
for (int i = 0; i < fontAweSomeV6Brands.SymbolCount; i++)
{
var value = fontAweSomeV6Brands.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
for (int i = 0; i < materialIcons.SymbolCount; i++)
{
var value = materialIcons.Get(i);
if (value.Name.ToUpper().Contains(filter.ToUpper()))
searchSymbolPanel.Add(value);
}
searchSymbolPanel.Invalidate();
uiTabControl1.SelectedTab = tabPage7;
}
private void FSymbols_Shown(object sender, System.EventArgs e)
{
uiTabControl1.SelectedTab = tabPage1;
uiTextBox1.Focus();
}
public override void Init()
{
base.Init();
uiTextBox1.Focus();
searchSymbolPanel.Clear();
}
private void uiSymbolButton2_Click(object sender, System.EventArgs e)
{
Clipboard.SetText(uiTextBox2.Text);
}
private void uiTextBox1_ButtonClick(object sender, System.EventArgs e)
{
uiTextBox1.Text = "";
uiSymbolButton1.PerformClick();
uiTabControl1.SelectedTab = tabPage1;
}
private void uiTextBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
uiSymbolButton1.PerformClick();
}
}
}
}

View File

@ -0,0 +1,154 @@
namespace Sunny.UI.Demo
{
partial class FCustomMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.uiPanel1 = new Sunny.UI.UIPanel();
this.uiButton3 = new Sunny.UI.UIButton();
this.uiButton2 = new Sunny.UI.UIButton();
this.uiButton1 = new Sunny.UI.UIButton();
this.uiLogo1 = new Sunny.UI.UILogo();
this.uiTabControl1 = new Sunny.UI.UITabControl();
this.uiPanel1.SuspendLayout();
this.SuspendLayout();
//
// uiPanel1
//
this.uiPanel1.Controls.Add(this.uiButton3);
this.uiPanel1.Controls.Add(this.uiButton2);
this.uiPanel1.Controls.Add(this.uiButton1);
this.uiPanel1.Controls.Add(this.uiLogo1);
this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Top;
this.uiPanel1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel1.Location = new System.Drawing.Point(1, 35);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom;
this.uiPanel1.Size = new System.Drawing.Size(905, 112);
this.uiPanel1.TabIndex = 0;
this.uiPanel1.Text = null;
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiButton3
//
this.uiButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.Location = new System.Drawing.Point(771, 71);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.Size = new System.Drawing.Size(100, 35);
this.uiButton3.TabIndex = 4;
this.uiButton3.Text = "uiButton3";
this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
//
// uiButton2
//
this.uiButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Location = new System.Drawing.Point(654, 71);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.Size = new System.Drawing.Size(100, 35);
this.uiButton2.TabIndex = 3;
this.uiButton2.Text = "uiButton2";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
//
// uiButton1
//
this.uiButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Location = new System.Drawing.Point(537, 71);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.Size = new System.Drawing.Size(100, 35);
this.uiButton1.TabIndex = 2;
this.uiButton1.Text = "uiButton1";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// uiLogo1
//
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(5, 16);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.Name = "uiLogo1";
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
this.uiLogo1.TabIndex = 1;
this.uiLogo1.Text = "uiLogo1";
//
// uiTabControl1
//
this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTabControl1.ItemSize = new System.Drawing.Size(150, 40);
this.uiTabControl1.Location = new System.Drawing.Point(1, 147);
this.uiTabControl1.MainPage = "";
this.uiTabControl1.Name = "uiTabControl1";
this.uiTabControl1.SelectedIndex = 0;
this.uiTabControl1.ShowCloseButton = true;
this.uiTabControl1.Size = new System.Drawing.Size(905, 419);
this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.uiTabControl1.TabIndex = 1;
this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// FCustomMain
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(907, 567);
this.Controls.Add(this.uiTabControl1);
this.Controls.Add(this.uiPanel1);
this.Name = "FCustomMain";
this.Padding = new System.Windows.Forms.Padding(1, 35, 1, 1);
this.ShowRadius = false;
this.Text = "自定义框架模板(可关闭页面)";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.uiPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UIPanel uiPanel1;
private UILogo uiLogo1;
private UITabControl uiTabControl1;
private UIButton uiButton3;
private UIButton uiButton2;
private UIButton uiButton1;
}
}

View File

@ -0,0 +1,51 @@
namespace Sunny.UI.Demo
{
public partial class FCustomMain : UIForm
{
public FCustomMain()
{
InitializeComponent();
//新建一个窗体改继承Form为UIForm
//窗体上只要放一个UITabControl并关联到UIForm这样多页面框架就已经打好了其余的可以自由发挥
//窗体上如果只有一个UITabControl也会自动关联超过一个需要手动关联
MainTabControl = uiTabControl1;
//有三个UIPage分别为
//FPage1其属性PageIndex为1001切记要设置PageIndex就靠这个做关联的整数唯一
//FPage2其属性PageIndex为1002
//FPage3其属性PageIndex为1003
//设置FTitlePage1为主页面不能被关闭
var mainPage = new FPage1();
uiTabControl1.MainPage = mainPage.Text = "主页";
AddPage(mainPage);
}
private void uiButton1_Click(object sender, System.EventArgs e)
{
//因为主页面已经加进去了,直接选取即可
SelectPage(1001);
}
private void uiButton2_Click(object sender, System.EventArgs e)
{
if (!ExistPage(1002))
{
AddPage(new FPage2());
}
SelectPage(1002);
}
private void uiButton3_Click(object sender, System.EventArgs e)
{
if (!ExistPage(1003))
{
AddPage(new FPage3());
}
SelectPage(1003);
}
}
}

View File

@ -46,7 +46,7 @@
//
// uiLogo1
//
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(15, 15);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);

View File

@ -54,7 +54,7 @@
//
// uiLogo1
//
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(15, 15);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);

View File

@ -53,7 +53,7 @@
//
// uiLogo1
//
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(15, 15);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);

View File

@ -49,7 +49,7 @@
//
// uiLogo1
//
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLogo1.Location = new System.Drawing.Point(15, 15);
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);

View File

@ -34,9 +34,10 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 450);
@ -50,11 +51,11 @@
//
// FPage1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FPage1";
this.PageIndex = 1001;
this.Text = "FPage1";
this.ResumeLayout(false);

View File

@ -34,9 +34,10 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 450);
@ -50,11 +51,11 @@
//
// FPage2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FPage2";
this.PageIndex = 1002;
this.Text = "FPage2";
this.ResumeLayout(false);

View File

@ -34,9 +34,10 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 450);
@ -50,11 +51,11 @@
//
// FPage3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FPage3";
this.PageIndex = 1003;
this.Text = "FPage3";
this.ResumeLayout(false);

View File

@ -34,7 +34,7 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
@ -57,8 +57,9 @@
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage1";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 1001;
this.ShowTitle = true;
this.Text = "FPage1";
this.Text = "FPage2";
this.ResumeLayout(false);
}

View File

@ -34,7 +34,7 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
@ -57,6 +57,7 @@
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage2";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 1002;
this.ShowTitle = true;
this.Text = "FPage2";
this.ResumeLayout(false);

View File

@ -34,7 +34,7 @@
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
@ -57,6 +57,7 @@
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage3";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 1003;
this.ShowTitle = true;
this.Text = "FPage3";
this.ResumeLayout(false);

View File

@ -50,16 +50,19 @@ namespace Sunny.UI.Demo
this.uiLine3 = new Sunny.UI.UILine();
this.uiSignal1 = new Sunny.UI.UISignal();
this.uiLedLabel4 = new Sunny.UI.UILedLabel();
this.uiLedLabel3 = new Sunny.UI.UILedLabel();
this.uiLedLabel2 = new Sunny.UI.UILedLabel();
this.uiLedLabel1 = new Sunny.UI.UILedLabel();
this.uiLedLabel = new Sunny.UI.UILine();
this.uiDigitalLabel2 = new Sunny.UI.UIDigitalLabel();
this.uiDigitalLabel1 = new Sunny.UI.UIDigitalLabel();
this.uiLine4 = new Sunny.UI.UILine();
this.uiBattery7 = new Sunny.UI.UIBattery();
this.SuspendLayout();
//
// uiBattery6
//
this.uiBattery6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery6.Location = new System.Drawing.Point(301, 269);
this.uiBattery6.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery6.Location = new System.Drawing.Point(301, 364);
this.uiBattery6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery6.Name = "uiBattery6";
this.uiBattery6.Size = new System.Drawing.Size(48, 24);
@ -68,8 +71,8 @@ namespace Sunny.UI.Demo
//
// uiBattery5
//
this.uiBattery5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery5.Location = new System.Drawing.Point(246, 269);
this.uiBattery5.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery5.Location = new System.Drawing.Point(246, 364);
this.uiBattery5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery5.Name = "uiBattery5";
this.uiBattery5.Power = 75;
@ -79,8 +82,8 @@ namespace Sunny.UI.Demo
//
// uiBattery4
//
this.uiBattery4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery4.Location = new System.Drawing.Point(192, 269);
this.uiBattery4.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery4.Location = new System.Drawing.Point(192, 364);
this.uiBattery4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery4.Name = "uiBattery4";
this.uiBattery4.Power = 50;
@ -90,8 +93,8 @@ namespace Sunny.UI.Demo
//
// uiBattery3
//
this.uiBattery3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery3.Location = new System.Drawing.Point(138, 269);
this.uiBattery3.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery3.Location = new System.Drawing.Point(138, 364);
this.uiBattery3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery3.Name = "uiBattery3";
this.uiBattery3.Power = 25;
@ -101,8 +104,8 @@ namespace Sunny.UI.Demo
//
// uiBattery2
//
this.uiBattery2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery2.Location = new System.Drawing.Point(84, 269);
this.uiBattery2.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery2.Location = new System.Drawing.Point(84, 364);
this.uiBattery2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery2.Name = "uiBattery2";
this.uiBattery2.Power = 1;
@ -112,8 +115,8 @@ namespace Sunny.UI.Demo
//
// uiBattery1
//
this.uiBattery1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiBattery1.Location = new System.Drawing.Point(30, 269);
this.uiBattery1.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery1.Location = new System.Drawing.Point(30, 364);
this.uiBattery1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery1.Name = "uiBattery1";
this.uiBattery1.Size = new System.Drawing.Size(48, 24);
@ -122,8 +125,10 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 233);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 328);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(319, 20);
@ -133,7 +138,9 @@ namespace Sunny.UI.Demo
//
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine7.BackColor = System.Drawing.Color.Transparent;
this.uiLine7.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine7.Location = new System.Drawing.Point(381, 55);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine7.Name = "uiLine7";
@ -144,7 +151,9 @@ namespace Sunny.UI.Demo
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
@ -162,7 +171,7 @@ namespace Sunny.UI.Demo
this.uiLedStopwatch1.Name = "uiLedStopwatch1";
this.uiLedStopwatch1.Size = new System.Drawing.Size(190, 34);
this.uiLedStopwatch1.TabIndex = 61;
this.uiLedStopwatch1.Text = "00:06";
this.uiLedStopwatch1.Text = "01:05";
//
// uiLedDisplay1
//
@ -180,8 +189,8 @@ namespace Sunny.UI.Demo
//
// uiSignal6
//
this.uiSignal6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal6.Location = new System.Drawing.Point(591, 259);
this.uiSignal6.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal6.Location = new System.Drawing.Point(591, 354);
this.uiSignal6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal6.Name = "uiSignal6";
this.uiSignal6.Size = new System.Drawing.Size(35, 35);
@ -190,9 +199,9 @@ namespace Sunny.UI.Demo
//
// uiSignal5
//
this.uiSignal5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal5.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal5.Level = 4;
this.uiSignal5.Location = new System.Drawing.Point(550, 259);
this.uiSignal5.Location = new System.Drawing.Point(550, 354);
this.uiSignal5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal5.Name = "uiSignal5";
this.uiSignal5.Size = new System.Drawing.Size(35, 35);
@ -201,9 +210,9 @@ namespace Sunny.UI.Demo
//
// uiSignal4
//
this.uiSignal4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal4.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal4.Level = 3;
this.uiSignal4.Location = new System.Drawing.Point(509, 259);
this.uiSignal4.Location = new System.Drawing.Point(509, 354);
this.uiSignal4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal4.Name = "uiSignal4";
this.uiSignal4.Size = new System.Drawing.Size(35, 35);
@ -212,9 +221,9 @@ namespace Sunny.UI.Demo
//
// uiSignal3
//
this.uiSignal3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal3.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal3.Level = 2;
this.uiSignal3.Location = new System.Drawing.Point(468, 259);
this.uiSignal3.Location = new System.Drawing.Point(468, 354);
this.uiSignal3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal3.Name = "uiSignal3";
this.uiSignal3.Size = new System.Drawing.Size(35, 35);
@ -223,9 +232,9 @@ namespace Sunny.UI.Demo
//
// uiSignal2
//
this.uiSignal2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal2.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal2.Level = 1;
this.uiSignal2.Location = new System.Drawing.Point(427, 259);
this.uiSignal2.Location = new System.Drawing.Point(427, 354);
this.uiSignal2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal2.Name = "uiSignal2";
this.uiSignal2.Size = new System.Drawing.Size(35, 35);
@ -234,8 +243,10 @@ namespace Sunny.UI.Demo
//
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.Location = new System.Drawing.Point(381, 233);
this.uiLine3.BackColor = System.Drawing.Color.Transparent;
this.uiLine3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine3.Location = new System.Drawing.Point(381, 328);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
this.uiLine3.Size = new System.Drawing.Size(319, 20);
@ -245,9 +256,9 @@ namespace Sunny.UI.Demo
//
// uiSignal1
//
this.uiSignal1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSignal1.Font = new System.Drawing.Font("宋体", 12F);
this.uiSignal1.Level = 0;
this.uiSignal1.Location = new System.Drawing.Point(386, 259);
this.uiSignal1.Location = new System.Drawing.Point(386, 354);
this.uiSignal1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSignal1.Name = "uiSignal1";
this.uiSignal1.Size = new System.Drawing.Size(35, 35);
@ -257,10 +268,10 @@ namespace Sunny.UI.Demo
// uiLedLabel4
//
this.uiLedLabel4.BackColor = System.Drawing.Color.Black;
this.uiLedLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLedLabel4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLedLabel4.ForeColor = System.Drawing.Color.Lime;
this.uiLedLabel4.IntervalOn = 3;
this.uiLedLabel4.Location = new System.Drawing.Point(517, 175);
this.uiLedLabel4.Location = new System.Drawing.Point(395, 175);
this.uiLedLabel4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLedLabel4.Name = "uiLedLabel4";
this.uiLedLabel4.Size = new System.Drawing.Size(181, 35);
@ -269,27 +280,15 @@ namespace Sunny.UI.Demo
this.uiLedLabel4.TabIndex = 98;
this.uiLedLabel4.Text = "36.1°C";
//
// uiLedLabel3
//
this.uiLedLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLedLabel3.IntervalOn = 3;
this.uiLedLabel3.Location = new System.Drawing.Point(336, 175);
this.uiLedLabel3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLedLabel3.Name = "uiLedLabel3";
this.uiLedLabel3.Size = new System.Drawing.Size(150, 35);
this.uiLedLabel3.TabIndex = 97;
this.uiLedLabel3.Text = "999.99";
this.uiLedLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLedLabel2
//
this.uiLedLabel2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLedLabel2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLedLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiLedLabel2.Location = new System.Drawing.Point(189, 175);
this.uiLedLabel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLedLabel2.Name = "uiLedLabel2";
this.uiLedLabel2.Size = new System.Drawing.Size(116, 35);
this.uiLedLabel2.Style = Sunny.UI.UIStyle.Red;
this.uiLedLabel2.Style = Sunny.UI.UIStyle.Custom;
this.uiLedLabel2.StyleCustomMode = true;
this.uiLedLabel2.TabIndex = 96;
this.uiLedLabel2.Text = "999.99";
@ -297,7 +296,7 @@ namespace Sunny.UI.Demo
//
// uiLedLabel1
//
this.uiLedLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLedLabel1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLedLabel1.Location = new System.Drawing.Point(42, 175);
this.uiLedLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLedLabel1.Name = "uiLedLabel1";
@ -308,7 +307,9 @@ namespace Sunny.UI.Demo
//
// uiLedLabel
//
this.uiLedLabel.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLedLabel.BackColor = System.Drawing.Color.Transparent;
this.uiLedLabel.Font = new System.Drawing.Font("宋体", 12F);
this.uiLedLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLedLabel.Location = new System.Drawing.Point(30, 139);
this.uiLedLabel.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLedLabel.Name = "uiLedLabel";
@ -317,13 +318,71 @@ namespace Sunny.UI.Demo
this.uiLedLabel.Text = "UILedLabel (仅支持英文、标点符号、希腊字母)";
this.uiLedLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiDigitalLabel2
//
this.uiDigitalLabel2.BackColor = System.Drawing.Color.Black;
this.uiDigitalLabel2.DecimalPlaces = 1;
this.uiDigitalLabel2.DigitalSize = 20;
this.uiDigitalLabel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDigitalLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.uiDigitalLabel2.Location = new System.Drawing.Point(395, 269);
this.uiDigitalLabel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiDigitalLabel2.Name = "uiDigitalLabel2";
this.uiDigitalLabel2.Size = new System.Drawing.Size(208, 38);
this.uiDigitalLabel2.TabIndex = 108;
this.uiDigitalLabel2.Text = "uiDigitalLabel2";
this.uiDigitalLabel2.Value = 6789.9D;
//
// uiDigitalLabel1
//
this.uiDigitalLabel1.BackColor = System.Drawing.Color.Black;
this.uiDigitalLabel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDigitalLabel1.ForeColor = System.Drawing.Color.Lime;
this.uiDigitalLabel1.Location = new System.Drawing.Point(42, 269);
this.uiDigitalLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiDigitalLabel1.Name = "uiDigitalLabel1";
this.uiDigitalLabel1.Size = new System.Drawing.Size(208, 42);
this.uiDigitalLabel1.TabIndex = 107;
this.uiDigitalLabel1.Text = "uiDigitalLabel1";
this.uiDigitalLabel1.TextOffset = new System.Drawing.Point(6, 0);
this.uiDigitalLabel1.Value = -123.45D;
//
// uiLine4
//
this.uiLine4.BackColor = System.Drawing.Color.Transparent;
this.uiLine4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine4.Location = new System.Drawing.Point(30, 229);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
this.uiLine4.Size = new System.Drawing.Size(668, 20);
this.uiLine4.TabIndex = 109;
this.uiLine4.Text = "UIDigitalLabel";
this.uiLine4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiBattery7
//
this.uiBattery7.Font = new System.Drawing.Font("宋体", 12F);
this.uiBattery7.Location = new System.Drawing.Point(42, 410);
this.uiBattery7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiBattery7.Name = "uiBattery7";
this.uiBattery7.Size = new System.Drawing.Size(73, 105);
this.uiBattery7.SymbolOffset = new System.Drawing.Point(1, 3);
this.uiBattery7.SymbolRotate = 270;
this.uiBattery7.SymbolSize = 100;
this.uiBattery7.TabIndex = 110;
this.uiBattery7.Text = "uiBattery7";
//
// FLed
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(800, 555);
this.Controls.Add(this.uiBattery7);
this.Controls.Add(this.uiLine4);
this.Controls.Add(this.uiDigitalLabel2);
this.Controls.Add(this.uiDigitalLabel1);
this.Controls.Add(this.uiLedLabel4);
this.Controls.Add(this.uiLedLabel3);
this.Controls.Add(this.uiLedLabel2);
this.Controls.Add(this.uiLedLabel1);
this.Controls.Add(this.uiLedLabel);
@ -376,9 +435,12 @@ namespace Sunny.UI.Demo
private UILine uiLine3;
private UISignal uiSignal1;
private UILedLabel uiLedLabel4;
private UILedLabel uiLedLabel3;
private UILedLabel uiLedLabel2;
private UILedLabel uiLedLabel1;
private UILine uiLedLabel;
private UIDigitalLabel uiDigitalLabel2;
private UIDigitalLabel uiDigitalLabel1;
private UILine uiLine4;
private UIBattery uiBattery7;
}
}

View File

@ -19,8 +19,9 @@
private void timer1_Tick(object sender, System.EventArgs e)
{
value++;
uiBattery1.Power = value;
uiBattery7.Power = uiBattery1.Power = value;
uiLedDisplay1.Text = value + " Ω";
uiDigitalLabel2.Value += 0.1;
}
}
}

View File

@ -45,6 +45,12 @@ namespace Sunny.UI.Demo
this.uiLedBulb6 = new Sunny.UI.UILedBulb();
this.uiLight5 = new Sunny.UI.UILight();
this.uiLight6 = new Sunny.UI.UILight();
this.uiStatusBox1 = new Sunny.UI.UIStatusBox();
this.uiLine1 = new Sunny.UI.UILine();
this.uiButton1 = new Sunny.UI.UIButton();
this.uiButton2 = new Sunny.UI.UIButton();
this.uiButton3 = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.uiStatusBox1)).BeginInit();
this.SuspendLayout();
//
// uiLedBulb4
@ -78,7 +84,9 @@ namespace Sunny.UI.Demo
//
// uiLine8
//
this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine8.BackColor = System.Drawing.Color.Transparent;
this.uiLine8.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine8.Location = new System.Drawing.Point(381, 55);
this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine8.Name = "uiLine8";
@ -98,7 +106,7 @@ namespace Sunny.UI.Demo
// uiLight4
//
this.uiLight4.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.uiLight4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight4.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight4.Location = new System.Drawing.Point(72, 87);
this.uiLight4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight4.Name = "uiLight4";
@ -115,7 +123,7 @@ namespace Sunny.UI.Demo
// uiLight3
//
this.uiLight3.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiLight3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight3.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight3.Location = new System.Drawing.Point(156, 87);
this.uiLight3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight3.Name = "uiLight3";
@ -130,7 +138,7 @@ namespace Sunny.UI.Demo
// uiLight2
//
this.uiLight2.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiLight2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight2.Location = new System.Drawing.Point(114, 87);
this.uiLight2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight2.Name = "uiLight2";
@ -144,7 +152,9 @@ namespace Sunny.UI.Demo
//
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine2.Location = new System.Drawing.Point(30, 55);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
@ -156,7 +166,7 @@ namespace Sunny.UI.Demo
// uiLight1
//
this.uiLight1.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiLight1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight1.Location = new System.Drawing.Point(30, 87);
this.uiLight1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight1.Name = "uiLight1";
@ -170,7 +180,7 @@ namespace Sunny.UI.Demo
// uiToolTip1
//
this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.uiToolTip1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiToolTip1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
this.uiToolTip1.OwnerDraw = true;
//
@ -195,7 +205,7 @@ namespace Sunny.UI.Demo
// uiLight5
//
this.uiLight5.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.uiLight5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight5.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight5.Location = new System.Drawing.Point(114, 146);
this.uiLight5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight5.Name = "uiLight5";
@ -211,7 +221,7 @@ namespace Sunny.UI.Demo
// uiLight6
//
this.uiLight6.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232)))));
this.uiLight6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLight6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLight6.Location = new System.Drawing.Point(30, 146);
this.uiLight6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiLight6.Name = "uiLight6";
@ -223,11 +233,113 @@ namespace Sunny.UI.Demo
this.uiLight6.TabIndex = 75;
this.uiLight6.Text = "uiLight6";
//
// uiStatusBox1
//
this.uiStatusBox1.Image = global::Sunny.UI.Demo.Properties.Resources.led_g;
this.uiStatusBox1.Location = new System.Drawing.Point(30, 272);
this.uiStatusBox1.Name = "uiStatusBox1";
this.uiStatusBox1.Size = new System.Drawing.Size(36, 36);
this.uiStatusBox1.Status1 = global::Sunny.UI.Demo.Properties.Resources.led_g;
this.uiStatusBox1.Status2 = global::Sunny.UI.Demo.Properties.Resources.led_y;
this.uiStatusBox1.Status3 = global::Sunny.UI.Demo.Properties.Resources.led_r;
this.uiStatusBox1.TabIndex = 77;
this.uiStatusBox1.TabStop = false;
//
// uiLine1
//
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.Location = new System.Drawing.Point(30, 230);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(319, 20);
this.uiLine1.TabIndex = 79;
this.uiLine1.Text = "UILight";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiButton1
//
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiButton1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.LightColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(251)))), ((int)(((byte)(241)))));
this.uiButton1.Location = new System.Drawing.Point(78, 273);
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton1.Name = "uiButton1";
this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83)))));
this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32)))));
this.uiButton1.Size = new System.Drawing.Size(75, 35);
this.uiButton1.Style = Sunny.UI.UIStyle.Custom;
this.uiButton1.TabIndex = 80;
this.uiButton1.Text = "切换";
this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
//
// uiButton2
//
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiButton2.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiButton2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.LightColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241)))));
this.uiButton2.Location = new System.Drawing.Point(159, 273);
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton2.Name = "uiButton2";
this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.uiButton2.Size = new System.Drawing.Size(75, 35);
this.uiButton2.Style = Sunny.UI.UIStyle.Custom;
this.uiButton2.TabIndex = 81;
this.uiButton2.Text = "切换";
this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
//
// uiButton3
//
this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiButton3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiButton3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.LightColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(243)))), ((int)(((byte)(243)))));
this.uiButton3.Location = new System.Drawing.Point(240, 273);
this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiButton3.Name = "uiButton3";
this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.uiButton3.Size = new System.Drawing.Size(75, 35);
this.uiButton3.Style = Sunny.UI.UIStyle.Custom;
this.uiButton3.TabIndex = 82;
this.uiButton3.Text = "切换";
this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
//
// FLight
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiButton3);
this.Controls.Add(this.uiButton2);
this.Controls.Add(this.uiButton1);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiStatusBox1);
this.Controls.Add(this.uiLight5);
this.Controls.Add(this.uiLight6);
this.Controls.Add(this.uiLedBulb5);
@ -247,6 +359,7 @@ namespace Sunny.UI.Demo
this.ShowTitle = true;
this.Symbol = 362751;
this.Text = "Light";
((System.ComponentModel.ISupportInitialize)(this.uiStatusBox1)).EndInit();
this.ResumeLayout(false);
}
@ -267,5 +380,10 @@ namespace Sunny.UI.Demo
private UILedBulb uiLedBulb6;
private UILight uiLight5;
private UILight uiLight6;
private UIStatusBox uiStatusBox1;
private UILine uiLine1;
private UIButton uiButton1;
private UIButton uiButton2;
private UIButton uiButton3;
}
}

View File

@ -6,5 +6,27 @@
{
InitializeComponent();
}
public enum LightState
{
Green = 1,
Yellow = 2,
Red = 3
}
private void uiButton1_Click(object sender, System.EventArgs e)
{
uiStatusBox1.Status = (int)LightState.Green;
}
private void uiButton2_Click(object sender, System.EventArgs e)
{
uiStatusBox1.Status = (int)LightState.Yellow;
}
private void uiButton3_Click(object sender, System.EventArgs e)
{
uiStatusBox1.Status = (int)LightState.Red;
}
}
}

View File

@ -29,52 +29,24 @@ namespace Sunny.UI.Demo
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMeter));
this.uiMillisecondTimer1 = new Sunny.UI.UIMillisecondTimer(this.components);
this.uiPanel1 = new Sunny.UI.UIPanel();
this.uiAnalogMeter1 = new Sunny.UI.UIAnalogMeter();
this.uiLine9 = new Sunny.UI.UILine();
this.uiRoundMeter2 = new Sunny.UI.UIRoundMeter();
this.uiLine6 = new Sunny.UI.UILine();
this.uiRoundMeter1 = new Sunny.UI.UIRoundMeter();
this.uiPanel1.SuspendLayout();
this.uiRuler3 = new Sunny.UI.UIRuler();
this.uiThermometer1 = new Sunny.UI.UIThermometer();
this.uiLine1 = new Sunny.UI.UILine();
this.uiRuler1 = new Sunny.UI.UIRuler();
this.uiThermometer2 = new Sunny.UI.UIThermometer();
this.SuspendLayout();
//
// uiMillisecondTimer1
//
this.uiMillisecondTimer1.Interval = 100;
this.uiMillisecondTimer1.TagString = null;
this.uiMillisecondTimer1.Tick += new System.EventHandler(this.uiMillisecondTimer1_Tick);
//
// uiPanel1
//
this.uiPanel1.Controls.Add(this.uiAnalogMeter1);
this.uiPanel1.Controls.Add(this.uiLine9);
this.uiPanel1.Controls.Add(this.uiRoundMeter2);
this.uiPanel1.Controls.Add(this.uiLine6);
this.uiPanel1.Controls.Add(this.uiRoundMeter1);
this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel1.FillColor2 = System.Drawing.Color.CornflowerBlue;
this.uiPanel1.FillColorGradient = true;
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel1.Location = new System.Drawing.Point(0, 35);
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.uiPanel1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiPanel1.Size = new System.Drawing.Size(800, 415);
this.uiPanel1.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel1.StyleCustomMode = true;
this.uiPanel1.TabIndex = 69;
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiAnalogMeter1
//
this.uiAnalogMeter1.BackColor = System.Drawing.Color.Transparent;
this.uiAnalogMeter1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiAnalogMeter1.Location = new System.Drawing.Point(381, 61);
this.uiAnalogMeter1.Font = new System.Drawing.Font("宋体", 12F);
this.uiAnalogMeter1.Location = new System.Drawing.Point(381, 96);
this.uiAnalogMeter1.MaxValue = 100D;
this.uiAnalogMeter1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiAnalogMeter1.MinValue = 0D;
@ -88,27 +60,24 @@ namespace Sunny.UI.Demo
// uiLine9
//
this.uiLine9.BackColor = System.Drawing.Color.Transparent;
this.uiLine9.FillColor = System.Drawing.Color.Transparent;
this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine9.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine9.Location = new System.Drawing.Point(381, 20);
this.uiLine9.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine9.Location = new System.Drawing.Point(381, 55);
this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine9.Name = "uiLine9";
this.uiLine9.Size = new System.Drawing.Size(319, 20);
this.uiLine9.Style = Sunny.UI.UIStyle.Custom;
this.uiLine9.TabIndex = 72;
this.uiLine9.Text = "UIAnalogMeter";
this.uiLine9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiRoundMeter2
//
this.uiRoundMeter2.Angle = 0D;
this.uiRoundMeter2.AngleImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter2.AngleImage")));
this.uiRoundMeter2.BackColor = System.Drawing.Color.Transparent;
this.uiRoundMeter2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter2.BackgroundImage")));
this.uiRoundMeter2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.uiRoundMeter2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRoundMeter2.Location = new System.Drawing.Point(186, 56);
this.uiRoundMeter2.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundMeter2.Location = new System.Drawing.Point(186, 91);
this.uiRoundMeter2.MeterType = Sunny.UI.UIRoundMeter.TMeterType.Wind;
this.uiRoundMeter2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundMeter2.Name = "uiRoundMeter2";
@ -119,56 +88,129 @@ namespace Sunny.UI.Demo
// uiLine6
//
this.uiLine6.BackColor = System.Drawing.Color.Transparent;
this.uiLine6.FillColor = System.Drawing.Color.Transparent;
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
this.uiLine6.Location = new System.Drawing.Point(30, 20);
this.uiLine6.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine6.Location = new System.Drawing.Point(30, 55);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
this.uiLine6.Size = new System.Drawing.Size(319, 20);
this.uiLine6.Style = Sunny.UI.UIStyle.Custom;
this.uiLine6.TabIndex = 70;
this.uiLine6.Text = "UIRoundMeter";
this.uiLine6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiRoundMeter1
//
this.uiRoundMeter1.Angle = 0D;
this.uiRoundMeter1.AngleImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter1.AngleImage")));
this.uiRoundMeter1.BackColor = System.Drawing.Color.Transparent;
this.uiRoundMeter1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter1.BackgroundImage")));
this.uiRoundMeter1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.uiRoundMeter1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiRoundMeter1.Location = new System.Drawing.Point(30, 51);
this.uiRoundMeter1.Font = new System.Drawing.Font("宋体", 12F);
this.uiRoundMeter1.Location = new System.Drawing.Point(30, 91);
this.uiRoundMeter1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRoundMeter1.Name = "uiRoundMeter1";
this.uiRoundMeter1.Size = new System.Drawing.Size(150, 150);
this.uiRoundMeter1.Size = new System.Drawing.Size(140, 140);
this.uiRoundMeter1.TabIndex = 69;
this.uiRoundMeter1.Text = "uiRoundMeter1";
//
// uiRuler3
//
this.uiRuler3.BackColor = System.Drawing.Color.Transparent;
this.uiRuler3.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiRuler3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler3.Location = new System.Drawing.Point(56, 287);
this.uiRuler3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler3.MinorCount = 4;
this.uiRuler3.Name = "uiRuler3";
this.uiRuler3.Size = new System.Drawing.Size(35, 196);
this.uiRuler3.TabIndex = 113;
this.uiRuler3.Text = "uiRuler3";
//
// uiThermometer1
//
this.uiThermometer1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiThermometer1.Location = new System.Drawing.Point(78, 294);
this.uiThermometer1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiThermometer1.Name = "uiThermometer1";
this.uiThermometer1.Size = new System.Drawing.Size(49, 194);
this.uiThermometer1.TabIndex = 112;
this.uiThermometer1.Text = "uiThermometer1";
this.uiThermometer1.Value = 30;
//
// uiLine1
//
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLine1.LineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiLine1.Location = new System.Drawing.Point(30, 261);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(319, 20);
this.uiLine1.TabIndex = 111;
this.uiLine1.Text = "UIThermometer";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiRuler1
//
this.uiRuler1.BackColor = System.Drawing.Color.Transparent;
this.uiRuler1.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical;
this.uiRuler1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiRuler1.Location = new System.Drawing.Point(213, 287);
this.uiRuler1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiRuler1.MinorCount = 4;
this.uiRuler1.Name = "uiRuler1";
this.uiRuler1.Size = new System.Drawing.Size(35, 196);
this.uiRuler1.StartValue = -20D;
this.uiRuler1.StepCount = 6;
this.uiRuler1.TabIndex = 115;
this.uiRuler1.Text = "uiRuler1";
//
// uiThermometer2
//
this.uiThermometer2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiThermometer2.Location = new System.Drawing.Point(235, 294);
this.uiThermometer2.Minimum = -20;
this.uiThermometer2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiThermometer2.Name = "uiThermometer2";
this.uiThermometer2.Size = new System.Drawing.Size(49, 194);
this.uiThermometer2.TabIndex = 114;
this.uiThermometer2.Text = "uiThermometer2";
this.uiThermometer2.Value = 30;
//
// FMeter
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiPanel1);
this.ClientSize = new System.Drawing.Size(800, 539);
this.Controls.Add(this.uiRuler1);
this.Controls.Add(this.uiThermometer2);
this.Controls.Add(this.uiRuler3);
this.Controls.Add(this.uiThermometer1);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiAnalogMeter1);
this.Controls.Add(this.uiLine9);
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.uiRoundMeter2);
this.Controls.Add(this.uiRoundMeter1);
this.Name = "FMeter";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61668;
this.Text = "Meter";
this.uiPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UIMillisecondTimer uiMillisecondTimer1;
private UIPanel uiPanel1;
private UIAnalogMeter uiAnalogMeter1;
private UILine uiLine9;
private UIRoundMeter uiRoundMeter2;
private UILine uiLine6;
private UIRoundMeter uiRoundMeter1;
private UIRuler uiRuler3;
private UIThermometer uiThermometer1;
private UILine uiLine1;
private UIRuler uiRuler1;
private UIThermometer uiThermometer2;
}
}

View File

@ -1,26 +1,33 @@
namespace Sunny.UI.Demo
using System.Windows.Forms;
namespace Sunny.UI.Demo
{
public partial class FMeter : UIPage
{
public FMeter()
{
InitializeComponent();
timer.Tick += Timer_Tick;
}
private int value;
public override void Init()
{
value = 0;
uiMillisecondTimer1.ReStart();
}
private void uiMillisecondTimer1_Tick(object sender, System.EventArgs e)
private void Timer_Tick(object sender, System.EventArgs e)
{
value++;
uiRoundMeter1.Angle = value * 10;
uiRoundMeter2.Angle = value * 10;
uiAnalogMeter1.Value = value;
uiThermometer1.Value = value;
uiThermometer2.Value = value;
}
Timer timer = new Timer();
private int value;
public override void Init()
{
value = 0;
timer.ReStart();
}
}
}

View File

@ -117,9 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="uiMillisecondTimer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>107, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="uiRoundMeter2.AngleImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@ -320,348 +317,265 @@
<data name="uiRoundMeter1.AngleImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAxjSURBVHhe7Z0JdBRFAoYH5dQFOQQXcy2IBLkhIEcIESXx
iYGVS1G81lUQdVclsCAsAk/FFVlZURBE5RBFIoeA3GAw4QgJCQFcFVjldBE8QJKQmemuqv0rXbMJkkAi
CUkm//fe93rozHTX8Xd110wP4yKEXCJSylD4ALxbKfV7s5qQ/EFQboJ/goMYGFIgcltgXW9C5U72wUfv
FdmHXhIZqS/LX5JDzZ8J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wo3T5K4WnO/+s1KLnEnEgpobNmHNx4ZKRYgfBD31PqbrtSs2SptzXV/6o1NK9nndH
l6gzz9Wl1JJXbZn98s/8HR5xQLhQyWhh17XCNDU7lZr2e5ts6OY/eV5jt+c19eS3GrtR1kS5EUPddpiF
SxdyBFoaY1bdbU0zaZdNOjSj3fNuO+x5DUc8b9FR+3y85ZcFj7cdRhkT5UXZa3Zi6sCFRnIJEm37/olS
CUg+FHzZ8+r6otGF/dHorcfzQwv7USaULVFOlBljll9zrmWssGOadXOUalyv1CV7RXLWceUL1jQ3HIxG
57wTidzyHh5FJ5zwPJeK78ffN8qi1OSXbNlQxktk0HvHI5gucKGQscSYtqAd16C5R2WgUia2G/PZN6PR
Gqm4utPh8Jffx6PoZI4V31c0emM/ymBbE98oNTvRnXK5wjhjb4T71ly0Np434XW/kjzvms5k0/jC36Op
wduFWbBv37y2TGhVVsziMss8Ajd62bFN3faEcVBh13RGIrUnw+F5Z62+9O9wuP7M6AjbstuFOa1R/P2i
DPVbMVbBFXhXTJJP2NYG16CsceQox/jmFVSk303Zir75o3B4wXn76BspUyV/t/6M3/24VgXdouxz/hZr
FN58VhBY49xyldbLZ9olAxh4wjjlnZ4XPGK7KrQ6MI9vAt8I6eS/j8+i+6k9aVuUgJw+lzujTH7JLnpa
PhP75txKgYJFSOZ0RbnWP1mIi3t2DifWEoiBqt6245DhTJMwC4wCk9jvo+vBxNva1RhDYR9crF1E2Em/
Y5fq/qoye6clbmlB64OLf5h5xRxJ/PQ3Sf78CabymzbZFXG4V6it3G6LP8NBCCGEEEIIIYQQQgghhBBC
CCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQggZZSZM+D+ZVJy0WDEn4QAAAABJRU5ErkJggg==
</value>
</data>
<data name="uiRoundMeter1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAAAXNSR0IArs4c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4xS7dhESOK9/Qo0vQ5vsN3OYaORfcSznF8
A3LKKf8faGOFumfKRXoAAAAASUVORK5CYII=
</value>
</data>
</root>

View File

@ -71,7 +71,7 @@ namespace Sunny.UI.Demo
this.uiPipe3.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe3.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
this.uiPipe3.FlowSpeed = 10;
this.uiPipe3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe3.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe3.Location = new System.Drawing.Point(196, 194);
this.uiPipe3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe3.Name = "uiPipe3";
@ -90,7 +90,7 @@ namespace Sunny.UI.Demo
this.uiPipe4.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe4.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
this.uiPipe4.FlowSpeed = 10;
this.uiPipe4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe4.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe4.Location = new System.Drawing.Point(34, 63);
this.uiPipe4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe4.Name = "uiPipe4";
@ -108,7 +108,7 @@ namespace Sunny.UI.Demo
this.uiPipe2.BackColor = System.Drawing.Color.Transparent;
this.uiPipe2.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
this.uiPipe2.FlowSpeed = 10;
this.uiPipe2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe2.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe2.Location = new System.Drawing.Point(48, 194);
this.uiPipe2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe2.Name = "uiPipe2";
@ -127,7 +127,7 @@ namespace Sunny.UI.Demo
this.uiPipe7.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe7.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe7.FlowSpeed = 10;
this.uiPipe7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe7.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe7.Location = new System.Drawing.Point(451, 194);
this.uiPipe7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe7.Name = "uiPipe7";
@ -146,7 +146,7 @@ namespace Sunny.UI.Demo
this.uiPipe8.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe8.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe8.FlowSpeed = 10;
this.uiPipe8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe8.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe8.Location = new System.Drawing.Point(289, 175);
this.uiPipe8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe8.Name = "uiPipe8";
@ -164,7 +164,7 @@ namespace Sunny.UI.Demo
this.uiPipe9.BackColor = System.Drawing.Color.Transparent;
this.uiPipe9.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe9.FlowSpeed = 10;
this.uiPipe9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe9.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe9.Location = new System.Drawing.Point(303, 194);
this.uiPipe9.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe9.Name = "uiPipe9";
@ -183,7 +183,7 @@ namespace Sunny.UI.Demo
this.uiPipe10.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe10.FlowDirection = Sunny.UI.UIPipe.UIFlowDirection.Reverse;
this.uiPipe10.FlowSpeed = 10;
this.uiPipe10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe10.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe10.Location = new System.Drawing.Point(78, 251);
this.uiPipe10.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe10.Name = "uiPipe10";
@ -202,7 +202,7 @@ namespace Sunny.UI.Demo
this.uiPipe11.FlowColor = System.Drawing.Color.SkyBlue;
this.uiPipe11.FlowDirection = Sunny.UI.UIPipe.UIFlowDirection.Reverse;
this.uiPipe11.FlowSpeed = 10;
this.uiPipe11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe11.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe11.Location = new System.Drawing.Point(109, 295);
this.uiPipe11.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe11.Name = "uiPipe11";
@ -221,7 +221,7 @@ namespace Sunny.UI.Demo
this.uiPipe12.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe12.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe12.FlowSpeed = 10;
this.uiPipe12.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe12.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe12.Location = new System.Drawing.Point(63, 251);
this.uiPipe12.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe12.Name = "uiPipe12";
@ -240,7 +240,7 @@ namespace Sunny.UI.Demo
this.uiPipe1.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe1.FlowColor = System.Drawing.Color.SkyBlue;
this.uiPipe1.FlowSpeed = 10;
this.uiPipe1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe1.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe1.Location = new System.Drawing.Point(94, 295);
this.uiPipe1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe1.Name = "uiPipe1";
@ -259,7 +259,7 @@ namespace Sunny.UI.Demo
this.uiPipe5.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe5.FlowColor = System.Drawing.Color.SkyBlue;
this.uiPipe5.FlowSpeed = 10;
this.uiPipe5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe5.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe5.Location = new System.Drawing.Point(716, 175);
this.uiPipe5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe5.Name = "uiPipe5";
@ -280,7 +280,7 @@ namespace Sunny.UI.Demo
this.uiPipe6.FlowInterval = 16;
this.uiPipe6.FlowSize = 28;
this.uiPipe6.FlowSpeed = 12;
this.uiPipe6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe6.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe6.Location = new System.Drawing.Point(63, 384);
this.uiPipe6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe6.Name = "uiPipe6";
@ -301,7 +301,7 @@ namespace Sunny.UI.Demo
this.uiPipe13.FlowInterval = 16;
this.uiPipe13.FlowSize = 28;
this.uiPipe13.FlowSpeed = 12;
this.uiPipe13.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe13.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe13.Location = new System.Drawing.Point(77, 483);
this.uiPipe13.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe13.Name = "uiPipe13";
@ -322,7 +322,7 @@ namespace Sunny.UI.Demo
this.uiPipe14.FlowInterval = 16;
this.uiPipe14.FlowSize = 28;
this.uiPipe14.FlowSpeed = 12;
this.uiPipe14.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe14.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe14.Location = new System.Drawing.Point(77, 524);
this.uiPipe14.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe14.Name = "uiPipe14";
@ -345,7 +345,7 @@ namespace Sunny.UI.Demo
this.uiPipe15.FlowInterval = 16;
this.uiPipe15.FlowSize = 28;
this.uiPipe15.FlowSpeed = 12;
this.uiPipe15.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe15.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe15.Location = new System.Drawing.Point(374, 384);
this.uiPipe15.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe15.Name = "uiPipe15";
@ -367,7 +367,7 @@ namespace Sunny.UI.Demo
this.uiPipe16.FlowInterval = 16;
this.uiPipe16.FlowSize = 28;
this.uiPipe16.FlowSpeed = 12;
this.uiPipe16.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe16.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.uiPipe16.Location = new System.Drawing.Point(536, 384);
this.uiPipe16.MinimumSize = new System.Drawing.Size(1, 1);
@ -389,7 +389,7 @@ namespace Sunny.UI.Demo
this.uiPipe17.FlowInterval = 16;
this.uiPipe17.FlowSize = 28;
this.uiPipe17.FlowSpeed = 12;
this.uiPipe17.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe17.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.uiPipe17.Location = new System.Drawing.Point(551, 451);
this.uiPipe17.MinimumSize = new System.Drawing.Size(1, 1);
@ -412,7 +412,7 @@ namespace Sunny.UI.Demo
this.uiPipe18.FlowInterval = 16;
this.uiPipe18.FlowSize = 28;
this.uiPipe18.FlowSpeed = 12;
this.uiPipe18.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe18.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.uiPipe18.Location = new System.Drawing.Point(716, 451);
this.uiPipe18.MinimumSize = new System.Drawing.Size(1, 1);
@ -429,7 +429,7 @@ namespace Sunny.UI.Demo
// uiValve1
//
this.uiValve1.Active = true;
this.uiValve1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiValve1.Font = new System.Drawing.Font("宋体", 12F);
this.uiValve1.Location = new System.Drawing.Point(255, 122);
this.uiValve1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiValve1.Name = "uiValve1";
@ -447,7 +447,7 @@ namespace Sunny.UI.Demo
this.uiPipe19.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe19.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.uiPipe19.FlowSpeed = 10;
this.uiPipe19.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe19.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe19.Location = new System.Drawing.Point(289, 63);
this.uiPipe19.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe19.Name = "uiPipe19";
@ -463,7 +463,7 @@ namespace Sunny.UI.Demo
//
this.uiValve2.Active = true;
this.uiValve2.Direction = Sunny.UI.UIValve.UIValveDirection.Right;
this.uiValve2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiValve2.Font = new System.Drawing.Font("宋体", 12F);
this.uiValve2.Location = new System.Drawing.Point(706, 122);
this.uiValve2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiValve2.Name = "uiValve2";
@ -477,7 +477,7 @@ namespace Sunny.UI.Demo
//
this.uiValve3.Active = true;
this.uiValve3.Direction = Sunny.UI.UIValve.UIValveDirection.Top;
this.uiValve3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiValve3.Font = new System.Drawing.Font("宋体", 12F);
this.uiValve3.Location = new System.Drawing.Point(94, 160);
this.uiValve3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiValve3.Name = "uiValve3";
@ -492,7 +492,7 @@ namespace Sunny.UI.Demo
//
this.uiValve4.Active = true;
this.uiValve4.Direction = Sunny.UI.UIValve.UIValveDirection.Bottom;
this.uiValve4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiValve4.Font = new System.Drawing.Font("宋体", 12F);
this.uiValve4.Location = new System.Drawing.Point(186, 514);
this.uiValve4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiValve4.Name = "uiValve4";
@ -510,7 +510,7 @@ namespace Sunny.UI.Demo
this.uiPipe20.BackColor = System.Drawing.Color.Transparent;
this.uiPipe20.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
this.uiPipe20.FlowSpeed = 10;
this.uiPipe20.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe20.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe20.Location = new System.Drawing.Point(124, 194);
this.uiPipe20.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe20.Name = "uiPipe20";
@ -529,7 +529,7 @@ namespace Sunny.UI.Demo
this.uiPipe21.Direction = Sunny.UI.UILine.LineDirection.Vertical;
this.uiPipe21.FlowColor = System.Drawing.Color.SkyBlue;
this.uiPipe21.FlowSpeed = 10;
this.uiPipe21.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe21.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe21.Location = new System.Drawing.Point(716, 63);
this.uiPipe21.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe21.Name = "uiPipe21";
@ -549,7 +549,7 @@ namespace Sunny.UI.Demo
this.uiPipe22.FlowInterval = 16;
this.uiPipe22.FlowSize = 28;
this.uiPipe22.FlowSpeed = 12;
this.uiPipe22.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiPipe22.Font = new System.Drawing.Font("宋体", 12F);
this.uiPipe22.Location = new System.Drawing.Point(242, 524);
this.uiPipe22.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPipe22.Name = "uiPipe22";

View File

@ -0,0 +1,96 @@
namespace Sunny.UI.Demo
{
partial class FSwitch
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.uiLine1 = new Sunny.UI.UILine();
this.uiTurnSwitch1 = new Sunny.UI.UITurnSwitch();
this.uiTurnSwitch2 = new Sunny.UI.UITurnSwitch();
this.SuspendLayout();
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 78;
this.uiLine1.Text = "UITurnSwitch";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTurnSwitch1
//
this.uiTurnSwitch1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTurnSwitch1.Location = new System.Drawing.Point(33, 96);
this.uiTurnSwitch1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTurnSwitch1.Name = "uiTurnSwitch1";
this.uiTurnSwitch1.Size = new System.Drawing.Size(160, 160);
this.uiTurnSwitch1.TabIndex = 79;
this.uiTurnSwitch1.Text = "uiTurnSwitch1";
this.uiTurnSwitch1.ValueChanged += new Sunny.UI.UITurnSwitch.OnValueChanged(this.uiTurnSwitch1_ValueChanged);
//
// uiTurnSwitch2
//
this.uiTurnSwitch2.ActiveAngle = 0;
this.uiTurnSwitch2.BackInnerSize = 60;
this.uiTurnSwitch2.BackSize = 80;
this.uiTurnSwitch2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTurnSwitch2.InActiveAngle = 90;
this.uiTurnSwitch2.InActiveColor = System.Drawing.Color.Fuchsia;
this.uiTurnSwitch2.Location = new System.Drawing.Point(216, 96);
this.uiTurnSwitch2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTurnSwitch2.Name = "uiTurnSwitch2";
this.uiTurnSwitch2.Size = new System.Drawing.Size(160, 160);
this.uiTurnSwitch2.TabIndex = 80;
this.uiTurnSwitch2.Text = "uiTurnSwitch2";
//
// FSwitch
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiTurnSwitch2);
this.Controls.Add(this.uiTurnSwitch1);
this.Controls.Add(this.uiLine1);
this.Name = "FSwitch";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 361956;
this.Text = "Switch";
this.ResumeLayout(false);
}
#endregion
private UILine uiLine1;
private UITurnSwitch uiTurnSwitch1;
private UITurnSwitch uiTurnSwitch2;
}
}

Some files were not shown because too many files have changed in this diff Show More