readme
13
README.md
@ -1,12 +1,14 @@
|
|||||||
# AntdUIDemo
|
# AntdUIDemo
|
||||||
|
|
||||||
本项目基于 Winform .NET Framework 4.8 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目
|
本项目基于 Winform .NET Framework 4.8 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目,当前版本 `1.5.7-beta`
|
||||||
|
|
||||||
## ✅ 快速开始
|
## ✅ 快速开始
|
||||||
```
|
```
|
||||||
1. git clone 或者直接下载本项目
|
1. git clone 或者直接下载本项目
|
||||||
|
|
||||||
2. 若电脑分辨率不是 1920×1080(1080P) 或者缩放不是 100%,使用 Visual Studio 在 100% 缩放模式下(使用 devenv /noScale 命令启动 Visual Studio)打开项目
|
2. 若电脑分辨率不是 1920×1080(1080P) 或者缩放不是 100%,
|
||||||
|
使用 Visual Studio 在 100% 缩放模式下(使用 devenv /noScale 命令启动 Visual Studio)打开项目,
|
||||||
|
或者在项目窗口选择使用 100% 缩放比例重新启动 Visual Studio
|
||||||
|
|
||||||
3. 若电脑没有安装 .NET Framework 4.8,编辑项目文件设置 TargetFramework 属性为自己安装的目标框架,兼容框架参照 AntdUI 项目
|
3. 若电脑没有安装 .NET Framework 4.8,编辑项目文件设置 TargetFramework 属性为自己安装的目标框架,兼容框架参照 AntdUI 项目
|
||||||
|
|
||||||
@ -14,8 +16,11 @@
|
|||||||
```
|
```
|
||||||
## ⚠️ 注意事项
|
## ⚠️ 注意事项
|
||||||
- 电脑屏幕分辨率低于 1920×1080(1080P) 请使用大于等于 1080P 分辨率的屏幕开发
|
- 电脑屏幕分辨率低于 1920×1080(1080P) 请使用大于等于 1080P 分辨率的屏幕开发
|
||||||
- 电脑屏幕大于等于 1080P 分辨率或者缩放不是 100% 请务必按照上述 **快速开始** 的第二条步骤打开项目,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,具体启动方式如下图
|
- 电脑屏幕分辨率大于 1080P 或者缩放不是 100% 的,可选择以下任一方式运行项目
|
||||||
|
- 按照上述 **快速开始** 的第二条打开项目,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,如下所示
|
||||||

|

|
||||||
|
- 直接打开项目,在窗口页面提示点击 **使用 100% 缩放比例重新启动 Visual Studio**,如下所示
|
||||||
|

|
||||||
|
|
||||||
## 系统设置
|
## 系统设置
|
||||||
- ✅ 支持浅色/深色模式,并且随系统自动切换
|
- ✅ 支持浅色/深色模式,并且随系统自动切换
|
||||||
@ -23,6 +28,7 @@
|
|||||||
- ✅ 支持启用/关闭阴影效果
|
- ✅ 支持启用/关闭阴影效果
|
||||||
- ✅ 支持显示/隐藏滚动条
|
- ✅ 支持显示/隐藏滚动条
|
||||||
- ✅ 支持设置 Message/Notification 消息显示位置
|
- ✅ 支持设置 Message/Notification 消息显示位置
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 控件演示
|
## 控件演示
|
||||||
@ -61,6 +67,7 @@
|
|||||||
#### DatePicker 日期选择器
|
#### DatePicker 日期选择器
|
||||||

|

|
||||||
#### DatePickerRange 日期范围选择器
|
#### DatePickerRange 日期范围选择器
|
||||||
|

|
||||||
#### Input 输入框
|
#### Input 输入框
|
||||||
#### InputNumber 数字输入框
|
#### InputNumber 数字输入框
|
||||||
#### Radio 单选框
|
#### Radio 单选框
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 586 KiB After Width: | Height: | Size: 514 KiB |
|
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 483 KiB |
|
Before Width: | Height: | Size: 441 KiB After Width: | Height: | Size: 471 KiB |
|
Before Width: | Height: | Size: 505 KiB After Width: | Height: | Size: 499 KiB |
BIN
assets/screenshots/DatePickerRange.png
Normal file
|
After Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 593 KiB After Width: | Height: | Size: 511 KiB |
|
Before Width: | Height: | Size: 538 KiB After Width: | Height: | Size: 503 KiB |
|
Before Width: | Height: | Size: 528 KiB After Width: | Height: | Size: 484 KiB |
|
Before Width: | Height: | Size: 464 KiB After Width: | Height: | Size: 467 KiB |
|
Before Width: | Height: | Size: 561 KiB After Width: | Height: | Size: 526 KiB |
|
Before Width: | Height: | Size: 542 KiB After Width: | Height: | Size: 505 KiB |
|
Before Width: | Height: | Size: 527 KiB After Width: | Height: | Size: 520 KiB |
|
Before Width: | Height: | Size: 485 KiB After Width: | Height: | Size: 479 KiB |
|
Before Width: | Height: | Size: 491 KiB After Width: | Height: | Size: 494 KiB |
|
Before Width: | Height: | Size: 412 KiB After Width: | Height: | Size: 231 KiB |
BIN
assets/screenshots/design.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 31 KiB |