Default config

This commit is contained in:
Tom 2024-08-16 15:44:31 +08:00
parent 40218c2746
commit 041413ee40
31 changed files with 18 additions and 75016 deletions

View File

@ -1,146 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AC64C1C9-988D-4029-B7B0-DD7D0DC27C6F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AntdUIDemo</RootNamespace>
<AssemblyName>AntdUIDemo</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ForceDesignerDpiUnaware>true</ForceDesignerDpiUnaware>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="AntdUI, Version=1.5.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\AntdUI.1.5.2\lib\net48\AntdUI.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Design" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<PackageReference Include="AntdUI" Version="1.5.2" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainWindow.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainWindow.Designer.cs">
<DependentUpon>MainWindow.cs</DependentUpon>
</Compile>
<Compile Include="Models\DataUtil.cs" />
<Compile Include="Models\MenuItems.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Views\ButtonDemo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Views\ButtonDemo.Designer.cs">
<DependentUpon>ButtonDemo.cs</DependentUpon>
</Compile>
<Compile Include="Views\FloatButtonDemo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Views\FloatButtonDemo.Designer.cs">
<DependentUpon>FloatButtonDemo.cs</DependentUpon>
</Compile>
<Compile Include="Views\FlowPanelDemo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Views\FlowPanelDemo.Designer.cs">
<DependentUpon>FlowPanelDemo.cs</DependentUpon>
</Compile>
<Compile Include="Views\GridPanelDemo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Views\GridPanelDemo.Designer.cs">
<DependentUpon>GridPanelDemo.cs</DependentUpon>
</Compile>
<Compile Include="Views\PanelDemo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Views\PanelDemo.Designer.cs">
<DependentUpon>PanelDemo.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="MainWindow.resx">
<DependentUpon>MainWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Views\ButtonDemo.resx">
<DependentUpon>ButtonDemo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\FloatButtonDemo.resx">
<DependentUpon>FloatButtonDemo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\FlowPanelDemo.resx">
<DependentUpon>FlowPanelDemo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\GridPanelDemo.resx">
<DependentUpon>GridPanelDemo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\PanelDemo.resx">
<DependentUpon>PanelDemo.cs</DependentUpon>
</EmbeddedResource>
<None Include="app.manifest" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="README.md" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="assets\icon.ico" />
<Content Include="assets\screenshots\Button.png" />
<None Include="Resources\关闭.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
</Project>

View File

@ -79,7 +79,6 @@
//
// MainWindow
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1008, 624);
this.ControlBox = false;
this.Controls.Add(this.panel_content);

View File

@ -1,13 +1,5 @@
using AntdUIDemo.Models;
using AntdUIDemo.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo
@ -77,6 +69,7 @@ namespace AntdUIDemo
}
if (control != null)
{
AutoDpi(control);
panel_content.Controls.Add(control);
}
}

View File

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("AntdUIDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AntdUIDemo")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("ac64c1c9-988d-4029-b7b0-dd7d0dc27c6f")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AntdUIDemo.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@ -760,8 +760,6 @@
//
// ButtonDemo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.stackPanel1);
this.Name = "ButtonDemo";
this.Size = new System.Drawing.Size(724, 629);

View File

@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo.Views
@ -85,6 +80,5 @@ namespace AntdUIDemo.Views
}
}
}
}
}

View File

@ -500,7 +500,6 @@
//
// FloatButtonDemo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.stackPanel1);
this.Name = "FloatButtonDemo";
this.Size = new System.Drawing.Size(710, 372);

View File

@ -1,12 +1,6 @@
using AntdUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo.Views
@ -119,7 +113,7 @@ namespace AntdUIDemo.Views
Align = (TAlign)select_align.SelectedIndex,
Vertical = select_vertical.SelectedIndex == 0,
TopMost = select_topmost.SelectedIndex == 0,
Size =Convert.ToInt32(input_size.Value),
Size = Convert.ToInt32(input_size.Value),
MarginX = Convert.ToInt32(input_mx.Value),
MarginY = Convert.ToInt32(input_my.Value),
});

View File

@ -445,7 +445,6 @@
//
// FlowPanelDemo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.stackPanel1);
this.Name = "FlowPanelDemo";
this.Size = new System.Drawing.Size(707, 496);

View File

@ -1,12 +1,6 @@
using AntdUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo.Views

View File

@ -259,7 +259,6 @@
//
// GridPanelDemo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.stackPanel1);
this.Name = "GridPanelDemo";
this.Size = new System.Drawing.Size(683, 475);

View File

@ -1,12 +1,6 @@
using AntdUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo.Views

View File

@ -568,7 +568,6 @@
//
// PanelDemo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.stackPanel1);
this.Name = "PanelDemo";
this.Size = new System.Drawing.Size(679, 435);

View File

@ -1,12 +1,5 @@
using AntdUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AntdUIDemo.Views

Binary file not shown.

Binary file not shown.

View File

@ -1,89 +0,0 @@
# AntdUI
Winform UI library use Ant Design 5.0
### ✨特性
- 🌈 纯GDI绘制没有图片支持AOT
- 🎨 高质量绘图,高性能动画
- 🚀 Winform上最阴影的阴影效果
- 📦 无边框窗口,拥有原生窗口特性
- 💎 3D翻转效果
- 👚 主题配置
- 🦜 SVG矢量图
- 👓 DPI适配
- 🌍 国际化
### 🖥支持环境
- .NET 6.0及以上。
- .NET Framework4.8及以上。
- .NET Framework4.0及以上。
### 🌴控件
:arrow_down: | 通用 `2` | 动画 | 禁用 |
:---:|:--|:--:|:--:|
:arrow_right: | **Button** 按钮 | ✅ | ✅ |
:arrow_right: | **FloatButton** 悬浮按钮 | ✅ | ❎ |
||||
:arrow_down: | 布局 `4` | 动画 | 禁用 |
:arrow_right: | **Divider** 分割线 | ❎ | ❎ |
:arrow_right: | **StackPanel** 堆栈布局 | ❎ | ❎ |
:arrow_right: | **FlowPanel** 流动布局 | ❎ | ❎ |
:arrow_right: | **GridPanel** 格栅布局 | ❎ | ❎ |
||||
:arrow_down: | 导航 `4` | 动画 | 禁用 |
:arrow_right: | **Dropdown** 下拉菜单 | ✅ | ✅ |
:arrow_right: | **Menu** 导航菜单 | ✅ | ❎ |
:arrow_right: | **Pagination** 分页 | ✅ | ✅ |
:arrow_right: | **Steps** 步骤条 | ❎ | ❎ |
||||
:arrow_down: | 数据录入 `12` | 动画 | 禁用 |
:arrow_right: | **Checkbox** 多选框 | ✅ | ✅ |
:arrow_right: | **ColorPicker** 颜色选择器 | ✅ | ✅ |
:arrow_right: | **DatePicker** 日期选择框 | ✅ | ✅ |
:arrow_right: | **DatePickerRange** 日期范围选择框 | ✅ | ✅ |
:arrow_right: | **Input** 输入框 | ✅ | ✅ |
:arrow_right: | **InputNumber** 数字输入框 | ✅ | ✅ |
:arrow_right: | **Radio** 单选框 | ✅ | ✅ |
:arrow_right: | **Rate** 评分 | ✅ | ❎ |
:arrow_right: | **Select** 选择器 | ✅ | ✅ |
:arrow_right: | **Slider** 滑动输入条 | ✅ | ❎ |
:arrow_right: | **Switch** 开关 | ✅ | ✅ |
:arrow_right: | **TimePicker** 时间选择框 | ✅ | ✅ |
||||
:arrow_down: | 数据展示 `15` | 动画 | 禁用 |
:arrow_right: | **Avatar** 头像 | ❎ | ❎ |
:arrow_right: | **Badge** 徽标数 | ✅ | ❎ |
:arrow_right: | **Calendar** 日历 | ✅ | ❎ |
:arrow_right: | **Panel** 面板 | ✅ | ❎ |
:arrow_right: | **Carousel** 走马灯 | ✅ | ❎ |
:arrow_right: | **Preview** 图片预览 | ✅ | ✅ |
:arrow_right: | **Popover** 气泡卡片 | ✅ | ❎ |
:arrow_right: | **Segmented** 分段控制器 | ✅ | ❎ |
:arrow_right: | **Table** 表格 | ✅ | ❎ |
:arrow_right: | **Tabs** 标签页 | ✅ | ❎ |
:arrow_right: | **Tag** 标签 | ✅ | ❎ |
:arrow_right: | **Timeline** 时间轴 | ❎ | ❎ |
:arrow_right: | **Tooltip** 文字提示 | ✅ | ❎ |
:arrow_right: | **Tree** 树形控件 | ✅ | ✅ |
:arrow_right: | **Lable** 标签 | ✅ | ❎ |
||||
:arrow_down: | 反馈 `7` | 动画 | 禁用 |
:arrow_right: | **Alert** 警告提示 | ✅ | ❎ |
:arrow_right: | **Drawer** 抽屉 | ✅ | ❎ |
:arrow_right: | **Message** 全局提示 | ✅ | ❎ |
:arrow_right: | **Modal** 对话框 | ✅ | ❎ |
:arrow_right: | **Notification** 通知提醒框 | ✅ | ❎ |
:arrow_right: | **Progress** 进度条 | ✅ | ❎ |
:arrow_right: | **Spin** 加载中 | ✅ | ❎ |
||||
:arrow_down: | 聊天 `2` | 动画 | 禁用 |
:arrow_right: | **MsgList** 好友消息列表 | ✅ | ❎ |
:arrow_right: | **ChatList** 气泡聊天列表 | ✅ | ❎ |
||||
:arrow_down: | 其他 `4` | 动画 | 禁用 |
:arrow_right: | **WindowBar** 窗口栏 | ✅ | ❎ |
:arrow_right: | **Battery** 电量 | ✅ | ❎ |
:arrow_right: | **ContextMenuStrip** 右键菜单 | ✅ | ❎ |
:arrow_right: | **Image3D** 图片3D | ✅ | ❎ |

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB