diff --git a/README.md b/README.md index d6f287e..42d569f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # 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 或者直接下载本项目 -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 项目 @@ -14,8 +16,11 @@ ``` ## ⚠️ 注意事项 - 电脑屏幕分辨率低于 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) ,如下所示 ![vsstart](assets/screenshots/vsstart.png) + - 直接打开项目,在窗口页面提示点击 **使用 100% 缩放比例重新启动 Visual Studio**,如下所示 +![design](assets/screenshots/design.png) ## 系统设置 - ✅ 支持浅色/深色模式,并且随系统自动切换 @@ -23,6 +28,7 @@ - ✅ 支持启用/关闭阴影效果 - ✅ 支持显示/隐藏滚动条 - ✅ 支持设置 Message/Notification 消息显示位置 + ![SystemSet](assets/screenshots/SystemSet.png) ## 控件演示 @@ -61,6 +67,7 @@ #### DatePicker 日期选择器 ![DatePicker](assets/screenshots/DatePicker.png) #### DatePickerRange 日期范围选择器 +![DatePickerRange](assets/screenshots/DatePickerRange.png) #### Input 输入框 #### InputNumber 数字输入框 #### Radio 单选框 diff --git a/assets/screenshots/Button.png b/assets/screenshots/Button.png index 62e6460..ef9b7d7 100644 Binary files a/assets/screenshots/Button.png and b/assets/screenshots/Button.png differ diff --git a/assets/screenshots/Checkbox.png b/assets/screenshots/Checkbox.png index e7d3cf7..c5fb503 100644 Binary files a/assets/screenshots/Checkbox.png and b/assets/screenshots/Checkbox.png differ diff --git a/assets/screenshots/ColorPicker.png b/assets/screenshots/ColorPicker.png index 1a49a3e..b09eb13 100644 Binary files a/assets/screenshots/ColorPicker.png and b/assets/screenshots/ColorPicker.png differ diff --git a/assets/screenshots/DatePicker.png b/assets/screenshots/DatePicker.png index 7fa041a..aa0fec7 100644 Binary files a/assets/screenshots/DatePicker.png and b/assets/screenshots/DatePicker.png differ diff --git a/assets/screenshots/DatePickerRange.png b/assets/screenshots/DatePickerRange.png new file mode 100644 index 0000000..4f6cb23 Binary files /dev/null and b/assets/screenshots/DatePickerRange.png differ diff --git a/assets/screenshots/Dropdown.png b/assets/screenshots/Dropdown.png index 0181c98..9419c38 100644 Binary files a/assets/screenshots/Dropdown.png and b/assets/screenshots/Dropdown.png differ diff --git a/assets/screenshots/FloatButton.png b/assets/screenshots/FloatButton.png index 3d8b155..e312a0e 100644 Binary files a/assets/screenshots/FloatButton.png and b/assets/screenshots/FloatButton.png differ diff --git a/assets/screenshots/FlowPanel.png b/assets/screenshots/FlowPanel.png index 315c13e..8c76fc3 100644 Binary files a/assets/screenshots/FlowPanel.png and b/assets/screenshots/FlowPanel.png differ diff --git a/assets/screenshots/GridPanel.png b/assets/screenshots/GridPanel.png index c8d8635..2f5de58 100644 Binary files a/assets/screenshots/GridPanel.png and b/assets/screenshots/GridPanel.png differ diff --git a/assets/screenshots/Menu.png b/assets/screenshots/Menu.png index 24779c2..9558d9d 100644 Binary files a/assets/screenshots/Menu.png and b/assets/screenshots/Menu.png differ diff --git a/assets/screenshots/Pagination.png b/assets/screenshots/Pagination.png index 4febfc1..4a4bfa8 100644 Binary files a/assets/screenshots/Pagination.png and b/assets/screenshots/Pagination.png differ diff --git a/assets/screenshots/Panel.png b/assets/screenshots/Panel.png index 66109b4..5f11f96 100644 Binary files a/assets/screenshots/Panel.png and b/assets/screenshots/Panel.png differ diff --git a/assets/screenshots/StackPanel.png b/assets/screenshots/StackPanel.png index 9c59857..510d5df 100644 Binary files a/assets/screenshots/StackPanel.png and b/assets/screenshots/StackPanel.png differ diff --git a/assets/screenshots/Steps.png b/assets/screenshots/Steps.png index de9c6bb..2f2b1db 100644 Binary files a/assets/screenshots/Steps.png and b/assets/screenshots/Steps.png differ diff --git a/assets/screenshots/SystemSet.png b/assets/screenshots/SystemSet.png index 4483a12..eb2683c 100644 Binary files a/assets/screenshots/SystemSet.png and b/assets/screenshots/SystemSet.png differ diff --git a/assets/screenshots/design.png b/assets/screenshots/design.png new file mode 100644 index 0000000..57528fe Binary files /dev/null and b/assets/screenshots/design.png differ diff --git a/assets/screenshots/vsstart.png b/assets/screenshots/vsstart.png index efdb0e1..a4ca80e 100644 Binary files a/assets/screenshots/vsstart.png and b/assets/screenshots/vsstart.png differ