diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj
index cfc6857..f1604c9 100644
--- a/AntdUIDemo.csproj
+++ b/AntdUIDemo.csproj
@@ -13,7 +13,7 @@
Copyright © 2024 czz_y
$(Version)
$(Version)
- 1.5.4.0
+ 1.5.5.0
czz_y
基于 Winform UI框架 AntdUI 设计的Demo
https://gitee.com/mubaiyanghua/antd-uidemo
@@ -30,7 +30,7 @@
-
+
diff --git a/MainWindow.Designer.cs b/MainWindow.Designer.cs
index 42a4a06..b62d04a 100644
--- a/MainWindow.Designer.cs
+++ b/MainWindow.Designer.cs
@@ -59,7 +59,7 @@
this.button_color.Dock = System.Windows.Forms.DockStyle.Right;
this.button_color.Ghost = true;
this.button_color.IconRatio = 0.6F;
- this.button_color.IconSvg = resources.GetString("button_color.IconSvg");
+ this.button_color.ImageSvg = resources.GetString("button_color.IconSvg");
this.button_color.Location = new System.Drawing.Point(806, 0);
this.button_color.Name = "button_color";
this.button_color.Radius = 0;
@@ -71,7 +71,7 @@
//
this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right;
this.buttonSZ.Ghost = true;
- this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg");
+ this.buttonSZ.ImageSvg = resources.GetString("buttonSZ.IconSvg");
this.buttonSZ.Location = new System.Drawing.Point(856, 0);
this.buttonSZ.Name = "buttonSZ";
this.buttonSZ.Radius = 0;
diff --git a/MainWindow.cs b/MainWindow.cs
index c994263..4e52d84 100644
--- a/MainWindow.cs
+++ b/MainWindow.cs
@@ -133,10 +133,10 @@ namespace AntdUIDemo
{
floatButtonDemo.CloseFloatButtonForm(); // 清理浮动按钮窗体
}
- panel_content.Controls.Clear();
- control.Dispose();
+ control?.Dispose();
control = null;
}
+ panel_content.Controls.Clear();
switch (name)
{
case "Button":
@@ -170,7 +170,13 @@ namespace AntdUIDemo
control = new StepsDemo();
break;
case "CheckBox":
- control = new CheckBoxDemo(this);
+ control = new CheckBoxDemo();
+ break;
+ case "ColorPicker":
+ control = new ColorPickerDemo();
+ break;
+ case "DatePicker":
+ control = new DatePickerDemo();
break;
}
if (control != null)
diff --git a/Views/CheckBoxDemo.Designer.cs b/Views/CheckBoxDemo.Designer.cs
index 41c4b13..0492eca 100644
--- a/Views/CheckBoxDemo.Designer.cs
+++ b/Views/CheckBoxDemo.Designer.cs
@@ -29,33 +29,26 @@
private void InitializeComponent()
{
this.stackPanel1 = new AntdUI.StackPanel();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.checkbox1 = new AntdUI.Checkbox();
+ this.label3 = new AntdUI.Label();
this.divider1 = new AntdUI.Divider();
this.label2 = new AntdUI.Label();
this.label1 = new AntdUI.Label();
- this.label3 = new AntdUI.Label();
- this.flowPanel1 = new AntdUI.FlowPanel();
- this.checkbox1 = new AntdUI.Checkbox();
- this.label5 = new AntdUI.Label();
- this.flowPanel3 = new AntdUI.FlowPanel();
+ this.checkbox2 = new AntdUI.Checkbox();
+ this.flowPanel2 = new AntdUI.FlowPanel();
this.checkbox3 = new AntdUI.Checkbox();
this.checkbox4 = new AntdUI.Checkbox();
- this.checkbox5 = new AntdUI.Checkbox();
- this.label6 = new AntdUI.Label();
- this.flowPanel4 = new AntdUI.FlowPanel();
- this.checkbox_autocheckF = new AntdUI.Checkbox();
- this.checkbox_autocheckT = new AntdUI.Checkbox();
+ this.label4 = new AntdUI.Label();
this.stackPanel1.SuspendLayout();
this.flowPanel1.SuspendLayout();
- this.flowPanel3.SuspendLayout();
- this.flowPanel4.SuspendLayout();
+ this.flowPanel2.SuspendLayout();
this.SuspendLayout();
//
// stackPanel1
//
- this.stackPanel1.Controls.Add(this.flowPanel4);
- this.stackPanel1.Controls.Add(this.label6);
- this.stackPanel1.Controls.Add(this.flowPanel3);
- 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);
@@ -69,6 +62,35 @@
this.stackPanel1.Text = "stackPanel1";
this.stackPanel1.Vertical = true;
//
+ // flowPanel1
+ //
+ this.flowPanel1.Controls.Add(this.checkbox2);
+ this.flowPanel1.Controls.Add(this.checkbox1);
+ 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";
+ //
+ // checkbox1
+ //
+ this.checkbox1.AutoCheck = true;
+ this.checkbox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox1.Location = new System.Drawing.Point(3, 3);
+ this.checkbox1.Name = "checkbox1";
+ this.checkbox1.Size = new System.Drawing.Size(90, 32);
+ this.checkbox1.TabIndex = 0;
+ this.checkbox1.Text = "Checkbox";
+ //
+ // 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);
@@ -94,124 +116,58 @@
this.label1.TabIndex = 5;
this.label1.Text = "Checkbox 多选框";
//
- // label3
+ // checkbox2
//
- 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 = "基本用法";
+ this.checkbox2.AutoCheck = true;
+ this.checkbox2.Checked = true;
+ this.checkbox2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox2.Location = new System.Drawing.Point(99, 3);
+ this.checkbox2.Name = "checkbox2";
+ this.checkbox2.Size = new System.Drawing.Size(90, 32);
+ this.checkbox2.TabIndex = 1;
+ this.checkbox2.Text = "Checkbox";
//
- // flowPanel1
+ // flowPanel2
//
- this.flowPanel1.Controls.Add(this.checkbox1);
- 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";
- //
- // checkbox1
- //
- this.checkbox1.AutoCheck = true;
- this.checkbox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox1.Location = new System.Drawing.Point(3, 3);
- this.checkbox1.Name = "checkbox1";
- this.checkbox1.Size = new System.Drawing.Size(90, 32);
- this.checkbox1.TabIndex = 0;
- this.checkbox1.Text = "Checkbox";
- //
- // 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, 171);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(694, 24);
- this.label5.TabIndex = 12;
- this.label5.Text = "自动大小";
- //
- // flowPanel3
- //
- this.flowPanel3.Controls.Add(this.checkbox5);
- this.flowPanel3.Controls.Add(this.checkbox4);
- this.flowPanel3.Controls.Add(this.checkbox3);
- this.flowPanel3.Location = new System.Drawing.Point(3, 201);
- this.flowPanel3.Name = "flowPanel3";
- this.flowPanel3.Size = new System.Drawing.Size(694, 38);
- this.flowPanel3.TabIndex = 13;
- this.flowPanel3.Text = "flowPanel3";
+ this.flowPanel2.Controls.Add(this.checkbox3);
+ this.flowPanel2.Controls.Add(this.checkbox4);
+ 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";
//
// checkbox3
//
this.checkbox3.AutoCheck = true;
- this.checkbox3.AutoSizeMode = AntdUI.TAutoSize.Auto;
+ this.checkbox3.Checked = true;
+ this.checkbox3.Enabled = false;
this.checkbox3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox3.Location = new System.Drawing.Point(3, 3);
+ this.checkbox3.Location = new System.Drawing.Point(99, 3);
this.checkbox3.Name = "checkbox3";
- this.checkbox3.Size = new System.Drawing.Size(99, 37);
- this.checkbox3.TabIndex = 0;
+ this.checkbox3.Size = new System.Drawing.Size(90, 32);
+ this.checkbox3.TabIndex = 1;
this.checkbox3.Text = "Checkbox";
//
// checkbox4
//
this.checkbox4.AutoCheck = true;
- this.checkbox4.AutoSizeMode = AntdUI.TAutoSize.Width;
+ this.checkbox4.Enabled = false;
this.checkbox4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox4.Location = new System.Drawing.Point(108, 3);
+ this.checkbox4.Location = new System.Drawing.Point(3, 3);
this.checkbox4.Name = "checkbox4";
- this.checkbox4.Size = new System.Drawing.Size(99, 32);
- this.checkbox4.TabIndex = 1;
+ this.checkbox4.Size = new System.Drawing.Size(90, 32);
+ this.checkbox4.TabIndex = 0;
this.checkbox4.Text = "Checkbox";
//
- // checkbox5
+ // label4
//
- this.checkbox5.AutoCheck = true;
- this.checkbox5.AutoSizeMode = AntdUI.TAutoSize.Height;
- this.checkbox5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox5.Location = new System.Drawing.Point(213, 3);
- this.checkbox5.Name = "checkbox5";
- this.checkbox5.Size = new System.Drawing.Size(120, 37);
- this.checkbox5.TabIndex = 2;
- this.checkbox5.Text = "Checkbox";
- //
- // 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, 245);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(694, 24);
- this.label6.TabIndex = 14;
- this.label6.Text = "自动选择状态";
- //
- // flowPanel4
- //
- this.flowPanel4.Controls.Add(this.checkbox_autocheckT);
- this.flowPanel4.Controls.Add(this.checkbox_autocheckF);
- this.flowPanel4.Location = new System.Drawing.Point(3, 275);
- this.flowPanel4.Name = "flowPanel4";
- this.flowPanel4.Size = new System.Drawing.Size(694, 38);
- this.flowPanel4.TabIndex = 15;
- this.flowPanel4.Text = "flowPanel4";
- //
- // checkbox_autocheckF
- //
- this.checkbox_autocheckF.AutoCheck = true;
- this.checkbox_autocheckF.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox_autocheckF.Location = new System.Drawing.Point(3, 3);
- this.checkbox_autocheckF.Name = "checkbox_autocheckF";
- this.checkbox_autocheckF.Size = new System.Drawing.Size(90, 32);
- this.checkbox_autocheckF.TabIndex = 0;
- this.checkbox_autocheckF.Text = "Checkbox";
- //
- // checkbox_autocheckT
- //
- this.checkbox_autocheckT.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.checkbox_autocheckT.Location = new System.Drawing.Point(99, 3);
- this.checkbox_autocheckT.Name = "checkbox_autocheckT";
- this.checkbox_autocheckT.Size = new System.Drawing.Size(90, 32);
- this.checkbox_autocheckT.TabIndex = 1;
- this.checkbox_autocheckT.Text = "Checkbox";
+ 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 = "禁用状态";
//
// CheckBoxDemo
//
@@ -221,9 +177,7 @@
this.Size = new System.Drawing.Size(700, 451);
this.stackPanel1.ResumeLayout(false);
this.flowPanel1.ResumeLayout(false);
- this.flowPanel3.ResumeLayout(false);
- this.flowPanel3.PerformLayout();
- this.flowPanel4.ResumeLayout(false);
+ this.flowPanel2.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -237,14 +191,10 @@
private AntdUI.Label label3;
private AntdUI.FlowPanel flowPanel1;
private AntdUI.Checkbox checkbox1;
- private AntdUI.Label label5;
- private AntdUI.FlowPanel flowPanel3;
+ private AntdUI.Checkbox checkbox2;
+ private AntdUI.FlowPanel flowPanel2;
private AntdUI.Checkbox checkbox3;
- private AntdUI.Checkbox checkbox5;
private AntdUI.Checkbox checkbox4;
- private AntdUI.FlowPanel flowPanel4;
- private AntdUI.Checkbox checkbox_autocheckT;
- private AntdUI.Checkbox checkbox_autocheckF;
- private AntdUI.Label label6;
+ private AntdUI.Label label4;
}
}
diff --git a/Views/CheckBoxDemo.cs b/Views/CheckBoxDemo.cs
index 760b6de..693bf3b 100644
--- a/Views/CheckBoxDemo.cs
+++ b/Views/CheckBoxDemo.cs
@@ -13,55 +13,9 @@ namespace AntdUIDemo.Views
{
public partial class CheckBoxDemo : UserControl
{
- private Window window;
- private AntdUI.TooltipComponent tooltipComponent = new AntdUI.TooltipComponent();
- public CheckBoxDemo(Window _window)
+ public CheckBoxDemo()
{
- window = _window;
InitializeComponent();
- // 遍历窗体中的所有控件并绑定 tooltip
- BindButtonWithToolTip(this);
- // 绑定事件
- BindEventHandler();
- }
-
- private void BindEventHandler()
- {
- checkbox_autocheckF.Click += Checkbox_autocheck_Click;
- checkbox_autocheckT.Click += Checkbox_autocheck_Click;
- }
-
- private void Checkbox_autocheck_Click(object sender, EventArgs e)
- {
- var checkbox = sender as AntdUI.Checkbox;
- AntdUI.Message.info(window, $"Checked: {checkbox.Checked}", autoClose: 1);
- }
-
- private void BindButtonWithToolTip(Control parent)
- {
- foreach (Control control in parent.Controls)
- {
- if (control is AntdUI.Checkbox checkbox)
- {
- var autosize = checkbox.AutoSize;
- var autosizemode = checkbox.AutoSizeMode;
- var autocheck = checkbox.AutoCheck;
- // 构建SetTip文本
- var tooltipText = new StringBuilder();
- tooltipComponent.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
- tooltipText.AppendLine($"AutoSize: {autosize}");
- tooltipText.AppendLine($"AutoSizeMode: {autosizemode}");
- tooltipText.AppendLine($"AutoCheck: {autocheck}");
- // 绑定tooltip
- tooltipComponent.SetTip(control, tooltipText.ToString());
- }
-
- // 递归遍历子控件
- if (control.HasChildren)
- {
- BindButtonWithToolTip(control);
- }
- }
}
}
}
diff --git a/Views/ColorPickerDemo.Designer.cs b/Views/ColorPickerDemo.Designer.cs
new file mode 100644
index 0000000..883d132
--- /dev/null
+++ b/Views/ColorPickerDemo.Designer.cs
@@ -0,0 +1,147 @@
+namespace AntdUIDemo.Views
+{
+ partial class ColorPickerDemo
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ 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()
+ {
+ this.stackPanel1 = new AntdUI.StackPanel();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.colorPicker2 = new AntdUI.ColorPicker();
+ this.colorPicker1 = new AntdUI.ColorPicker();
+ this.label3 = new AntdUI.Label();
+ this.divider1 = new AntdUI.Divider();
+ this.label2 = new AntdUI.Label();
+ this.label1 = new AntdUI.Label();
+ this.stackPanel1.SuspendLayout();
+ this.flowPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // stackPanel1
+ //
+ 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, 386);
+ this.stackPanel1.TabIndex = 0;
+ this.stackPanel1.Text = "stackPanel1";
+ this.stackPanel1.Vertical = true;
+ //
+ // flowPanel1
+ //
+ this.flowPanel1.Controls.Add(this.colorPicker2);
+ this.flowPanel1.Controls.Add(this.colorPicker1);
+ 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";
+ //
+ // colorPicker2
+ //
+ this.colorPicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.colorPicker2.Location = new System.Drawing.Point(41, 3);
+ this.colorPicker2.Name = "colorPicker2";
+ this.colorPicker2.ShowText = true;
+ this.colorPicker2.Size = new System.Drawing.Size(105, 32);
+ this.colorPicker2.TabIndex = 1;
+ this.colorPicker2.Text = "colorPicker2";
+ this.colorPicker2.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
+ this.colorPicker2.WaveSize = 0;
+ //
+ // colorPicker1
+ //
+ this.colorPicker1.Location = new System.Drawing.Point(3, 3);
+ this.colorPicker1.Name = "colorPicker1";
+ this.colorPicker1.Size = new System.Drawing.Size(32, 32);
+ this.colorPicker1.TabIndex = 0;
+ this.colorPicker1.Text = "colorPicker1";
+ this.colorPicker1.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
+ this.colorPicker1.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 = "ColorPicker 颜色选择器";
+ //
+ // ColorPickerDemo
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
+ this.Controls.Add(this.stackPanel1);
+ this.Name = "ColorPickerDemo";
+ this.Size = new System.Drawing.Size(700, 386);
+ this.stackPanel1.ResumeLayout(false);
+ this.flowPanel1.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.ColorPicker colorPicker1;
+ private AntdUI.ColorPicker colorPicker2;
+ }
+}
diff --git a/Views/ColorPickerDemo.cs b/Views/ColorPickerDemo.cs
new file mode 100644
index 0000000..5f0fcda
--- /dev/null
+++ b/Views/ColorPickerDemo.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AntdUIDemo.Views
+{
+ public partial class ColorPickerDemo : UserControl
+ {
+ public ColorPickerDemo()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Views/ColorPickerDemo.resx b/Views/ColorPickerDemo.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Views/ColorPickerDemo.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
\ No newline at end of file
diff --git a/Views/DatePickerDemo.Designer.cs b/Views/DatePickerDemo.Designer.cs
new file mode 100644
index 0000000..9c267f1
--- /dev/null
+++ b/Views/DatePickerDemo.Designer.cs
@@ -0,0 +1,323 @@
+namespace AntdUIDemo.Views
+{
+ partial class DatePickerDemo
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ 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(DatePickerDemo));
+ this.stackPanel1 = new AntdUI.StackPanel();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.label3 = new AntdUI.Label();
+ this.divider1 = new AntdUI.Divider();
+ this.label2 = new AntdUI.Label();
+ this.label1 = new AntdUI.Label();
+ this.datePicker1 = new AntdUI.DatePicker();
+ this.datePicker2 = new AntdUI.DatePicker();
+ this.datePicker3 = new AntdUI.DatePicker();
+ this.datePicker4 = new AntdUI.DatePicker();
+ this.datePicker5 = new AntdUI.DatePicker();
+ this.datePicker6 = new AntdUI.DatePicker();
+ this.label4 = new AntdUI.Label();
+ this.flowPanel2 = new AntdUI.FlowPanel();
+ this.datePicker12 = new AntdUI.DatePicker();
+ this.datePicker9 = new AntdUI.DatePicker();
+ this.datePicker8 = new AntdUI.DatePicker();
+ this.label5 = new AntdUI.Label();
+ this.flowPanel3 = new AntdUI.FlowPanel();
+ this.datePicker11 = new AntdUI.DatePicker();
+ this.datePicker7 = new AntdUI.DatePicker();
+ this.stackPanel1.SuspendLayout();
+ this.flowPanel1.SuspendLayout();
+ this.flowPanel2.SuspendLayout();
+ this.flowPanel3.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // stackPanel1
+ //
+ this.stackPanel1.Controls.Add(this.flowPanel3);
+ 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, 471);
+ this.stackPanel1.TabIndex = 0;
+ this.stackPanel1.Text = "stackPanel1";
+ this.stackPanel1.Vertical = true;
+ //
+ // flowPanel1
+ //
+ this.flowPanel1.Controls.Add(this.datePicker6);
+ this.flowPanel1.Controls.Add(this.datePicker5);
+ this.flowPanel1.Controls.Add(this.datePicker4);
+ this.flowPanel1.Controls.Add(this.datePicker3);
+ this.flowPanel1.Controls.Add(this.datePicker2);
+ this.flowPanel1.Controls.Add(this.datePicker1);
+ 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 = 12;
+ this.flowPanel1.Text = "flowPanel1";
+ //
+ // 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 = 11;
+ 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 = 10;
+ //
+ // 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 = 9;
+ 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 = 8;
+ this.label1.Text = "DatePicker 日期选择器";
+ //
+ // datePicker1
+ //
+ this.datePicker1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker1.Location = new System.Drawing.Point(3, 3);
+ this.datePicker1.Name = "datePicker1";
+ this.datePicker1.PlaceholderText = "BL";
+ this.datePicker1.Size = new System.Drawing.Size(107, 32);
+ this.datePicker1.TabIndex = 0;
+ this.datePicker1.WaveSize = 0;
+ //
+ // datePicker2
+ //
+ this.datePicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker2.Location = new System.Drawing.Point(116, 3);
+ this.datePicker2.Name = "datePicker2";
+ this.datePicker2.PlaceholderText = "Bottom";
+ this.datePicker2.Placement = AntdUI.TAlignFrom.Bottom;
+ this.datePicker2.Size = new System.Drawing.Size(107, 32);
+ this.datePicker2.TabIndex = 1;
+ this.datePicker2.WaveSize = 0;
+ //
+ // datePicker3
+ //
+ this.datePicker3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker3.Location = new System.Drawing.Point(229, 3);
+ this.datePicker3.Name = "datePicker3";
+ this.datePicker3.PlaceholderText = "BR";
+ this.datePicker3.Placement = AntdUI.TAlignFrom.BR;
+ this.datePicker3.Size = new System.Drawing.Size(107, 32);
+ this.datePicker3.TabIndex = 2;
+ this.datePicker3.WaveSize = 0;
+ //
+ // datePicker4
+ //
+ this.datePicker4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker4.Location = new System.Drawing.Point(342, 3);
+ this.datePicker4.Name = "datePicker4";
+ this.datePicker4.PlaceholderText = "TL";
+ this.datePicker4.Placement = AntdUI.TAlignFrom.TL;
+ this.datePicker4.Size = new System.Drawing.Size(107, 32);
+ this.datePicker4.TabIndex = 3;
+ this.datePicker4.WaveSize = 0;
+ //
+ // datePicker5
+ //
+ this.datePicker5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker5.Location = new System.Drawing.Point(455, 3);
+ this.datePicker5.Name = "datePicker5";
+ this.datePicker5.PlaceholderText = "Top";
+ this.datePicker5.Placement = AntdUI.TAlignFrom.Top;
+ this.datePicker5.Size = new System.Drawing.Size(107, 32);
+ this.datePicker5.TabIndex = 4;
+ this.datePicker5.WaveSize = 0;
+ //
+ // datePicker6
+ //
+ this.datePicker6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker6.Location = new System.Drawing.Point(568, 3);
+ this.datePicker6.Name = "datePicker6";
+ this.datePicker6.PlaceholderText = "TR";
+ this.datePicker6.Placement = AntdUI.TAlignFrom.TR;
+ this.datePicker6.Size = new System.Drawing.Size(107, 32);
+ this.datePicker6.TabIndex = 5;
+ this.datePicker6.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 = 13;
+ this.label4.Text = "图标显示";
+ //
+ // flowPanel2
+ //
+ this.flowPanel2.Controls.Add(this.datePicker8);
+ this.flowPanel2.Controls.Add(this.datePicker9);
+ this.flowPanel2.Controls.Add(this.datePicker12);
+ 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 = 14;
+ this.flowPanel2.Text = "flowPanel2";
+ //
+ // datePicker12
+ //
+ this.datePicker12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker12.Location = new System.Drawing.Point(3, 3);
+ this.datePicker12.Name = "datePicker12";
+ this.datePicker12.PlaceholderText = "无图标";
+ this.datePicker12.ShowIcon = false;
+ this.datePicker12.Size = new System.Drawing.Size(107, 32);
+ this.datePicker12.TabIndex = 0;
+ this.datePicker12.WaveSize = 0;
+ //
+ // datePicker9
+ //
+ this.datePicker9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker9.Location = new System.Drawing.Point(116, 3);
+ this.datePicker9.Name = "datePicker9";
+ this.datePicker9.PlaceholderText = "图标在右";
+ this.datePicker9.Size = new System.Drawing.Size(107, 32);
+ this.datePicker9.SuffixSvg = resources.GetString("datePicker9.SuffixSvg");
+ this.datePicker9.TabIndex = 2;
+ this.datePicker9.WaveSize = 0;
+ //
+ // datePicker8
+ //
+ this.datePicker8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker8.Location = new System.Drawing.Point(229, 3);
+ this.datePicker8.Name = "datePicker8";
+ this.datePicker8.PlaceholderText = "图标在左";
+ this.datePicker8.PrefixSvg = resources.GetString("datePicker8.PrefixSvg");
+ this.datePicker8.ShowIcon = false;
+ this.datePicker8.Size = new System.Drawing.Size(107, 32);
+ this.datePicker8.TabIndex = 3;
+ this.datePicker8.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 = 15;
+ this.label5.Text = "日期格式化";
+ //
+ // flowPanel3
+ //
+ this.flowPanel3.Controls.Add(this.datePicker7);
+ this.flowPanel3.Controls.Add(this.datePicker11);
+ this.flowPanel3.Location = new System.Drawing.Point(3, 275);
+ this.flowPanel3.Name = "flowPanel3";
+ this.flowPanel3.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel3.TabIndex = 16;
+ this.flowPanel3.Text = "flowPanel3";
+ //
+ // datePicker11
+ //
+ this.datePicker11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker11.Location = new System.Drawing.Point(3, 3);
+ this.datePicker11.Name = "datePicker11";
+ this.datePicker11.PlaceholderText = "yyyy-MM-dd";
+ this.datePicker11.Size = new System.Drawing.Size(107, 32);
+ this.datePicker11.TabIndex = 0;
+ this.datePicker11.WaveSize = 0;
+ //
+ // datePicker7
+ //
+ this.datePicker7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.datePicker7.Format = "yyyy/MM/dd";
+ this.datePicker7.Location = new System.Drawing.Point(116, 3);
+ this.datePicker7.Name = "datePicker7";
+ this.datePicker7.PlaceholderText = "yyyy/MM/dd";
+ this.datePicker7.Size = new System.Drawing.Size(107, 32);
+ this.datePicker7.TabIndex = 1;
+ this.datePicker7.WaveSize = 0;
+ //
+ // DatePickerDemo
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
+ this.Controls.Add(this.stackPanel1);
+ this.Name = "DatePickerDemo";
+ this.Size = new System.Drawing.Size(700, 471);
+ this.stackPanel1.ResumeLayout(false);
+ this.flowPanel1.ResumeLayout(false);
+ this.flowPanel2.ResumeLayout(false);
+ this.flowPanel3.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AntdUI.StackPanel stackPanel1;
+ private AntdUI.Divider divider1;
+ private AntdUI.Label label2;
+ private AntdUI.Label label1;
+ private AntdUI.FlowPanel flowPanel1;
+ private AntdUI.Label label3;
+ private AntdUI.DatePicker datePicker1;
+ private AntdUI.DatePicker datePicker6;
+ private AntdUI.DatePicker datePicker5;
+ private AntdUI.DatePicker datePicker4;
+ private AntdUI.DatePicker datePicker3;
+ private AntdUI.DatePicker datePicker2;
+ private AntdUI.FlowPanel flowPanel2;
+ private AntdUI.DatePicker datePicker12;
+ private AntdUI.Label label4;
+ private AntdUI.DatePicker datePicker9;
+ private AntdUI.DatePicker datePicker8;
+ private AntdUI.FlowPanel flowPanel3;
+ private AntdUI.DatePicker datePicker7;
+ private AntdUI.DatePicker datePicker11;
+ private AntdUI.Label label5;
+ }
+}
diff --git a/Views/DatePickerDemo.cs b/Views/DatePickerDemo.cs
new file mode 100644
index 0000000..b2e8058
--- /dev/null
+++ b/Views/DatePickerDemo.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AntdUIDemo.Views
+{
+ public partial class DatePickerDemo : UserControl
+ {
+ public DatePickerDemo()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Views/DatePickerDemo.resx b/Views/DatePickerDemo.resx
new file mode 100644
index 0000000..33d5329
--- /dev/null
+++ b/Views/DatePickerDemo.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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 t="1724655338036" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3071" width="200" height="200"><path d="M819.057629 645.954349l-62.937128 0 0 62.999554 62.937128 0L819.057629 645.954349zM819.057629 771.829612l-62.937128 0 0 62.999554 62.937128 0L819.057629 771.829612zM630.244232 520.078079l-62.938135 0 0 63.00056 62.938135 0L630.244232 520.078079zM630.244232 79.389305 378.494713 79.389305l0 62.938135 251.749519 0L630.244232 79.389305zM284.333689 204.435918c17.270758 0 31.16147-18.747829 31.16147-41.857399L315.495159 58.24715c0-23.048151-13.890712-41.794973-31.16147-41.794973-17.146914 0-31.099044 18.746823-31.099044 41.794973l0 104.332376C253.234645 185.689095 267.186775 204.435918 284.333689 204.435918M724.90164 204.435918c17.576845 0 31.832042-18.747829 31.832042-41.857399L756.733682 58.24715c0-23.048151-14.255197-41.794973-31.832042-41.794973-17.58188 0-31.838083 18.746823-31.838083 41.794973l0 104.332376C693.063556 185.689095 707.31976 204.435918 724.90164 204.435918M630.244232 645.954349l-62.938135 0 0 62.999554 62.938135 0L630.244232 645.954349zM819.057629 520.078079l-62.937128 0 0 63.00056 62.937128 0L819.057629 520.078079zM252.618443 771.829612l-62.939142 0 0 63.058959 62.939142 0L252.618443 771.829612zM252.618443 645.954349l-62.939142 0 0 62.999554 62.939142 0L252.618443 645.954349zM944.932892 79.389305 819.057629 79.389305l0 62.938135 125.87627 0 0 188.815411L63.805046 331.142851 63.805046 142.32744l125.875263 0L189.680309 79.389305 63.805046 79.389305c-65.271041 0-62.938135 64.567243-62.938135 62.938135l0 818.192732c0 61.277814 60.604221 62.938135 62.938135 62.938135l881.128853 0c57.406418 0 62.937128-60.601201 62.937128-62.938135L1007.871027 142.32744C1007.87002 138.057324 1006.21272 79.389305 944.932892 79.389305M944.932892 960.520172 63.805046 960.520172 63.805046 394.080986l881.128853 0L944.933899 960.520172zM630.244232 771.829612l-62.938135 0 0 63.058959 62.938135 0L630.244232 771.829612zM441.433855 645.954349l-62.939142 0 0 62.999554 62.939142 0L441.433855 645.954349zM441.433855 520.078079l-62.939142 0 0 63.00056 62.939142 0L441.433855 520.078079zM441.433855 771.829612l-62.939142 0 0 63.058959 62.939142 0L441.433855 771.829612zM252.618443 520.078079l-62.939142 0 0 63.00056 62.939142 0L252.618443 520.078079z" fill="#272636" p-id="3072"></path></svg>
+
+
+ <svg t="1724655338036" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3071" width="200" height="200"><path d="M819.057629 645.954349l-62.937128 0 0 62.999554 62.937128 0L819.057629 645.954349zM819.057629 771.829612l-62.937128 0 0 62.999554 62.937128 0L819.057629 771.829612zM630.244232 520.078079l-62.938135 0 0 63.00056 62.938135 0L630.244232 520.078079zM630.244232 79.389305 378.494713 79.389305l0 62.938135 251.749519 0L630.244232 79.389305zM284.333689 204.435918c17.270758 0 31.16147-18.747829 31.16147-41.857399L315.495159 58.24715c0-23.048151-13.890712-41.794973-31.16147-41.794973-17.146914 0-31.099044 18.746823-31.099044 41.794973l0 104.332376C253.234645 185.689095 267.186775 204.435918 284.333689 204.435918M724.90164 204.435918c17.576845 0 31.832042-18.747829 31.832042-41.857399L756.733682 58.24715c0-23.048151-14.255197-41.794973-31.832042-41.794973-17.58188 0-31.838083 18.746823-31.838083 41.794973l0 104.332376C693.063556 185.689095 707.31976 204.435918 724.90164 204.435918M630.244232 645.954349l-62.938135 0 0 62.999554 62.938135 0L630.244232 645.954349zM819.057629 520.078079l-62.937128 0 0 63.00056 62.937128 0L819.057629 520.078079zM252.618443 771.829612l-62.939142 0 0 63.058959 62.939142 0L252.618443 771.829612zM252.618443 645.954349l-62.939142 0 0 62.999554 62.939142 0L252.618443 645.954349zM944.932892 79.389305 819.057629 79.389305l0 62.938135 125.87627 0 0 188.815411L63.805046 331.142851 63.805046 142.32744l125.875263 0L189.680309 79.389305 63.805046 79.389305c-65.271041 0-62.938135 64.567243-62.938135 62.938135l0 818.192732c0 61.277814 60.604221 62.938135 62.938135 62.938135l881.128853 0c57.406418 0 62.937128-60.601201 62.937128-62.938135L1007.871027 142.32744C1007.87002 138.057324 1006.21272 79.389305 944.932892 79.389305M944.932892 960.520172 63.805046 960.520172 63.805046 394.080986l881.128853 0L944.933899 960.520172zM630.244232 771.829612l-62.938135 0 0 63.058959 62.938135 0L630.244232 771.829612zM441.433855 645.954349l-62.939142 0 0 62.999554 62.939142 0L441.433855 645.954349zM441.433855 520.078079l-62.939142 0 0 63.00056 62.939142 0L441.433855 520.078079zM441.433855 771.829612l-62.939142 0 0 63.058959 62.939142 0L441.433855 771.829612zM252.618443 520.078079l-62.939142 0 0 63.00056 62.939142 0L252.618443 520.078079z" fill="#272636" p-id="3072"></path></svg>
+
+
\ No newline at end of file
diff --git a/Views/FloatButtonDemo.Designer.cs b/Views/FloatButtonDemo.Designer.cs
index 3e96de8..97d2049 100644
--- a/Views/FloatButtonDemo.Designer.cs
+++ b/Views/FloatButtonDemo.Designer.cs
@@ -164,6 +164,11 @@
//
this.input_badgesize.DecimalPlaces = 2;
this.input_badgesize.Location = new System.Drawing.Point(280, 3);
+ this.input_badgesize.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_badgesize.Name = "input_badgesize";
this.input_badgesize.Size = new System.Drawing.Size(75, 26);
this.input_badgesize.TabIndex = 13;
@@ -218,6 +223,11 @@
// input_radius
//
this.input_radius.Location = new System.Drawing.Point(459, 3);
+ this.input_radius.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_radius.Name = "input_radius";
this.input_radius.Size = new System.Drawing.Size(75, 26);
this.input_radius.TabIndex = 11;
@@ -308,6 +318,11 @@
// input_my
//
this.input_my.Location = new System.Drawing.Point(459, 3);
+ this.input_my.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_my.Name = "input_my";
this.input_my.Size = new System.Drawing.Size(75, 26);
this.input_my.TabIndex = 9;
@@ -331,6 +346,11 @@
// input_mx
//
this.input_mx.Location = new System.Drawing.Point(280, 3);
+ this.input_mx.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_mx.Name = "input_mx";
this.input_mx.Size = new System.Drawing.Size(75, 26);
this.input_mx.TabIndex = 7;
@@ -354,6 +374,11 @@
// input_size
//
this.input_size.Location = new System.Drawing.Point(101, 3);
+ this.input_size.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_size.Name = "input_size";
this.input_size.Size = new System.Drawing.Size(75, 26);
this.input_size.TabIndex = 5;
diff --git a/Views/FlowPanelDemo.Designer.cs b/Views/FlowPanelDemo.Designer.cs
index 5dcab64..a948185 100644
--- a/Views/FlowPanelDemo.Designer.cs
+++ b/Views/FlowPanelDemo.Designer.cs
@@ -184,6 +184,11 @@
//
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_gap.Location = new System.Drawing.Point(97, 3);
+ this.input_gap.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_gap.Name = "input_gap";
this.input_gap.Size = new System.Drawing.Size(175, 26);
this.input_gap.TabIndex = 5;
diff --git a/Views/GridPanelDemo.Designer.cs b/Views/GridPanelDemo.Designer.cs
index e702479..aeda6ac 100644
--- a/Views/GridPanelDemo.Designer.cs
+++ b/Views/GridPanelDemo.Designer.cs
@@ -118,6 +118,11 @@
//
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_gap.Location = new System.Drawing.Point(97, 3);
+ this.input_gap.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_gap.Name = "input_gap";
this.input_gap.Size = new System.Drawing.Size(175, 26);
this.input_gap.TabIndex = 5;
diff --git a/Views/MenuDemo.Designer.cs b/Views/MenuDemo.Designer.cs
index 4f777bc..7addb24 100644
--- a/Views/MenuDemo.Designer.cs
+++ b/Views/MenuDemo.Designer.cs
@@ -696,6 +696,11 @@
//
this.input_radius.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_radius.Location = new System.Drawing.Point(129, 3);
+ this.input_radius.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_radius.Name = "input_radius";
this.input_radius.Size = new System.Drawing.Size(120, 26);
this.input_radius.TabIndex = 5;
diff --git a/Views/PanelDemo.Designer.cs b/Views/PanelDemo.Designer.cs
index 656aece..d62633e 100644
--- a/Views/PanelDemo.Designer.cs
+++ b/Views/PanelDemo.Designer.cs
@@ -179,6 +179,11 @@
0,
0,
0});
+ this.input_shadowOH.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_shadowOH.Name = "input_shadowOH";
this.input_shadowOH.Size = new System.Drawing.Size(132, 26);
this.input_shadowOH.TabIndex = 5;
@@ -279,6 +284,11 @@
0,
0,
0});
+ this.input_shadowO.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_shadowO.Name = "input_shadowO";
this.input_shadowO.Size = new System.Drawing.Size(120, 26);
this.input_shadowO.TabIndex = 5;
@@ -313,6 +323,11 @@
//
this.input_shadowY.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_shadowY.Location = new System.Drawing.Point(139, 3);
+ this.input_shadowY.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_shadowY.Name = "input_shadowY";
this.input_shadowY.Size = new System.Drawing.Size(120, 26);
this.input_shadowY.TabIndex = 5;
@@ -342,6 +357,11 @@
//
this.input_shadowX.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_shadowX.Location = new System.Drawing.Point(139, 3);
+ this.input_shadowX.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_shadowX.Name = "input_shadowX";
this.input_shadowX.Size = new System.Drawing.Size(120, 26);
this.input_shadowX.TabIndex = 5;
@@ -374,6 +394,7 @@
this.colorPicker_shadow.Size = new System.Drawing.Size(120, 26);
this.colorPicker_shadow.TabIndex = 5;
this.colorPicker_shadow.Text = "colorPicker1";
+ this.colorPicker_shadow.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_shadow.WaveSize = 0;
//
// label7
@@ -428,6 +449,11 @@
//
this.input_shadow.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_shadow.Location = new System.Drawing.Point(139, 3);
+ this.input_shadow.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_shadow.Name = "input_shadow";
this.input_shadow.Size = new System.Drawing.Size(120, 26);
this.input_shadow.TabIndex = 5;
@@ -463,6 +489,11 @@
this.input_borderwidth.DecimalPlaces = 2;
this.input_borderwidth.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_borderwidth.Location = new System.Drawing.Point(139, 3);
+ this.input_borderwidth.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_borderwidth.Name = "input_borderwidth";
this.input_borderwidth.Size = new System.Drawing.Size(120, 26);
this.input_borderwidth.TabIndex = 5;
@@ -495,6 +526,7 @@
this.colorPicker_border.Size = new System.Drawing.Size(120, 26);
this.colorPicker_border.TabIndex = 5;
this.colorPicker_border.Text = "colorPicker1";
+ this.colorPicker_border.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker_border.WaveSize = 0;
//
// label14
@@ -520,6 +552,11 @@
//
this.input_radius.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_radius.Location = new System.Drawing.Point(139, 3);
+ this.input_radius.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_radius.Name = "input_radius";
this.input_radius.Size = new System.Drawing.Size(120, 26);
this.input_radius.TabIndex = 5;
@@ -554,6 +591,11 @@
//
this.input_arrowsize.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_arrowsize.Location = new System.Drawing.Point(139, 3);
+ this.input_arrowsize.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_arrowsize.Name = "input_arrowsize";
this.input_arrowsize.Size = new System.Drawing.Size(120, 26);
this.input_arrowsize.TabIndex = 5;
diff --git a/Views/StackPanelDemo.Designer.cs b/Views/StackPanelDemo.Designer.cs
index cb836fa..5c7e441 100644
--- a/Views/StackPanelDemo.Designer.cs
+++ b/Views/StackPanelDemo.Designer.cs
@@ -219,6 +219,11 @@
//
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.input_gap.Location = new System.Drawing.Point(97, 3);
+ this.input_gap.Minimum = new decimal(new int[] {
+ 0,
+ 0,
+ 0,
+ 0});
this.input_gap.Name = "input_gap";
this.input_gap.Size = new System.Drawing.Size(175, 26);
this.input_gap.TabIndex = 5;