diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj
index 2801a6d..0327f07 100644
--- a/AntdUIDemo.csproj
+++ b/AntdUIDemo.csproj
@@ -4,6 +4,7 @@
WinExe
net48
true
+ SystemAware
true
false
app.manifest
diff --git a/MainWindow.cs b/MainWindow.cs
index eb1b105..80ec2dd 100644
--- a/MainWindow.cs
+++ b/MainWindow.cs
@@ -181,6 +181,9 @@ namespace AntdUIDemo
case "DatePickerRange":
control = new DatePickerRangeDemo();
break;
+ case "Input":
+ control = new InputDemo();
+ break;
}
if (control != null)
{
diff --git a/README.md b/README.md
index 93c626b..c4eb947 100644
--- a/README.md
+++ b/README.md
@@ -17,9 +17,9 @@
## ⚠️ 注意事项
- 电脑屏幕分辨率低于 1920×1080(1080P) 请使用大于等于 1080P 分辨率的屏幕开发
- 电脑屏幕分辨率大于 1080P 或者缩放不是 100% 的,可选择以下任一方式运行项目
- - 按照上述 **快速开始** 的第二条打开项目,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,如下所示
+ 1. 按照上述 **快速开始** 的第二条打开项目,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,如下所示

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

## 系统设置
@@ -69,6 +69,7 @@
#### DatePickerRange 日期范围选择器

#### Input 输入框
+
#### InputNumber 数字输入框
#### Radio 单选框
#### Rate 评分
diff --git a/Views/ButtonDemo.Designer.cs b/Views/ButtonDemo.Designer.cs
index cec7d51..67c45f3 100644
--- a/Views/ButtonDemo.Designer.cs
+++ b/Views/ButtonDemo.Designer.cs
@@ -137,6 +137,11 @@
this.button39.BackExtend = "135, #6253E1, #04BEFE";
this.button39.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button39.IconSvg = resources.GetString("button39.IconSvg");
+ this.button39.Image = null;
+ this.button39.ImageHover = null;
+ this.button39.ImageHoverSvg = null;
+ this.button39.ImageSize = new System.Drawing.Size(0, 0);
+ this.button39.ImageSvg = resources.GetString("button39.ImageSvg");
this.button39.Location = new System.Drawing.Point(3, 3);
this.button39.Name = "button39";
this.button39.Size = new System.Drawing.Size(156, 32);
@@ -169,7 +174,8 @@
this.panel3.Back = System.Drawing.Color.Transparent;
this.panel3.Controls.Add(this.button36);
this.panel3.Controls.Add(this.button37);
- this.panel3.Location = new System.Drawing.Point(241, 3);
+ this.panel3.Location = new System.Drawing.Point(232, 0);
+ this.panel3.Margin = new System.Windows.Forms.Padding(0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(156, 35);
this.panel3.TabIndex = 2;
@@ -180,6 +186,11 @@
this.button36.BorderWidth = 2F;
this.button36.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button36.Ghost = true;
+ this.button36.Image = null;
+ this.button36.ImageHover = null;
+ this.button36.ImageHoverSvg = null;
+ this.button36.ImageSize = new System.Drawing.Size(0, 0);
+ this.button36.ImageSvg = null;
this.button36.JoinLeft = true;
this.button36.Location = new System.Drawing.Point(77, 3);
this.button36.Name = "button36";
@@ -195,6 +206,11 @@
this.button37.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button37.Ghost = true;
this.button37.IconSvg = resources.GetString("button37.IconSvg");
+ this.button37.Image = null;
+ this.button37.ImageHover = null;
+ this.button37.ImageHoverSvg = null;
+ this.button37.ImageSize = new System.Drawing.Size(0, 0);
+ this.button37.ImageSvg = resources.GetString("button37.ImageSvg");
this.button37.JoinRight = true;
this.button37.Location = new System.Drawing.Point(3, 3);
this.button37.Name = "button37";
@@ -210,7 +226,8 @@
this.panel2.Controls.Add(this.button33);
this.panel2.Controls.Add(this.button34);
this.panel2.Controls.Add(this.button35);
- this.panel2.Location = new System.Drawing.Point(3, 3);
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Margin = new System.Windows.Forms.Padding(0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(232, 35);
this.panel2.TabIndex = 1;
@@ -219,6 +236,11 @@
// button33
//
this.button33.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button33.Image = null;
+ this.button33.ImageHover = null;
+ this.button33.ImageHoverSvg = null;
+ this.button33.ImageSize = new System.Drawing.Size(0, 0);
+ this.button33.ImageSvg = null;
this.button33.JoinLeft = true;
this.button33.Location = new System.Drawing.Point(151, 3);
this.button33.Name = "button33";
@@ -232,6 +254,11 @@
//
this.button34.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button34.IconSvg = resources.GetString("button34.IconSvg");
+ this.button34.Image = null;
+ this.button34.ImageHover = null;
+ this.button34.ImageHoverSvg = null;
+ this.button34.ImageSize = new System.Drawing.Size(0, 0);
+ this.button34.ImageSvg = resources.GetString("button34.ImageSvg");
this.button34.JoinLeft = true;
this.button34.JoinRight = true;
this.button34.Location = new System.Drawing.Point(77, 3);
@@ -244,6 +271,11 @@
// button35
//
this.button35.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button35.Image = null;
+ this.button35.ImageHover = null;
+ this.button35.ImageHoverSvg = null;
+ this.button35.ImageSize = new System.Drawing.Size(0, 0);
+ this.button35.ImageSvg = null;
this.button35.JoinRight = true;
this.button35.Location = new System.Drawing.Point(3, 3);
this.button35.Name = "button35";
@@ -281,6 +313,11 @@
this.button28.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button28.Ghost = true;
this.button28.IconSvg = resources.GetString("button28.IconSvg");
+ this.button28.Image = null;
+ this.button28.ImageHover = null;
+ this.button28.ImageHoverSvg = null;
+ this.button28.ImageSize = new System.Drawing.Size(0, 0);
+ this.button28.ImageSvg = resources.GetString("button28.ImageSvg");
this.button28.Location = new System.Drawing.Point(347, 3);
this.button28.Name = "button28";
this.button28.ShowArrow = true;
@@ -295,6 +332,11 @@
this.button27.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button27.Ghost = true;
this.button27.IconSvg = resources.GetString("button27.IconSvg");
+ this.button27.Image = null;
+ this.button27.ImageHover = null;
+ this.button27.ImageHoverSvg = null;
+ this.button27.ImageSize = new System.Drawing.Size(0, 0);
+ this.button27.ImageSvg = resources.GetString("button27.ImageSvg");
this.button27.Location = new System.Drawing.Point(261, 3);
this.button27.Name = "button27";
this.button27.ShowArrow = true;
@@ -309,6 +351,11 @@
this.button26.BorderWidth = 2F;
this.button26.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button26.Ghost = true;
+ this.button26.Image = null;
+ this.button26.ImageHover = null;
+ this.button26.ImageHoverSvg = null;
+ this.button26.ImageSize = new System.Drawing.Size(0, 0);
+ this.button26.ImageSvg = null;
this.button26.Location = new System.Drawing.Point(175, 3);
this.button26.Name = "button26";
this.button26.ShowArrow = true;
@@ -322,6 +369,11 @@
//
this.button25.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button25.Ghost = true;
+ this.button25.Image = null;
+ this.button25.ImageHover = null;
+ this.button25.ImageHoverSvg = null;
+ this.button25.ImageSize = new System.Drawing.Size(0, 0);
+ this.button25.ImageSvg = null;
this.button25.Location = new System.Drawing.Point(89, 3);
this.button25.Name = "button25";
this.button25.ShowArrow = true;
@@ -334,6 +386,11 @@
// button29
//
this.button29.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button29.Image = null;
+ this.button29.ImageHover = null;
+ this.button29.ImageHoverSvg = null;
+ this.button29.ImageSize = new System.Drawing.Size(0, 0);
+ this.button29.ImageSvg = null;
this.button29.Location = new System.Drawing.Point(3, 3);
this.button29.Name = "button29";
this.button29.ShowArrow = true;
@@ -372,6 +429,11 @@
this.button21.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button21.Ghost = true;
this.button21.IconSvg = resources.GetString("button21.IconSvg");
+ this.button21.Image = null;
+ this.button21.ImageHover = null;
+ this.button21.ImageHoverSvg = null;
+ this.button21.ImageSize = new System.Drawing.Size(0, 0);
+ this.button21.ImageSvg = resources.GetString("button21.ImageSvg");
this.button21.Location = new System.Drawing.Point(279, 3);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(75, 32);
@@ -386,6 +448,11 @@
this.button22.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button22.Ghost = true;
this.button22.IconSvg = resources.GetString("button22.IconSvg");
+ this.button22.Image = null;
+ this.button22.ImageHover = null;
+ this.button22.ImageHoverSvg = null;
+ this.button22.ImageSize = new System.Drawing.Size(0, 0);
+ this.button22.ImageSvg = resources.GetString("button22.ImageSvg");
this.button22.Location = new System.Drawing.Point(241, 3);
this.button22.Name = "button22";
this.button22.Shape = AntdUI.TShape.Circle;
@@ -399,6 +466,11 @@
this.button19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button19.Ghost = true;
this.button19.IconSvg = resources.GetString("button19.IconSvg");
+ this.button19.Image = null;
+ this.button19.ImageHover = null;
+ this.button19.ImageHoverSvg = null;
+ this.button19.ImageSize = new System.Drawing.Size(0, 0);
+ this.button19.ImageSvg = resources.GetString("button19.ImageSvg");
this.button19.Location = new System.Drawing.Point(160, 3);
this.button19.Name = "button19";
this.button19.RightToLeft = System.Windows.Forms.RightToLeft.No;
@@ -413,6 +485,11 @@
this.button20.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button20.Ghost = true;
this.button20.IconSvg = resources.GetString("button20.IconSvg");
+ this.button20.Image = null;
+ this.button20.ImageHover = null;
+ this.button20.ImageHoverSvg = null;
+ this.button20.ImageSize = new System.Drawing.Size(0, 0);
+ this.button20.ImageSvg = resources.GetString("button20.ImageSvg");
this.button20.Location = new System.Drawing.Point(122, 3);
this.button20.Name = "button20";
this.button20.Shape = AntdUI.TShape.Circle;
@@ -425,6 +502,11 @@
//
this.button23.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button23.IconSvg = resources.GetString("button23.IconSvg");
+ this.button23.Image = null;
+ this.button23.ImageHover = null;
+ this.button23.ImageHoverSvg = null;
+ this.button23.ImageSize = new System.Drawing.Size(0, 0);
+ this.button23.ImageSvg = resources.GetString("button23.ImageSvg");
this.button23.Location = new System.Drawing.Point(41, 3);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(75, 32);
@@ -436,6 +518,11 @@
//
this.button24.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button24.IconSvg = resources.GetString("button24.IconSvg");
+ this.button24.Image = null;
+ this.button24.ImageHover = null;
+ this.button24.ImageHoverSvg = null;
+ this.button24.ImageSize = new System.Drawing.Size(0, 0);
+ this.button24.ImageSvg = resources.GetString("button24.ImageSvg");
this.button24.Location = new System.Drawing.Point(3, 3);
this.button24.Name = "button24";
this.button24.Shape = AntdUI.TShape.Circle;
@@ -471,6 +558,11 @@
this.button13.BorderWidth = 2F;
this.button13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button13.Ghost = true;
+ this.button13.Image = null;
+ this.button13.ImageHover = null;
+ this.button13.ImageHoverSvg = null;
+ this.button13.ImageSize = new System.Drawing.Size(0, 0);
+ this.button13.ImageSvg = null;
this.button13.Location = new System.Drawing.Point(408, 3);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(75, 32);
@@ -484,6 +576,11 @@
this.button14.BorderWidth = 2F;
this.button14.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button14.Ghost = true;
+ this.button14.Image = null;
+ this.button14.ImageHover = null;
+ this.button14.ImageHoverSvg = null;
+ this.button14.ImageSize = new System.Drawing.Size(0, 0);
+ this.button14.ImageSvg = null;
this.button14.Location = new System.Drawing.Point(327, 3);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(75, 32);
@@ -497,6 +594,11 @@
this.button15.BorderWidth = 2F;
this.button15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button15.Ghost = true;
+ this.button15.Image = null;
+ this.button15.ImageHover = null;
+ this.button15.ImageHoverSvg = null;
+ this.button15.ImageSize = new System.Drawing.Size(0, 0);
+ this.button15.ImageSvg = null;
this.button15.Location = new System.Drawing.Point(246, 3);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(75, 32);
@@ -510,6 +612,11 @@
this.button16.BorderWidth = 2F;
this.button16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button16.Ghost = true;
+ this.button16.Image = null;
+ this.button16.ImageHover = null;
+ this.button16.ImageHoverSvg = null;
+ this.button16.ImageSize = new System.Drawing.Size(0, 0);
+ this.button16.ImageSvg = null;
this.button16.Location = new System.Drawing.Point(165, 3);
this.button16.Name = "button16";
this.button16.Size = new System.Drawing.Size(75, 32);
@@ -523,6 +630,11 @@
this.button17.BorderWidth = 2F;
this.button17.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button17.Ghost = true;
+ this.button17.Image = null;
+ this.button17.ImageHover = null;
+ this.button17.ImageHoverSvg = null;
+ this.button17.ImageSize = new System.Drawing.Size(0, 0);
+ this.button17.ImageSvg = null;
this.button17.Location = new System.Drawing.Point(84, 3);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(75, 32);
@@ -536,6 +648,11 @@
this.button18.BorderWidth = 2F;
this.button18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button18.Ghost = true;
+ this.button18.Image = null;
+ this.button18.ImageHover = null;
+ this.button18.ImageHoverSvg = null;
+ this.button18.ImageSize = new System.Drawing.Size(0, 0);
+ this.button18.ImageSvg = null;
this.button18.Location = new System.Drawing.Point(3, 3);
this.button18.Name = "button18";
this.button18.Size = new System.Drawing.Size(75, 32);
@@ -570,6 +687,11 @@
//
this.button7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button7.Ghost = true;
+ this.button7.Image = null;
+ this.button7.ImageHover = null;
+ this.button7.ImageHoverSvg = null;
+ this.button7.ImageSize = new System.Drawing.Size(0, 0);
+ this.button7.ImageSvg = null;
this.button7.Location = new System.Drawing.Point(408, 3);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 32);
@@ -582,6 +704,11 @@
//
this.button8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button8.Ghost = true;
+ this.button8.Image = null;
+ this.button8.ImageHover = null;
+ this.button8.ImageHoverSvg = null;
+ this.button8.ImageSize = new System.Drawing.Size(0, 0);
+ this.button8.ImageSvg = null;
this.button8.Location = new System.Drawing.Point(327, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(75, 32);
@@ -594,6 +721,11 @@
//
this.button9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button9.Ghost = true;
+ this.button9.Image = null;
+ this.button9.ImageHover = null;
+ this.button9.ImageHoverSvg = null;
+ this.button9.ImageSize = new System.Drawing.Size(0, 0);
+ this.button9.ImageSvg = null;
this.button9.Location = new System.Drawing.Point(246, 3);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(75, 32);
@@ -606,6 +738,11 @@
//
this.button10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button10.Ghost = true;
+ this.button10.Image = null;
+ this.button10.ImageHover = null;
+ this.button10.ImageHoverSvg = null;
+ this.button10.ImageSize = new System.Drawing.Size(0, 0);
+ this.button10.ImageSvg = null;
this.button10.Location = new System.Drawing.Point(165, 3);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(75, 32);
@@ -618,6 +755,11 @@
//
this.button11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button11.Ghost = true;
+ this.button11.Image = null;
+ this.button11.ImageHover = null;
+ this.button11.ImageHoverSvg = null;
+ this.button11.ImageSize = new System.Drawing.Size(0, 0);
+ this.button11.ImageSvg = null;
this.button11.Location = new System.Drawing.Point(84, 3);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(75, 32);
@@ -630,6 +772,11 @@
//
this.button12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button12.Ghost = true;
+ this.button12.Image = null;
+ this.button12.ImageHover = null;
+ this.button12.ImageHoverSvg = null;
+ this.button12.ImageSize = new System.Drawing.Size(0, 0);
+ this.button12.ImageSvg = null;
this.button12.Location = new System.Drawing.Point(3, 3);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(75, 32);
@@ -663,6 +810,11 @@
// button6
//
this.button6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button6.Image = null;
+ this.button6.ImageHover = null;
+ this.button6.ImageHoverSvg = null;
+ this.button6.ImageSize = new System.Drawing.Size(0, 0);
+ this.button6.ImageSvg = null;
this.button6.Location = new System.Drawing.Point(408, 3);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 32);
@@ -674,6 +826,11 @@
// button5
//
this.button5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button5.Image = null;
+ this.button5.ImageHover = null;
+ this.button5.ImageHoverSvg = null;
+ this.button5.ImageSize = new System.Drawing.Size(0, 0);
+ this.button5.ImageSvg = null;
this.button5.Location = new System.Drawing.Point(327, 3);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 32);
@@ -685,6 +842,11 @@
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button4.Image = null;
+ this.button4.ImageHover = null;
+ this.button4.ImageHoverSvg = null;
+ this.button4.ImageSize = new System.Drawing.Size(0, 0);
+ this.button4.ImageSvg = null;
this.button4.Location = new System.Drawing.Point(246, 3);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 32);
@@ -696,6 +858,11 @@
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button3.Image = null;
+ this.button3.ImageHover = null;
+ this.button3.ImageHoverSvg = null;
+ this.button3.ImageSize = new System.Drawing.Size(0, 0);
+ this.button3.ImageSvg = null;
this.button3.Location = new System.Drawing.Point(165, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 32);
@@ -707,6 +874,11 @@
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button2.Image = null;
+ this.button2.ImageHover = null;
+ this.button2.ImageHoverSvg = null;
+ this.button2.ImageSize = new System.Drawing.Size(0, 0);
+ this.button2.ImageSvg = null;
this.button2.Location = new System.Drawing.Point(84, 3);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 32);
@@ -719,6 +891,11 @@
//
this.button1.Cursor = System.Windows.Forms.Cursors.Default;
this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button1.Image = null;
+ this.button1.ImageHover = null;
+ this.button1.ImageHoverSvg = null;
+ this.button1.ImageSize = new System.Drawing.Size(0, 0);
+ this.button1.ImageSvg = null;
this.button1.Location = new System.Drawing.Point(3, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 32);
diff --git a/Views/ButtonDemo.resx b/Views/ButtonDemo.resx
index 44792e5..1110d4d 100644
--- a/Views/ButtonDemo.resx
+++ b/Views/ButtonDemo.resx
@@ -120,34 +120,67 @@
<svg viewBox="64 64 896 896"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
<svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
\ No newline at end of file
diff --git a/Views/InputDemo.Designer.cs b/Views/InputDemo.Designer.cs
new file mode 100644
index 0000000..01f43bd
--- /dev/null
+++ b/Views/InputDemo.Designer.cs
@@ -0,0 +1,631 @@
+namespace AntdUIDemo.Views
+{
+ partial class InputDemo
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputDemo));
+ this.stackPanel1 = new AntdUI.StackPanel();
+ this.flowPanel5 = new AntdUI.FlowPanel();
+ this.input6 = new AntdUI.Input();
+ this.input5 = new AntdUI.Input();
+ this.label6 = new AntdUI.Label();
+ this.flowPanel4 = new AntdUI.FlowPanel();
+ this.input3 = new AntdUI.Input();
+ this.label5 = new AntdUI.Label();
+ this.flowPanel2 = new AntdUI.FlowPanel();
+ this.input2 = new AntdUI.Input();
+ this.input4 = new AntdUI.Input();
+ this.label4 = new AntdUI.Label();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.input1 = new AntdUI.Input();
+ this.label3 = new AntdUI.Label();
+ this.divider1 = new AntdUI.Divider();
+ this.label2 = new AntdUI.Label();
+ this.label1 = new AntdUI.Label();
+ this.label8 = new AntdUI.Label();
+ this.flowPanel6 = new AntdUI.FlowPanel();
+ this.input13 = new AntdUI.Input();
+ this.input11 = new AntdUI.Input();
+ this.input8 = new AntdUI.Input();
+ this.input7 = new AntdUI.Input();
+ this.input14 = new AntdUI.Input();
+ this.flowPanel3 = new AntdUI.FlowPanel();
+ this.panel1 = new AntdUI.Panel();
+ this.button_loading = new AntdUI.Button();
+ this.input10 = new AntdUI.Input();
+ this.panel3 = new AntdUI.Panel();
+ this.input9 = new AntdUI.Input();
+ this.button1 = new AntdUI.Button();
+ this.label7 = new AntdUI.Label();
+ this.label9 = new AntdUI.Label();
+ this.flowPanel7 = new AntdUI.FlowPanel();
+ this.input16 = new AntdUI.Input();
+ this.tooltipComponent1 = new AntdUI.TooltipComponent();
+ this.label10 = new AntdUI.Label();
+ this.flowPanel8 = new AntdUI.FlowPanel();
+ this.input12 = new AntdUI.Input();
+ this.input15 = new AntdUI.Input();
+ this.input_status = new AntdUI.Input();
+ this.stackPanel1.SuspendLayout();
+ this.flowPanel5.SuspendLayout();
+ this.flowPanel4.SuspendLayout();
+ this.flowPanel2.SuspendLayout();
+ this.flowPanel1.SuspendLayout();
+ this.flowPanel6.SuspendLayout();
+ this.flowPanel3.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.flowPanel7.SuspendLayout();
+ this.flowPanel8.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // stackPanel1
+ //
+ this.stackPanel1.Controls.Add(this.flowPanel8);
+ this.stackPanel1.Controls.Add(this.label10);
+ this.stackPanel1.Controls.Add(this.flowPanel7);
+ this.stackPanel1.Controls.Add(this.label9);
+ this.stackPanel1.Controls.Add(this.flowPanel3);
+ this.stackPanel1.Controls.Add(this.label7);
+ this.stackPanel1.Controls.Add(this.flowPanel6);
+ this.stackPanel1.Controls.Add(this.label8);
+ this.stackPanel1.Controls.Add(this.flowPanel5);
+ this.stackPanel1.Controls.Add(this.label6);
+ this.stackPanel1.Controls.Add(this.flowPanel4);
+ this.stackPanel1.Controls.Add(this.label5);
+ this.stackPanel1.Controls.Add(this.flowPanel2);
+ this.stackPanel1.Controls.Add(this.label4);
+ this.stackPanel1.Controls.Add(this.flowPanel1);
+ this.stackPanel1.Controls.Add(this.label3);
+ this.stackPanel1.Controls.Add(this.divider1);
+ this.stackPanel1.Controls.Add(this.label2);
+ this.stackPanel1.Controls.Add(this.label1);
+ this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.stackPanel1.Location = new System.Drawing.Point(0, 0);
+ this.stackPanel1.Name = "stackPanel1";
+ this.stackPanel1.Size = new System.Drawing.Size(700, 768);
+ this.stackPanel1.TabIndex = 0;
+ this.stackPanel1.Text = "stackPanel1";
+ this.stackPanel1.Vertical = true;
+ //
+ // flowPanel5
+ //
+ this.flowPanel5.Controls.Add(this.input6);
+ this.flowPanel5.Controls.Add(this.input5);
+ this.flowPanel5.Location = new System.Drawing.Point(3, 387);
+ this.flowPanel5.Name = "flowPanel5";
+ this.flowPanel5.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel5.TabIndex = 16;
+ this.flowPanel5.Text = "flowPanel5";
+ //
+ // input6
+ //
+ this.input6.Badge = "";
+ this.input6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input6.Location = new System.Drawing.Point(209, 3);
+ this.input6.Name = "input6";
+ this.input6.PasswordChar = '#';
+ this.input6.PlaceholderText = "密码不可复制";
+ this.input6.Size = new System.Drawing.Size(200, 32);
+ this.input6.TabIndex = 1;
+ this.input6.UseSystemPasswordChar = true;
+ this.input6.WaveSize = 0;
+ //
+ // input5
+ //
+ this.input5.Badge = "";
+ this.input5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input5.Location = new System.Drawing.Point(3, 3);
+ this.input5.Name = "input5";
+ this.input5.PasswordChar = '*';
+ this.input5.PasswordCopy = true;
+ this.input5.PlaceholderText = "输入密码";
+ this.input5.Size = new System.Drawing.Size(200, 32);
+ this.input5.TabIndex = 0;
+ this.input5.WaveSize = 0;
+ //
+ // label6
+ //
+ this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(3, 357);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(694, 24);
+ this.label6.TabIndex = 15;
+ this.label6.Text = "密码框";
+ //
+ // flowPanel4
+ //
+ this.flowPanel4.Controls.Add(this.input14);
+ this.flowPanel4.Controls.Add(this.input3);
+ this.flowPanel4.Location = new System.Drawing.Point(3, 275);
+ this.flowPanel4.Name = "flowPanel4";
+ this.flowPanel4.Size = new System.Drawing.Size(694, 76);
+ this.flowPanel4.TabIndex = 14;
+ this.flowPanel4.Text = "flowPanel4";
+ //
+ // input3
+ //
+ this.input3.Badge = "";
+ this.input3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input3.Location = new System.Drawing.Point(3, 3);
+ this.input3.Multiline = true;
+ this.input3.Name = "input3";
+ this.input3.Size = new System.Drawing.Size(200, 70);
+ this.input3.TabIndex = 1;
+ this.input3.WaveSize = 0;
+ //
+ // label5
+ //
+ this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(3, 245);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(694, 24);
+ this.label5.TabIndex = 13;
+ this.label5.Text = "多行文本";
+ //
+ // flowPanel2
+ //
+ this.flowPanel2.Controls.Add(this.input2);
+ this.flowPanel2.Controls.Add(this.input4);
+ this.flowPanel2.Location = new System.Drawing.Point(3, 201);
+ this.flowPanel2.Name = "flowPanel2";
+ this.flowPanel2.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel2.TabIndex = 11;
+ this.flowPanel2.Text = "flowPanel2";
+ //
+ // input2
+ //
+ this.input2.Badge = "";
+ this.input2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input2.Location = new System.Drawing.Point(209, 3);
+ this.input2.Name = "input2";
+ this.input2.PlaceholderText = "前后置图标";
+ this.input2.PrefixSvg = resources.GetString("input2.PrefixSvg");
+ this.input2.Size = new System.Drawing.Size(200, 32);
+ this.input2.SuffixSvg = resources.GetString("input2.SuffixSvg");
+ this.input2.TabIndex = 6;
+ this.input2.WaveSize = 0;
+ //
+ // input4
+ //
+ this.input4.Badge = "";
+ this.input4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input4.Location = new System.Drawing.Point(3, 3);
+ this.input4.Name = "input4";
+ this.input4.PlaceholderText = "前后置文本";
+ this.input4.PrefixSvg = "";
+ this.input4.PrefixText = "https://";
+ this.input4.Size = new System.Drawing.Size(200, 32);
+ this.input4.SuffixText = ".com";
+ this.input4.TabIndex = 4;
+ this.input4.WaveSize = 0;
+ //
+ // label4
+ //
+ this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(3, 171);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(694, 24);
+ this.label4.TabIndex = 10;
+ this.label4.Text = "前置/后置标签";
+ //
+ // flowPanel1
+ //
+ this.flowPanel1.Controls.Add(this.input7);
+ this.flowPanel1.Controls.Add(this.input8);
+ this.flowPanel1.Controls.Add(this.input1);
+ this.flowPanel1.Location = new System.Drawing.Point(3, 127);
+ this.flowPanel1.Name = "flowPanel1";
+ this.flowPanel1.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel1.TabIndex = 9;
+ this.flowPanel1.Text = "flowPanel1";
+ //
+ // input1
+ //
+ this.input1.Badge = "";
+ this.input1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input1.Location = new System.Drawing.Point(3, 3);
+ this.input1.Name = "input1";
+ this.input1.Size = new System.Drawing.Size(200, 32);
+ this.input1.TabIndex = 0;
+ this.input1.WaveSize = 0;
+ //
+ // label3
+ //
+ this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(3, 97);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(694, 24);
+ this.label3.TabIndex = 8;
+ this.label3.Text = "基本类型";
+ //
+ // divider1
+ //
+ this.divider1.Location = new System.Drawing.Point(3, 79);
+ this.divider1.Name = "divider1";
+ this.divider1.Size = new System.Drawing.Size(694, 12);
+ this.divider1.TabIndex = 7;
+ //
+ // label2
+ //
+ this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(3, 49);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(694, 24);
+ this.label2.TabIndex = 6;
+ this.label2.Text = "通过鼠标或键盘输入内容,是最基础的表单域的包装。";
+ //
+ // label1
+ //
+ this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(3, 3);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(694, 40);
+ this.label1.TabIndex = 5;
+ this.label1.Text = "Input 输入框";
+ //
+ // label8
+ //
+ this.label8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(3, 431);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(694, 24);
+ this.label8.TabIndex = 19;
+ this.label8.Text = "边框显示";
+ //
+ // flowPanel6
+ //
+ this.flowPanel6.Controls.Add(this.input11);
+ this.flowPanel6.Controls.Add(this.input13);
+ this.flowPanel6.Location = new System.Drawing.Point(3, 461);
+ this.flowPanel6.Name = "flowPanel6";
+ this.flowPanel6.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel6.TabIndex = 20;
+ this.flowPanel6.Text = "flowPanel6";
+ //
+ // input13
+ //
+ this.input13.Badge = "";
+ this.input13.BorderWidth = 0F;
+ this.input13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input13.Location = new System.Drawing.Point(3, 3);
+ this.input13.Name = "input13";
+ this.input13.PlaceholderText = "无边框";
+ this.input13.Size = new System.Drawing.Size(200, 32);
+ this.input13.TabIndex = 0;
+ this.input13.WaveSize = 0;
+ //
+ // input11
+ //
+ this.input11.Badge = "";
+ this.input11.BorderWidth = 2F;
+ this.input11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input11.Location = new System.Drawing.Point(209, 3);
+ this.input11.Name = "input11";
+ this.input11.PlaceholderText = "有边框";
+ this.input11.Size = new System.Drawing.Size(200, 32);
+ this.input11.TabIndex = 1;
+ this.input11.WaveSize = 0;
+ //
+ // input8
+ //
+ this.input8.AllowClear = true;
+ this.input8.Badge = "";
+ this.input8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input8.Location = new System.Drawing.Point(209, 3);
+ this.input8.Name = "input8";
+ this.input8.PlaceholderText = "清除按钮";
+ this.input8.Size = new System.Drawing.Size(200, 32);
+ this.input8.TabIndex = 2;
+ this.input8.WaveSize = 0;
+ //
+ // input7
+ //
+ this.input7.Badge = "";
+ this.input7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input7.Location = new System.Drawing.Point(415, 3);
+ this.input7.Name = "input7";
+ this.input7.PlaceholderText = "圆形";
+ this.input7.Round = true;
+ this.input7.Size = new System.Drawing.Size(200, 32);
+ this.input7.TabIndex = 3;
+ this.input7.WaveSize = 0;
+ //
+ // input14
+ //
+ this.input14.AutoScroll = true;
+ this.input14.Badge = "";
+ this.input14.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input14.Location = new System.Drawing.Point(209, 3);
+ this.input14.Multiline = true;
+ this.input14.Name = "input14";
+ this.input14.PlaceholderText = "超出高度自动显示滚动条";
+ this.input14.Size = new System.Drawing.Size(200, 70);
+ this.input14.TabIndex = 2;
+ this.input14.WaveSize = 0;
+ //
+ // flowPanel3
+ //
+ this.flowPanel3.Controls.Add(this.panel1);
+ this.flowPanel3.Controls.Add(this.panel3);
+ this.flowPanel3.Location = new System.Drawing.Point(3, 535);
+ this.flowPanel3.Name = "flowPanel3";
+ this.flowPanel3.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel3.TabIndex = 22;
+ this.flowPanel3.Text = "flowPanel3";
+ //
+ // panel1
+ //
+ this.panel1.Back = System.Drawing.Color.Transparent;
+ this.panel1.Controls.Add(this.button_loading);
+ this.panel1.Controls.Add(this.input10);
+ this.panel1.Location = new System.Drawing.Point(205, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(205, 38);
+ this.panel1.TabIndex = 7;
+ this.panel1.Text = "panel1";
+ //
+ // button_loading
+ //
+ this.button_loading.BorderWidth = 1F;
+ this.button_loading.Cursor = System.Windows.Forms.Cursors.Default;
+ this.button_loading.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button_loading.IconSvg = resources.GetString("button_loading.IconSvg");
+ this.button_loading.Image = null;
+ this.button_loading.ImageHover = null;
+ this.button_loading.ImageHoverSvg = null;
+ this.button_loading.ImageSize = new System.Drawing.Size(0, 0);
+ this.button_loading.ImageSvg = resources.GetString("button_loading.ImageSvg");
+ this.button_loading.JoinLeft = true;
+ this.button_loading.Location = new System.Drawing.Point(165, 3);
+ this.button_loading.Name = "button_loading";
+ this.button_loading.Size = new System.Drawing.Size(40, 32);
+ this.button_loading.TabIndex = 5;
+ this.button_loading.Type = AntdUI.TTypeMini.Primary;
+ this.button_loading.WaveSize = 0;
+ //
+ // input10
+ //
+ this.input10.Badge = "";
+ this.input10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input10.JoinRight = true;
+ this.input10.Location = new System.Drawing.Point(3, 3);
+ this.input10.Name = "input10";
+ this.input10.PlaceholderText = "搜索框Loading";
+ this.input10.Size = new System.Drawing.Size(162, 32);
+ this.input10.TabIndex = 4;
+ this.input10.WaveSize = 0;
+ //
+ // panel3
+ //
+ this.panel3.Back = System.Drawing.Color.Transparent;
+ this.panel3.Controls.Add(this.input9);
+ this.panel3.Controls.Add(this.button1);
+ this.panel3.Location = new System.Drawing.Point(0, 0);
+ this.panel3.Margin = new System.Windows.Forms.Padding(0);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(205, 38);
+ this.panel3.TabIndex = 6;
+ this.panel3.Text = "panel3";
+ //
+ // input9
+ //
+ this.input9.Badge = "";
+ this.input9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input9.JoinLeft = true;
+ this.input9.Location = new System.Drawing.Point(41, 3);
+ this.input9.Name = "input9";
+ this.input9.PlaceholderText = "搜索框";
+ this.input9.Size = new System.Drawing.Size(162, 32);
+ this.input9.TabIndex = 4;
+ this.input9.WaveSize = 0;
+ //
+ // button1
+ //
+ this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button1.IconSvg = resources.GetString("button1.IconSvg");
+ this.button1.Image = null;
+ this.button1.ImageHover = null;
+ this.button1.ImageHoverSvg = null;
+ this.button1.ImageSize = new System.Drawing.Size(0, 0);
+ this.button1.ImageSvg = resources.GetString("button1.ImageSvg");
+ this.button1.JoinRight = true;
+ this.button1.Location = new System.Drawing.Point(3, 3);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(40, 32);
+ this.button1.TabIndex = 3;
+ this.button1.Type = AntdUI.TTypeMini.Primary;
+ this.button1.WaveSize = 0;
+ //
+ // label7
+ //
+ this.label7.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(3, 505);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(694, 24);
+ this.label7.TabIndex = 21;
+ this.label7.Text = "按钮组合";
+ //
+ // label9
+ //
+ this.label9.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(3, 579);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(694, 24);
+ this.label9.TabIndex = 23;
+ this.label9.Text = "提示组合";
+ //
+ // flowPanel7
+ //
+ this.flowPanel7.Controls.Add(this.input16);
+ this.flowPanel7.Location = new System.Drawing.Point(3, 609);
+ this.flowPanel7.Name = "flowPanel7";
+ this.flowPanel7.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel7.TabIndex = 24;
+ this.flowPanel7.Text = "flowPanel7";
+ //
+ // input16
+ //
+ this.input16.Badge = "";
+ this.input16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input16.Location = new System.Drawing.Point(3, 3);
+ this.input16.Name = "input16";
+ this.input16.PlaceholderText = "输入内容提示";
+ this.input16.Size = new System.Drawing.Size(200, 32);
+ this.input16.TabIndex = 0;
+ this.tooltipComponent1.SetTip(this.input16, "随便输点什么");
+ this.input16.WaveSize = 0;
+ //
+ // tooltipComponent1
+ //
+ this.tooltipComponent1.ArrowAlign = AntdUI.TAlign.TL;
+ this.tooltipComponent1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ //
+ // label10
+ //
+ this.label10.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(3, 653);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(694, 24);
+ this.label10.TabIndex = 25;
+ this.label10.Text = "状态";
+ //
+ // flowPanel8
+ //
+ this.flowPanel8.Controls.Add(this.input_status);
+ this.flowPanel8.Controls.Add(this.input15);
+ this.flowPanel8.Controls.Add(this.input12);
+ this.flowPanel8.Location = new System.Drawing.Point(3, 683);
+ this.flowPanel8.Name = "flowPanel8";
+ this.flowPanel8.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel8.TabIndex = 26;
+ this.flowPanel8.Text = "flowPanel8";
+ //
+ // input12
+ //
+ this.input12.Badge = "";
+ this.input12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input12.Location = new System.Drawing.Point(3, 3);
+ this.input12.Name = "input12";
+ this.input12.PlaceholderText = "Success";
+ this.input12.Size = new System.Drawing.Size(200, 32);
+ this.input12.Status = AntdUI.TType.Success;
+ this.input12.TabIndex = 1;
+ this.input12.WaveSize = 0;
+ //
+ // input15
+ //
+ this.input15.Badge = "";
+ this.input15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input15.Location = new System.Drawing.Point(209, 3);
+ this.input15.Name = "input15";
+ this.input15.PlaceholderText = "Warn";
+ this.input15.Size = new System.Drawing.Size(200, 32);
+ this.input15.Status = AntdUI.TType.Warn;
+ this.input15.TabIndex = 3;
+ this.input15.WaveSize = 0;
+ //
+ // input_status
+ //
+ this.input_status.Badge = "";
+ this.input_status.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.input_status.Location = new System.Drawing.Point(415, 3);
+ this.input_status.Name = "input_status";
+ this.input_status.PlaceholderText = "输入英文字母,否则异常";
+ this.input_status.Size = new System.Drawing.Size(200, 32);
+ this.input_status.TabIndex = 4;
+ this.input_status.WaveSize = 0;
+ //
+ // InputDemo
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
+ this.Controls.Add(this.stackPanel1);
+ this.Name = "InputDemo";
+ this.Size = new System.Drawing.Size(700, 768);
+ this.stackPanel1.ResumeLayout(false);
+ this.flowPanel5.ResumeLayout(false);
+ this.flowPanel4.ResumeLayout(false);
+ this.flowPanel2.ResumeLayout(false);
+ this.flowPanel1.ResumeLayout(false);
+ this.flowPanel6.ResumeLayout(false);
+ this.flowPanel3.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.panel3.ResumeLayout(false);
+ this.flowPanel7.ResumeLayout(false);
+ this.flowPanel8.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AntdUI.StackPanel stackPanel1;
+ private AntdUI.Divider divider1;
+ private AntdUI.Label label2;
+ private AntdUI.Label label1;
+ private AntdUI.Label label3;
+ private AntdUI.FlowPanel flowPanel1;
+ private AntdUI.Input input1;
+ private AntdUI.FlowPanel flowPanel2;
+ private AntdUI.Label label4;
+ private AntdUI.Input input4;
+ private AntdUI.FlowPanel flowPanel4;
+ private AntdUI.Input input3;
+ private AntdUI.Label label5;
+ private AntdUI.FlowPanel flowPanel5;
+ private AntdUI.Input input5;
+ private AntdUI.Label label6;
+ private AntdUI.Input input6;
+ private AntdUI.Input input2;
+ private AntdUI.FlowPanel flowPanel6;
+ private AntdUI.Input input11;
+ private AntdUI.Input input13;
+ private AntdUI.Label label8;
+ private AntdUI.Input input7;
+ private AntdUI.Input input8;
+ private AntdUI.Input input14;
+ private AntdUI.FlowPanel flowPanel7;
+ private AntdUI.Input input16;
+ private AntdUI.Label label9;
+ private AntdUI.FlowPanel flowPanel3;
+ private AntdUI.Panel panel1;
+ private AntdUI.Button button_loading;
+ private AntdUI.Input input10;
+ private AntdUI.Panel panel3;
+ private AntdUI.Input input9;
+ private AntdUI.Button button1;
+ private AntdUI.Label label7;
+ private AntdUI.TooltipComponent tooltipComponent1;
+ private AntdUI.FlowPanel flowPanel8;
+ private AntdUI.Label label10;
+ private AntdUI.Input input12;
+ private AntdUI.Input input15;
+ private AntdUI.Input input_status;
+ }
+}
diff --git a/Views/InputDemo.cs b/Views/InputDemo.cs
new file mode 100644
index 0000000..5c53e41
--- /dev/null
+++ b/Views/InputDemo.cs
@@ -0,0 +1,69 @@
+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.Text.RegularExpressions;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AntdUIDemo.Views
+{
+ public partial class InputDemo : UserControl
+ {
+ public InputDemo()
+ {
+ InitializeComponent();
+ // 绑定事件
+ BindEventHandler();
+ }
+
+ private void BindEventHandler()
+ {
+ button_loading.Click += Button_loading_Click;
+ input_status.TextChanged += Input_status_TextChanged;
+ }
+
+ private void Input_status_TextChanged(object sender, EventArgs e)
+ {
+ var text = input_status.Text;
+ // 判断是否空
+ if (string.IsNullOrEmpty(text)) {
+ input_status.Status = TType.None;
+ return;
+ }
+ bool containsLetter = ValidateString(text);
+ if (!containsLetter) {
+ input_status.Status = TType.Error;
+ }
+ else
+ {
+ input_status.Status = TType.None;
+ }
+
+ }
+
+ private async void Button_loading_Click(object sender, EventArgs e)
+ {
+ button_loading.Loading = true;
+ await Task.Delay(3000);
+ button_loading.Loading = false;
+ }
+
+ private bool ValidateString(string input)
+ {
+ // 逐个字符检查是否为英文字母
+ foreach (char c in input)
+ {
+ if (!Regex.IsMatch(c.ToString(), @"[a-zA-Z]"))
+ {
+ return false;
+ }
+ }
+ return true;
+ }
+ }
+}
diff --git a/Views/InputDemo.resx b/Views/InputDemo.resx
new file mode 100644
index 0000000..871bfc5
--- /dev/null
+++ b/Views/InputDemo.resx
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg>
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+
+ <svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>
+
+
+ 17, 17
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/Views/MenuDemo.Designer.cs b/Views/MenuDemo.Designer.cs
index e32e2b9..3a532cb 100644
--- a/Views/MenuDemo.Designer.cs
+++ b/Views/MenuDemo.Designer.cs
@@ -28,44 +28,44 @@
///
private void InitializeComponent()
{
- AntdUI.Tabs.StyleLine styleLine2 = new AntdUI.Tabs.StyleLine();
- AntdUI.MenuItem menuItem37 = new AntdUI.MenuItem();
+ AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
+ AntdUI.MenuItem menuItem1 = new AntdUI.MenuItem();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MenuDemo));
- AntdUI.MenuItem menuItem38 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem39 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem40 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem41 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem42 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem43 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem44 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem45 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem46 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem47 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem48 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem49 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem50 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem51 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem52 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem53 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem54 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem55 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem56 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem57 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem58 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem59 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem60 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem61 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem62 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem63 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem64 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem65 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem66 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem67 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem68 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem69 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem70 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem71 = new AntdUI.MenuItem();
- AntdUI.MenuItem menuItem72 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem2 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem3 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem4 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem5 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem6 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem7 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem8 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem9 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem10 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem11 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem12 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem13 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem14 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem15 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem16 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem17 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem18 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem19 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem20 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem21 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem22 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem23 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem24 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem25 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem26 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem27 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem28 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem29 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem30 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem31 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem32 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem33 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem34 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem35 = new AntdUI.MenuItem();
+ AntdUI.MenuItem menuItem36 = new AntdUI.MenuItem();
this.stackPanel1 = new AntdUI.StackPanel();
this.stackPanel2 = new AntdUI.StackPanel();
this.tabs1 = new AntdUI.Tabs();
@@ -139,7 +139,7 @@
this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.stackPanel1.Location = new System.Drawing.Point(0, 0);
this.stackPanel1.Name = "stackPanel1";
- this.stackPanel1.Size = new System.Drawing.Size(700, 585);
+ this.stackPanel1.Size = new System.Drawing.Size(700, 551);
this.stackPanel1.TabIndex = 0;
this.stackPanel1.Text = "stackPanel1";
this.stackPanel1.Vertical = true;
@@ -167,7 +167,7 @@
this.tabs1.Pages.Add(this.tabPage2);
this.tabs1.Pages.Add(this.tabPage3);
this.tabs1.Size = new System.Drawing.Size(402, 445);
- this.tabs1.Style = styleLine2;
+ this.tabs1.Style = styleLine1;
this.tabs1.TabIndex = 3;
this.tabs1.Text = "tabs1";
//
@@ -189,69 +189,69 @@
this.menu_inline.Dock = System.Windows.Forms.DockStyle.Left;
this.menu_inline.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menu_inline.Indent = true;
- menuItem37.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem37.IconSvg = resources.GetString("menuItem37.IconSvg");
- menuItem37.PARENTITEM = null;
- menuItem37.Select = false;
- menuItem38.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- menuItem38.PARENTITEM = menuItem37;
- menuItem38.Select = false;
- menuItem38.Text = "SVG可以变色";
- menuItem39.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem39.PARENTITEM = menuItem37;
- menuItem39.Select = false;
- menuItem39.Text = "如果变不了";
- menuItem40.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem40.PARENTITEM = menuItem37;
- menuItem40.Select = false;
- menuItem40.Text = "调整svg内容";
- menuItem37.Sub.Add(menuItem38);
- menuItem37.Sub.Add(menuItem39);
- menuItem37.Sub.Add(menuItem40);
- menuItem37.Text = "SVG图标菜单";
- menuItem41.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem41.Icon = global::AntdUIDemo.Properties.Resources.关闭;
- menuItem41.PARENTITEM = null;
- menuItem41.Select = false;
- menuItem42.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem42.PARENTITEM = menuItem41;
- menuItem42.Select = false;
- menuItem42.Text = "不能变色";
- menuItem43.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem43.PARENTITEM = menuItem41;
- menuItem43.Select = false;
- menuItem43.Text = "不适合使用黑白";
- menuItem44.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem44.PARENTITEM = menuItem41;
- menuItem44.Select = false;
- menuItem44.Text = "子菜单";
- menuItem41.Sub.Add(menuItem42);
- menuItem41.Sub.Add(menuItem43);
- menuItem41.Sub.Add(menuItem44);
- menuItem41.Text = "图片资源菜单";
- menuItem45.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem45.IconSvg = resources.GetString("menuItem45.IconSvg");
- menuItem45.PARENTITEM = null;
- menuItem45.Select = false;
- menuItem46.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- menuItem46.PARENTITEM = menuItem45;
- menuItem46.Select = false;
- menuItem46.Text = "二级菜单";
- menuItem47.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem47.PARENTITEM = menuItem45;
- menuItem47.Select = false;
- menuItem47.Text = "二级菜单";
- menuItem48.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem48.PARENTITEM = menuItem45;
- menuItem48.Select = false;
- menuItem48.Text = "二级菜单";
- menuItem45.Sub.Add(menuItem46);
- menuItem45.Sub.Add(menuItem47);
- menuItem45.Sub.Add(menuItem48);
- menuItem45.Text = "一级菜单";
- this.menu_inline.Items.Add(menuItem37);
- this.menu_inline.Items.Add(menuItem41);
- this.menu_inline.Items.Add(menuItem45);
+ menuItem1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem1.IconSvg = resources.GetString("menuItem1.IconSvg");
+ menuItem1.PARENTITEM = null;
+ menuItem1.Select = false;
+ menuItem2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ menuItem2.PARENTITEM = menuItem1;
+ menuItem2.Select = false;
+ menuItem2.Text = "SVG可以变色";
+ menuItem3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem3.PARENTITEM = menuItem1;
+ menuItem3.Select = false;
+ menuItem3.Text = "如果变不了";
+ menuItem4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem4.PARENTITEM = menuItem1;
+ menuItem4.Select = false;
+ menuItem4.Text = "调整svg内容";
+ menuItem1.Sub.Add(menuItem2);
+ menuItem1.Sub.Add(menuItem3);
+ menuItem1.Sub.Add(menuItem4);
+ menuItem1.Text = "SVG图标菜单";
+ menuItem5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem5.Icon = global::AntdUIDemo.Properties.Resources.关闭;
+ menuItem5.PARENTITEM = null;
+ menuItem5.Select = false;
+ menuItem6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem6.PARENTITEM = menuItem5;
+ menuItem6.Select = false;
+ menuItem6.Text = "不能变色";
+ menuItem7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem7.PARENTITEM = menuItem5;
+ menuItem7.Select = false;
+ menuItem7.Text = "不适合使用黑白";
+ menuItem8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem8.PARENTITEM = menuItem5;
+ menuItem8.Select = false;
+ menuItem8.Text = "子菜单";
+ menuItem5.Sub.Add(menuItem6);
+ menuItem5.Sub.Add(menuItem7);
+ menuItem5.Sub.Add(menuItem8);
+ menuItem5.Text = "图片资源菜单";
+ menuItem9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem9.IconSvg = resources.GetString("menuItem9.IconSvg");
+ menuItem9.PARENTITEM = null;
+ menuItem9.Select = false;
+ menuItem10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ menuItem10.PARENTITEM = menuItem9;
+ menuItem10.Select = false;
+ menuItem10.Text = "二级菜单";
+ menuItem11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem11.PARENTITEM = menuItem9;
+ menuItem11.Select = false;
+ menuItem11.Text = "二级菜单";
+ menuItem12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem12.PARENTITEM = menuItem9;
+ menuItem12.Select = false;
+ menuItem12.Text = "二级菜单";
+ menuItem9.Sub.Add(menuItem10);
+ menuItem9.Sub.Add(menuItem11);
+ menuItem9.Sub.Add(menuItem12);
+ menuItem9.Text = "一级菜单";
+ this.menu_inline.Items.Add(menuItem1);
+ this.menu_inline.Items.Add(menuItem5);
+ this.menu_inline.Items.Add(menuItem9);
this.menu_inline.Location = new System.Drawing.Point(9, 9);
this.menu_inline.Name = "menu_inline";
this.menu_inline.Size = new System.Drawing.Size(185, 386);
@@ -276,69 +276,69 @@
this.menu_vertical.Dock = System.Windows.Forms.DockStyle.Left;
this.menu_vertical.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menu_vertical.Indent = true;
- menuItem49.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem49.IconSvg = resources.GetString("menuItem49.IconSvg");
- menuItem49.PARENTITEM = null;
- menuItem49.Select = false;
- menuItem50.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- menuItem50.PARENTITEM = menuItem49;
- menuItem50.Select = false;
- menuItem50.Text = "SVG可以变色";
- menuItem51.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem51.PARENTITEM = menuItem49;
- menuItem51.Select = false;
- menuItem51.Text = "如果变不了";
- menuItem52.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem52.PARENTITEM = menuItem49;
- menuItem52.Select = false;
- menuItem52.Text = "调整svg内容";
- menuItem49.Sub.Add(menuItem50);
- menuItem49.Sub.Add(menuItem51);
- menuItem49.Sub.Add(menuItem52);
- menuItem49.Text = "SVG图标菜单";
- menuItem53.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem53.Icon = global::AntdUIDemo.Properties.Resources.关闭;
- menuItem53.PARENTITEM = null;
- menuItem53.Select = false;
- menuItem54.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem54.PARENTITEM = menuItem53;
- menuItem54.Select = false;
- menuItem54.Text = "不能变色";
- menuItem55.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem55.PARENTITEM = menuItem53;
- menuItem55.Select = false;
- menuItem55.Text = "不适合使用黑白";
- menuItem56.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem56.PARENTITEM = menuItem53;
- menuItem56.Select = false;
- menuItem56.Text = "子菜单";
- menuItem53.Sub.Add(menuItem54);
- menuItem53.Sub.Add(menuItem55);
- menuItem53.Sub.Add(menuItem56);
- menuItem53.Text = "图片资源菜单";
- menuItem57.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem57.IconSvg = resources.GetString("menuItem57.IconSvg");
- menuItem57.PARENTITEM = null;
- menuItem57.Select = false;
- menuItem58.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- menuItem58.PARENTITEM = menuItem57;
- menuItem58.Select = false;
- menuItem58.Text = "二级菜单";
- menuItem59.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem59.PARENTITEM = menuItem57;
- menuItem59.Select = false;
- menuItem59.Text = "二级菜单";
- menuItem60.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- menuItem60.PARENTITEM = menuItem57;
- menuItem60.Select = false;
- menuItem60.Text = "二级菜单";
- menuItem57.Sub.Add(menuItem58);
- menuItem57.Sub.Add(menuItem59);
- menuItem57.Sub.Add(menuItem60);
- menuItem57.Text = "一级菜单";
- this.menu_vertical.Items.Add(menuItem49);
- this.menu_vertical.Items.Add(menuItem53);
- this.menu_vertical.Items.Add(menuItem57);
+ menuItem13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem13.IconSvg = resources.GetString("menuItem13.IconSvg");
+ menuItem13.PARENTITEM = null;
+ menuItem13.Select = false;
+ menuItem14.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ menuItem14.PARENTITEM = menuItem13;
+ menuItem14.Select = false;
+ menuItem14.Text = "SVG可以变色";
+ menuItem15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem15.PARENTITEM = menuItem13;
+ menuItem15.Select = false;
+ menuItem15.Text = "如果变不了";
+ menuItem16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem16.PARENTITEM = menuItem13;
+ menuItem16.Select = false;
+ menuItem16.Text = "调整svg内容";
+ menuItem13.Sub.Add(menuItem14);
+ menuItem13.Sub.Add(menuItem15);
+ menuItem13.Sub.Add(menuItem16);
+ menuItem13.Text = "SVG图标菜单";
+ menuItem17.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem17.Icon = global::AntdUIDemo.Properties.Resources.关闭;
+ menuItem17.PARENTITEM = null;
+ menuItem17.Select = false;
+ menuItem18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem18.PARENTITEM = menuItem17;
+ menuItem18.Select = false;
+ menuItem18.Text = "不能变色";
+ menuItem19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem19.PARENTITEM = menuItem17;
+ menuItem19.Select = false;
+ menuItem19.Text = "不适合使用黑白";
+ menuItem20.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem20.PARENTITEM = menuItem17;
+ menuItem20.Select = false;
+ menuItem20.Text = "子菜单";
+ menuItem17.Sub.Add(menuItem18);
+ menuItem17.Sub.Add(menuItem19);
+ menuItem17.Sub.Add(menuItem20);
+ menuItem17.Text = "图片资源菜单";
+ menuItem21.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem21.IconSvg = resources.GetString("menuItem21.IconSvg");
+ menuItem21.PARENTITEM = null;
+ menuItem21.Select = false;
+ menuItem22.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ menuItem22.PARENTITEM = menuItem21;
+ menuItem22.Select = false;
+ menuItem22.Text = "二级菜单";
+ menuItem23.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem23.PARENTITEM = menuItem21;
+ menuItem23.Select = false;
+ menuItem23.Text = "二级菜单";
+ menuItem24.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ menuItem24.PARENTITEM = menuItem21;
+ menuItem24.Select = false;
+ menuItem24.Text = "二级菜单";
+ menuItem21.Sub.Add(menuItem22);
+ menuItem21.Sub.Add(menuItem23);
+ menuItem21.Sub.Add(menuItem24);
+ menuItem21.Text = "一级菜单";
+ this.menu_vertical.Items.Add(menuItem13);
+ this.menu_vertical.Items.Add(menuItem17);
+ this.menu_vertical.Items.Add(menuItem21);
this.menu_vertical.Location = new System.Drawing.Point(9, 9);
this.menu_vertical.Mode = AntdUI.TMenuMode.Vertical;
this.menu_vertical.Name = "menu_vertical";
@@ -364,57 +364,57 @@
this.menu_horizontal.Dock = System.Windows.Forms.DockStyle.Top;
this.menu_horizontal.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menu_horizontal.Indent = true;
- menuItem61.IconSvg = resources.GetString("menuItem61.IconSvg");
- menuItem61.PARENTITEM = null;
- menuItem61.Select = false;
- menuItem62.PARENTITEM = null;
- menuItem62.Select = false;
- menuItem62.Text = "SVG可以变色";
- menuItem63.PARENTITEM = null;
- menuItem63.Select = false;
- menuItem63.Text = "如果变不了";
- menuItem64.PARENTITEM = null;
- menuItem64.Select = false;
- menuItem64.Text = "调整svg内容";
- menuItem61.Sub.Add(menuItem62);
- menuItem61.Sub.Add(menuItem63);
- menuItem61.Sub.Add(menuItem64);
- menuItem61.Text = "SVG图标菜单";
- menuItem65.Icon = global::AntdUIDemo.Properties.Resources.关闭;
- menuItem65.PARENTITEM = null;
- menuItem65.Select = false;
- menuItem66.PARENTITEM = null;
- menuItem66.Select = false;
- menuItem66.Text = "不能变色";
- menuItem67.PARENTITEM = null;
- menuItem67.Select = false;
- menuItem67.Text = "不适合使用黑白";
- menuItem68.PARENTITEM = null;
- menuItem68.Select = false;
- menuItem68.Text = "二级菜单";
- menuItem65.Sub.Add(menuItem66);
- menuItem65.Sub.Add(menuItem67);
- menuItem65.Sub.Add(menuItem68);
- menuItem65.Text = "图片资源菜单";
- menuItem69.IconSvg = resources.GetString("menuItem69.IconSvg");
- menuItem69.PARENTITEM = null;
- menuItem69.Select = false;
- menuItem70.PARENTITEM = null;
- menuItem70.Select = false;
- menuItem70.Text = "二级菜单";
- menuItem71.PARENTITEM = null;
- menuItem71.Select = false;
- menuItem71.Text = "二级菜单";
- menuItem72.PARENTITEM = null;
- menuItem72.Select = false;
- menuItem72.Text = "二级菜单";
- menuItem69.Sub.Add(menuItem70);
- menuItem69.Sub.Add(menuItem71);
- menuItem69.Sub.Add(menuItem72);
- menuItem69.Text = "一级菜单";
- this.menu_horizontal.Items.Add(menuItem61);
- this.menu_horizontal.Items.Add(menuItem65);
- this.menu_horizontal.Items.Add(menuItem69);
+ menuItem25.IconSvg = resources.GetString("menuItem25.IconSvg");
+ menuItem25.PARENTITEM = null;
+ menuItem25.Select = false;
+ menuItem26.PARENTITEM = null;
+ menuItem26.Select = false;
+ menuItem26.Text = "SVG可以变色";
+ menuItem27.PARENTITEM = null;
+ menuItem27.Select = false;
+ menuItem27.Text = "如果变不了";
+ menuItem28.PARENTITEM = null;
+ menuItem28.Select = false;
+ menuItem28.Text = "调整svg内容";
+ menuItem25.Sub.Add(menuItem26);
+ menuItem25.Sub.Add(menuItem27);
+ menuItem25.Sub.Add(menuItem28);
+ menuItem25.Text = "SVG图标菜单";
+ menuItem29.Icon = global::AntdUIDemo.Properties.Resources.关闭;
+ menuItem29.PARENTITEM = null;
+ menuItem29.Select = false;
+ menuItem30.PARENTITEM = null;
+ menuItem30.Select = false;
+ menuItem30.Text = "不能变色";
+ menuItem31.PARENTITEM = null;
+ menuItem31.Select = false;
+ menuItem31.Text = "不适合使用黑白";
+ menuItem32.PARENTITEM = null;
+ menuItem32.Select = false;
+ menuItem32.Text = "二级菜单";
+ menuItem29.Sub.Add(menuItem30);
+ menuItem29.Sub.Add(menuItem31);
+ menuItem29.Sub.Add(menuItem32);
+ menuItem29.Text = "图片资源菜单";
+ menuItem33.IconSvg = resources.GetString("menuItem33.IconSvg");
+ menuItem33.PARENTITEM = null;
+ menuItem33.Select = false;
+ menuItem34.PARENTITEM = null;
+ menuItem34.Select = false;
+ menuItem34.Text = "二级菜单";
+ menuItem35.PARENTITEM = null;
+ menuItem35.Select = false;
+ menuItem35.Text = "二级菜单";
+ menuItem36.PARENTITEM = null;
+ menuItem36.Select = false;
+ menuItem36.Text = "二级菜单";
+ menuItem33.Sub.Add(menuItem34);
+ menuItem33.Sub.Add(menuItem35);
+ menuItem33.Sub.Add(menuItem36);
+ menuItem33.Text = "一级菜单";
+ this.menu_horizontal.Items.Add(menuItem25);
+ this.menu_horizontal.Items.Add(menuItem29);
+ this.menu_horizontal.Items.Add(menuItem33);
this.menu_horizontal.Location = new System.Drawing.Point(9, 9);
this.menu_horizontal.Mode = AntdUI.TMenuMode.Horizontal;
this.menu_horizontal.Name = "menu_horizontal";
@@ -453,6 +453,11 @@
// buttonCZ
//
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.buttonCZ.Image = null;
+ this.buttonCZ.ImageHover = null;
+ this.buttonCZ.ImageHoverSvg = null;
+ this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
+ this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 383);
this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(244, 32);
@@ -480,6 +485,7 @@
this.colorPicker_backactive.Size = new System.Drawing.Size(115, 26);
this.colorPicker_backactive.TabIndex = 5;
this.colorPicker_backactive.Text = "colorPicker3";
+ this.colorPicker_backactive.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_backactive.WaveSize = 0;
//
// label13
@@ -510,6 +516,7 @@
this.colorPicker_backhover.Size = new System.Drawing.Size(115, 26);
this.colorPicker_backhover.TabIndex = 5;
this.colorPicker_backhover.Text = "colorPicker2";
+ this.colorPicker_backhover.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_backhover.WaveSize = 0;
//
// label12
@@ -540,6 +547,7 @@
this.colorPicker_foreactive.Size = new System.Drawing.Size(115, 26);
this.colorPicker_foreactive.TabIndex = 5;
this.colorPicker_foreactive.Text = "colorPicker1";
+ this.colorPicker_foreactive.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_foreactive.WaveSize = 0;
//
// label14
@@ -570,6 +578,7 @@
this.colorPicker_forecolor.Size = new System.Drawing.Size(115, 26);
this.colorPicker_forecolor.TabIndex = 5;
this.colorPicker_forecolor.Text = "colorPicker1";
+ this.colorPicker_forecolor.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_forecolor.WaveSize = 0;
//
// label11
@@ -825,7 +834,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.stackPanel1);
this.Name = "MenuDemo";
- this.Size = new System.Drawing.Size(700, 585);
+ this.Size = new System.Drawing.Size(700, 551);
this.stackPanel1.ResumeLayout(false);
this.stackPanel2.ResumeLayout(false);
this.tabs1.ResumeLayout(false);
diff --git a/Views/MenuDemo.resx b/Views/MenuDemo.resx
index 2bebb9e..4868381 100644
--- a/Views/MenuDemo.resx
+++ b/Views/MenuDemo.resx
@@ -117,22 +117,22 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
<svg t="1724229402123" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7948" width="200" height="200"><path d="M911.945421 306.603008l-62.497894 36.07767c-17.62304 10.177843-40.14592 4.144435-50.315981-13.476966-10.177229-17.622323-4.143514-40.145306 13.469286-50.324173l62.422221-36.033638c-30.075187-43.229594-67.660698-80.808448-110.886912-110.890598l-36.04951 62.414541c-10.171085 17.621299-32.692941 23.654707-50.315981 13.486182-17.625088-10.177843-23.656755-32.700723-13.479526-50.322125L700.379443 95.037542c-46.631936-22.00105-97.723597-36.02135-151.551693-40.466637l0 72.03564c0 20.337152-16.480973 36.835942-36.837478 36.835942-20.336947 0-36.836454-16.49879-36.836454-36.835942L475.153818 54.56985c-53.817856 4.44631-104.912589 18.465587-151.533261 40.461517l36.089344 62.502502c10.170061 17.622323 4.134298 40.144282-13.488742 50.322125-17.611776 10.168627-40.14592 4.135219-50.325197-13.486182l-36.032102-62.414541c-43.23543 30.08215-80.811725 67.666125-110.89408 110.890598l62.410957 36.033638c17.624064 10.178867 23.656755 32.702771 13.488742 50.324173-10.170061 17.621299-32.703181 23.655731-50.327245 13.476966l-62.497894-36.071526c-26.967245 57.152717-42.104627 120.981402-42.104627 188.367155 0 244.134298 197.907354 442.041651 442.05056 442.041651 244.153446 0 442.066944-197.905408 442.066944-442.041651C954.05824 427.586458 938.919834 363.755725 911.945421 306.603008zM767.225549 642.319053c-81.385882 140.943053-261.623091 189.244109-402.584166 107.86775-140.962099-81.382502-189.253939-261.618483-107.864986-402.564608 81.37769-140.946125 261.624115-189.245133 402.584166-107.869798C800.302285 321.13705 848.603238 501.372928 767.225549 642.319053zM667.258778 305.542861 562.319565 482.312909c-10.170061 17.611059-32.694989 23.654707-50.325197 13.487206-17.6128-10.178867-23.655731-32.710963-13.478502-50.324173L603.857306 268.040704c-28.383539-11.459994-59.370598-17.823949-91.862938-17.823949-135.626342 0-245.582029 109.951181-245.582029 245.583258 0 135.619789 109.955686 245.571994 245.582029 245.571994 135.644774 0 245.593293-109.950157 245.593293-245.571994C757.587661 419.071488 722.381414 350.581658 667.258778 305.542861z" p-id="7949"></path></svg>
-
+
<svg t="1724229420898" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8098" width="200" height="200"><path d="M892.928 128q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 448.512q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 769.024q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0z" p-id="8099"></path></svg>
-
+
<svg t="1724229402123" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7948" width="200" height="200"><path d="M911.945421 306.603008l-62.497894 36.07767c-17.62304 10.177843-40.14592 4.144435-50.315981-13.476966-10.177229-17.622323-4.143514-40.145306 13.469286-50.324173l62.422221-36.033638c-30.075187-43.229594-67.660698-80.808448-110.886912-110.890598l-36.04951 62.414541c-10.171085 17.621299-32.692941 23.654707-50.315981 13.486182-17.625088-10.177843-23.656755-32.700723-13.479526-50.322125L700.379443 95.037542c-46.631936-22.00105-97.723597-36.02135-151.551693-40.466637l0 72.03564c0 20.337152-16.480973 36.835942-36.837478 36.835942-20.336947 0-36.836454-16.49879-36.836454-36.835942L475.153818 54.56985c-53.817856 4.44631-104.912589 18.465587-151.533261 40.461517l36.089344 62.502502c10.170061 17.622323 4.134298 40.144282-13.488742 50.322125-17.611776 10.168627-40.14592 4.135219-50.325197-13.486182l-36.032102-62.414541c-43.23543 30.08215-80.811725 67.666125-110.89408 110.890598l62.410957 36.033638c17.624064 10.178867 23.656755 32.702771 13.488742 50.324173-10.170061 17.621299-32.703181 23.655731-50.327245 13.476966l-62.497894-36.071526c-26.967245 57.152717-42.104627 120.981402-42.104627 188.367155 0 244.134298 197.907354 442.041651 442.05056 442.041651 244.153446 0 442.066944-197.905408 442.066944-442.041651C954.05824 427.586458 938.919834 363.755725 911.945421 306.603008zM767.225549 642.319053c-81.385882 140.943053-261.623091 189.244109-402.584166 107.86775-140.962099-81.382502-189.253939-261.618483-107.864986-402.564608 81.37769-140.946125 261.624115-189.245133 402.584166-107.869798C800.302285 321.13705 848.603238 501.372928 767.225549 642.319053zM667.258778 305.542861 562.319565 482.312909c-10.170061 17.611059-32.694989 23.654707-50.325197 13.487206-17.6128-10.178867-23.655731-32.710963-13.478502-50.324173L603.857306 268.040704c-28.383539-11.459994-59.370598-17.823949-91.862938-17.823949-135.626342 0-245.582029 109.951181-245.582029 245.583258 0 135.619789 109.955686 245.571994 245.582029 245.571994 135.644774 0 245.593293-109.950157 245.593293-245.571994C757.587661 419.071488 722.381414 350.581658 667.258778 305.542861z" p-id="7949"></path></svg>
-
+
<svg t="1724229420898" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8098" width="200" height="200"><path d="M892.928 128q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 448.512q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 769.024q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0z" p-id="8099"></path></svg>
-
+
<svg t="1724229402123" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7948" width="200" height="200"><path d="M911.945421 306.603008l-62.497894 36.07767c-17.62304 10.177843-40.14592 4.144435-50.315981-13.476966-10.177229-17.622323-4.143514-40.145306 13.469286-50.324173l62.422221-36.033638c-30.075187-43.229594-67.660698-80.808448-110.886912-110.890598l-36.04951 62.414541c-10.171085 17.621299-32.692941 23.654707-50.315981 13.486182-17.625088-10.177843-23.656755-32.700723-13.479526-50.322125L700.379443 95.037542c-46.631936-22.00105-97.723597-36.02135-151.551693-40.466637l0 72.03564c0 20.337152-16.480973 36.835942-36.837478 36.835942-20.336947 0-36.836454-16.49879-36.836454-36.835942L475.153818 54.56985c-53.817856 4.44631-104.912589 18.465587-151.533261 40.461517l36.089344 62.502502c10.170061 17.622323 4.134298 40.144282-13.488742 50.322125-17.611776 10.168627-40.14592 4.135219-50.325197-13.486182l-36.032102-62.414541c-43.23543 30.08215-80.811725 67.666125-110.89408 110.890598l62.410957 36.033638c17.624064 10.178867 23.656755 32.702771 13.488742 50.324173-10.170061 17.621299-32.703181 23.655731-50.327245 13.476966l-62.497894-36.071526c-26.967245 57.152717-42.104627 120.981402-42.104627 188.367155 0 244.134298 197.907354 442.041651 442.05056 442.041651 244.153446 0 442.066944-197.905408 442.066944-442.041651C954.05824 427.586458 938.919834 363.755725 911.945421 306.603008zM767.225549 642.319053c-81.385882 140.943053-261.623091 189.244109-402.584166 107.86775-140.962099-81.382502-189.253939-261.618483-107.864986-402.564608 81.37769-140.946125 261.624115-189.245133 402.584166-107.869798C800.302285 321.13705 848.603238 501.372928 767.225549 642.319053zM667.258778 305.542861 562.319565 482.312909c-10.170061 17.611059-32.694989 23.654707-50.325197 13.487206-17.6128-10.178867-23.655731-32.710963-13.478502-50.324173L603.857306 268.040704c-28.383539-11.459994-59.370598-17.823949-91.862938-17.823949-135.626342 0-245.582029 109.951181-245.582029 245.583258 0 135.619789 109.955686 245.571994 245.582029 245.571994 135.644774 0 245.593293-109.950157 245.593293-245.571994C757.587661 419.071488 722.381414 350.581658 667.258778 305.542861z" p-id="7949"></path></svg>
-
+
<svg t="1724229420898" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8098" width="200" height="200"><path d="M892.928 128q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 448.512q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 769.024q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0z" p-id="8099"></path></svg>
\ No newline at end of file
diff --git a/Views/PaginationDemo.cs b/Views/PaginationDemo.cs
index c5e16e3..0294846 100644
--- a/Views/PaginationDemo.cs
+++ b/Views/PaginationDemo.cs
@@ -101,7 +101,7 @@ namespace AntdUIDemo.Views
pagination.TextDesc = input_textdesc.Text;
- pagination.Fill = colorPicker.Value == Color.Transparent ? null : colorPicker.Value;
+ pagination.Fill = colorPicker.Value;
int[] intarr = new int[selectMultiple.SelectedValue.Length];
for (int i = 0; i < intarr.Length; i++)
{
@@ -125,7 +125,7 @@ namespace AntdUIDemo.Views
input_textdesc.Text = null;
- colorPicker.Value = Color.Transparent;
+ colorPicker.Value = Style.Db.Primary;
switch_show.Checked = true;
switch_right.Checked = true;
diff --git a/assets/screenshots/Input.png b/assets/screenshots/Input.png
new file mode 100644
index 0000000..a6d924d
Binary files /dev/null and b/assets/screenshots/Input.png differ
diff --git a/assets/screenshots/Pagination.png b/assets/screenshots/Pagination.png
index 4a4bfa8..43fa021 100644
Binary files a/assets/screenshots/Pagination.png and b/assets/screenshots/Pagination.png differ