diff --git a/MainWindow.cs b/MainWindow.cs
index 2629fc6..73260c5 100644
--- a/MainWindow.cs
+++ b/MainWindow.cs
@@ -232,6 +232,9 @@ namespace AntdUIDemo
case "Segmented":
control = new SegmentedDemo();
break;
+ case "Table":
+ control = new TableDemo(this);
+ break;
}
if (control != null)
{
diff --git a/Models/User.cs b/Models/User.cs
new file mode 100644
index 0000000..b5fcce7
--- /dev/null
+++ b/Models/User.cs
@@ -0,0 +1,171 @@
+using AntdUI;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace AntdUIDemo.Models
+{
+ internal class User : NotifyProperty
+ {
+ private int id { get; set; }
+ private bool selected;
+ private string name;
+ private int age;
+ private string address;
+ private bool enabled;
+ private CellImage[] cellImages;
+ private CellTag[] cellTags;
+ private CellBadge cellBadge;
+ private CellText cellText;
+ private CellLink[] cellLinks;
+ private CellProgress cellProgress;
+ private CellDivider cellDivider;
+
+ public int Id
+ {
+ get { return id; }
+ set
+ {
+ if (id == value) return;
+ id = value;
+ OnPropertyChanged(nameof(Id));
+ }
+ }
+
+ public bool Selected
+ {
+ get { return selected; }
+ set
+ {
+ if (selected == value) return;
+ selected = value;
+ OnPropertyChanged(nameof(Selected));
+ }
+ }
+
+ public string Name
+ {
+ get { return name; }
+ set
+ {
+ if (name == value) return;
+ name = value;
+ OnPropertyChanged(nameof(Name));
+ }
+ }
+
+ public int Age
+ {
+ get { return age; }
+ set
+ {
+ if (age == value) return;
+ age = value;
+ OnPropertyChanged(nameof(Age));
+ }
+ }
+
+ public string Address
+ {
+ get { return address; }
+ set
+ {
+ if (address == value) return;
+ address = value;
+ OnPropertyChanged(nameof(Address));
+ }
+ }
+
+ public bool Enabled
+ {
+ get { return enabled; }
+ set
+ {
+ if (enabled == value) return;
+ enabled = value;
+ OnPropertyChanged(nameof(Enabled));
+ }
+ }
+
+ public CellImage[] CellImages
+ {
+ get { return cellImages; }
+ set
+ {
+ if (cellImages == value) return;
+ cellImages = value;
+ OnPropertyChanged(nameof(CellImages));
+ }
+ }
+
+ public CellTag[] CellTags
+ {
+ get { return cellTags; }
+ set
+ {
+ if (cellTags == value) return;
+ cellTags = value;
+ OnPropertyChanged(nameof(CellTags));
+ }
+ }
+
+ public CellBadge CellBadge
+ {
+ get { return cellBadge; }
+ set
+ {
+ if (cellBadge == value) return;
+ cellBadge = value;
+ OnPropertyChanged(nameof(CellBadge));
+ }
+ }
+
+ public CellText CellText
+ {
+ get { return cellText; }
+ set
+ {
+ if (cellText == value) return;
+ cellText = value;
+ OnPropertyChanged(nameof(CellText));
+ }
+ }
+
+ public CellLink[] CellLinks
+ {
+ get { return cellLinks; }
+ set
+ {
+ if (cellLinks == value) return;
+ cellLinks = value;
+ OnPropertyChanged(nameof(CellLinks));
+ }
+ }
+
+ public CellProgress CellProgress
+ {
+ get { return cellProgress; }
+ set
+ {
+ if (cellProgress == value) return;
+ cellProgress = value;
+ OnPropertyChanged(nameof(CellProgress));
+ }
+ }
+
+ public CellDivider CellDivider
+ {
+ get { return cellDivider; }
+ set
+ {
+ if (cellDivider == value) return;
+ cellDivider = value;
+ OnPropertyChanged(nameof(CellDivider));
+ }
+ }
+
+ }
+}
diff --git a/Views/ButtonDemo.Designer.cs b/Views/ButtonDemo.Designer.cs
index 904cbf9..b0b6d0c 100644
--- a/Views/ButtonDemo.Designer.cs
+++ b/Views/ButtonDemo.Designer.cs
@@ -30,6 +30,29 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ButtonDemo));
this.stackPanel1 = new AntdUI.StackPanel();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.button6 = new AntdUI.Button();
+ this.button5 = new AntdUI.Button();
+ this.button4 = new AntdUI.Button();
+ this.button3 = new AntdUI.Button();
+ this.button2 = new AntdUI.Button();
+ this.button1 = new AntdUI.Button();
+ this.label3 = new AntdUI.Label();
+ this.divider1 = new AntdUI.Divider();
+ this.label2 = new AntdUI.Label();
+ this.label1 = new AntdUI.Label();
+ this.label11 = new AntdUI.Label();
+ this.flowPanel9 = new AntdUI.FlowPanel();
+ this.button30 = new AntdUI.Button();
+ this.button31 = new AntdUI.Button();
+ this.button32 = new AntdUI.Button();
+ this.button38 = new AntdUI.Button();
+ this.button40 = new AntdUI.Button();
+ this.button41 = new AntdUI.Button();
+ this.flowPanel8 = new AntdUI.FlowPanel();
+ this.button_toggle2 = new AntdUI.Button();
+ this.button_toggle = new AntdUI.Button();
+ this.label10 = new AntdUI.Label();
this.flowPanel7 = new AntdUI.FlowPanel();
this.button39 = new AntdUI.Button();
this.label9 = new AntdUI.Label();
@@ -73,22 +96,10 @@
this.button11 = new AntdUI.Button();
this.button12 = new AntdUI.Button();
this.label4 = new AntdUI.Label();
- this.flowPanel1 = new AntdUI.FlowPanel();
- this.button6 = new AntdUI.Button();
- this.button5 = new AntdUI.Button();
- this.button4 = new AntdUI.Button();
- this.button3 = new AntdUI.Button();
- this.button2 = new AntdUI.Button();
- this.button1 = new AntdUI.Button();
- this.label3 = new AntdUI.Label();
- this.divider1 = new AntdUI.Divider();
- this.label2 = new AntdUI.Label();
- this.label1 = new AntdUI.Label();
- this.label10 = new AntdUI.Label();
- this.flowPanel8 = new AntdUI.FlowPanel();
- this.button_toggle = new AntdUI.Button();
- this.button_toggle2 = new AntdUI.Button();
this.stackPanel1.SuspendLayout();
+ this.flowPanel1.SuspendLayout();
+ this.flowPanel9.SuspendLayout();
+ this.flowPanel8.SuspendLayout();
this.flowPanel7.SuspendLayout();
this.flowPanel6.SuspendLayout();
this.panel3.SuspendLayout();
@@ -97,8 +108,6 @@
this.flowPanel4.SuspendLayout();
this.flowPanel3.SuspendLayout();
this.flowPanel2.SuspendLayout();
- this.flowPanel1.SuspendLayout();
- this.flowPanel8.SuspendLayout();
this.SuspendLayout();
//
// stackPanel1
@@ -117,6 +126,8 @@
this.stackPanel1.Controls.Add(this.label5);
this.stackPanel1.Controls.Add(this.flowPanel2);
this.stackPanel1.Controls.Add(this.label4);
+ this.stackPanel1.Controls.Add(this.flowPanel9);
+ this.stackPanel1.Controls.Add(this.label11);
this.stackPanel1.Controls.Add(this.flowPanel1);
this.stackPanel1.Controls.Add(this.label3);
this.stackPanel1.Controls.Add(this.divider1);
@@ -125,536 +136,11 @@
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, 685);
+ this.stackPanel1.Size = new System.Drawing.Size(700, 809);
this.stackPanel1.TabIndex = 1;
this.stackPanel1.Text = "stackPanel1";
this.stackPanel1.Vertical = true;
//
- // flowPanel7
- //
- this.flowPanel7.Controls.Add(this.button39);
- this.flowPanel7.Location = new System.Drawing.Point(3, 571);
- this.flowPanel7.Name = "flowPanel7";
- this.flowPanel7.Size = new System.Drawing.Size(694, 38);
- this.flowPanel7.TabIndex = 18;
- this.flowPanel7.Text = "flowPanel7";
- //
- // button39
- //
- 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.Location = new System.Drawing.Point(3, 3);
- this.button39.Name = "button39";
- this.button39.Size = new System.Drawing.Size(156, 32);
- this.button39.TabIndex = 7;
- this.button39.Text = "Gradient Button";
- this.button39.Type = AntdUI.TTypeMini.Primary;
- this.button39.WaveSize = 0;
- //
- // 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, 541);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(694, 24);
- this.label9.TabIndex = 17;
- this.label9.Text = "渐变按钮";
- //
- // flowPanel6
- //
- this.flowPanel6.Controls.Add(this.panel3);
- this.flowPanel6.Controls.Add(this.panel2);
- this.flowPanel6.Location = new System.Drawing.Point(3, 497);
- this.flowPanel6.Name = "flowPanel6";
- this.flowPanel6.Size = new System.Drawing.Size(694, 38);
- this.flowPanel6.TabIndex = 16;
- this.flowPanel6.Text = "flowPanel6";
- //
- // panel3
- //
- 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(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;
- this.panel3.Text = "panel3";
- //
- // button36
- //
- 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.JoinLeft = true;
- this.button36.Location = new System.Drawing.Point(77, 3);
- this.button36.Name = "button36";
- this.button36.Size = new System.Drawing.Size(75, 32);
- this.button36.TabIndex = 4;
- this.button36.Text = "Button";
- this.button36.Type = AntdUI.TTypeMini.Primary;
- this.button36.WaveSize = 0;
- //
- // button37
- //
- this.button37.BorderWidth = 2F;
- 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.JoinRight = true;
- this.button37.Location = new System.Drawing.Point(3, 3);
- this.button37.Name = "button37";
- this.button37.Size = new System.Drawing.Size(75, 32);
- this.button37.TabIndex = 3;
- this.button37.Type = AntdUI.TTypeMini.Primary;
- this.button37.WaveSize = 0;
- //
- // panel2
- //
- this.panel2.Back = System.Drawing.Color.Transparent;
- this.panel2.BackColor = System.Drawing.Color.Transparent;
- 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(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;
- this.panel2.Text = "panel2";
- //
- // button33
- //
- this.button33.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button33.JoinLeft = true;
- this.button33.Location = new System.Drawing.Point(151, 3);
- this.button33.Name = "button33";
- this.button33.Size = new System.Drawing.Size(75, 32);
- this.button33.TabIndex = 4;
- this.button33.Text = "Button";
- this.button33.Type = AntdUI.TTypeMini.Primary;
- this.button33.WaveSize = 0;
- //
- // button34
- //
- 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.JoinLeft = true;
- this.button34.JoinRight = true;
- this.button34.Location = new System.Drawing.Point(77, 3);
- this.button34.Name = "button34";
- this.button34.Size = new System.Drawing.Size(75, 32);
- this.button34.TabIndex = 3;
- this.button34.Type = AntdUI.TTypeMini.Primary;
- this.button34.WaveSize = 0;
- //
- // button35
- //
- this.button35.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button35.JoinRight = true;
- this.button35.Location = new System.Drawing.Point(3, 3);
- this.button35.Name = "button35";
- this.button35.Size = new System.Drawing.Size(75, 32);
- this.button35.TabIndex = 2;
- this.button35.Text = "Text";
- this.button35.Type = AntdUI.TTypeMini.Primary;
- this.button35.WaveSize = 0;
- //
- // 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, 467);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(694, 24);
- this.label8.TabIndex = 15;
- this.label8.Text = "组合按钮";
- //
- // flowPanel5
- //
- this.flowPanel5.Controls.Add(this.button28);
- this.flowPanel5.Controls.Add(this.button27);
- this.flowPanel5.Controls.Add(this.button26);
- this.flowPanel5.Controls.Add(this.button25);
- this.flowPanel5.Controls.Add(this.button29);
- this.flowPanel5.Location = new System.Drawing.Point(3, 423);
- this.flowPanel5.Name = "flowPanel5";
- this.flowPanel5.Size = new System.Drawing.Size(694, 38);
- this.flowPanel5.TabIndex = 14;
- this.flowPanel5.Text = "flowPanel5";
- //
- // button28
- //
- this.button28.BorderWidth = 2F;
- 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.Location = new System.Drawing.Point(347, 3);
- this.button28.Name = "button28";
- this.button28.ShowArrow = true;
- this.button28.Size = new System.Drawing.Size(80, 32);
- this.button28.TabIndex = 11;
- this.button28.Text = "搜索";
- this.button28.Type = AntdUI.TTypeMini.Primary;
- this.button28.WaveSize = 0;
- //
- // button27
- //
- 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.Location = new System.Drawing.Point(261, 3);
- this.button27.Name = "button27";
- this.button27.ShowArrow = true;
- this.button27.Size = new System.Drawing.Size(80, 32);
- this.button27.TabIndex = 10;
- this.button27.Text = "搜索";
- this.button27.Type = AntdUI.TTypeMini.Primary;
- this.button27.WaveSize = 0;
- //
- // button26
- //
- 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.Location = new System.Drawing.Point(175, 3);
- this.button26.Name = "button26";
- this.button26.ShowArrow = true;
- this.button26.Size = new System.Drawing.Size(80, 32);
- this.button26.TabIndex = 9;
- this.button26.Text = "Primary";
- this.button26.Type = AntdUI.TTypeMini.Primary;
- this.button26.WaveSize = 0;
- //
- // button25
- //
- 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.Location = new System.Drawing.Point(89, 3);
- this.button25.Name = "button25";
- this.button25.ShowArrow = true;
- this.button25.Size = new System.Drawing.Size(80, 32);
- this.button25.TabIndex = 8;
- this.button25.Text = "Primary";
- this.button25.Type = AntdUI.TTypeMini.Primary;
- this.button25.WaveSize = 0;
- //
- // button29
- //
- this.button29.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button29.Location = new System.Drawing.Point(3, 3);
- this.button29.Name = "button29";
- this.button29.ShowArrow = true;
- this.button29.Size = new System.Drawing.Size(80, 32);
- this.button29.TabIndex = 7;
- this.button29.Text = "Primary";
- this.button29.Type = AntdUI.TTypeMini.Primary;
- this.button29.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, 393);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(694, 24);
- this.label7.TabIndex = 13;
- this.label7.Text = "分割按钮";
- //
- // flowPanel4
- //
- this.flowPanel4.Controls.Add(this.button21);
- this.flowPanel4.Controls.Add(this.button22);
- this.flowPanel4.Controls.Add(this.button19);
- this.flowPanel4.Controls.Add(this.button20);
- this.flowPanel4.Controls.Add(this.button23);
- this.flowPanel4.Controls.Add(this.button24);
- this.flowPanel4.Location = new System.Drawing.Point(3, 349);
- this.flowPanel4.Name = "flowPanel4";
- this.flowPanel4.Size = new System.Drawing.Size(694, 38);
- this.flowPanel4.TabIndex = 12;
- this.flowPanel4.Text = "flowPanel4";
- //
- // button21
- //
- this.button21.BorderWidth = 2F;
- 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.Location = new System.Drawing.Point(279, 3);
- this.button21.Name = "button21";
- this.button21.Size = new System.Drawing.Size(75, 32);
- this.button21.TabIndex = 5;
- this.button21.Text = "搜索";
- this.button21.Type = AntdUI.TTypeMini.Primary;
- this.button21.WaveSize = 0;
- //
- // button22
- //
- this.button22.BorderWidth = 2F;
- 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.Location = new System.Drawing.Point(241, 3);
- this.button22.Name = "button22";
- this.button22.Shape = AntdUI.TShape.Circle;
- this.button22.Size = new System.Drawing.Size(32, 32);
- this.button22.TabIndex = 4;
- this.button22.Type = AntdUI.TTypeMini.Primary;
- this.button22.WaveSize = 0;
- //
- // button19
- //
- 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.Location = new System.Drawing.Point(160, 3);
- this.button19.Name = "button19";
- this.button19.RightToLeft = System.Windows.Forms.RightToLeft.No;
- this.button19.Size = new System.Drawing.Size(75, 32);
- this.button19.TabIndex = 3;
- this.button19.Text = "搜索";
- this.button19.Type = AntdUI.TTypeMini.Primary;
- this.button19.WaveSize = 0;
- //
- // button20
- //
- 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.Location = new System.Drawing.Point(122, 3);
- this.button20.Name = "button20";
- this.button20.Shape = AntdUI.TShape.Circle;
- this.button20.Size = new System.Drawing.Size(32, 32);
- this.button20.TabIndex = 2;
- this.button20.Type = AntdUI.TTypeMini.Primary;
- this.button20.WaveSize = 0;
- //
- // button23
- //
- 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.Location = new System.Drawing.Point(41, 3);
- this.button23.Name = "button23";
- this.button23.Size = new System.Drawing.Size(75, 32);
- this.button23.TabIndex = 1;
- this.button23.Text = "搜索";
- this.button23.WaveSize = 0;
- //
- // button24
- //
- 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.Location = new System.Drawing.Point(3, 3);
- this.button24.Name = "button24";
- this.button24.Shape = AntdUI.TShape.Circle;
- this.button24.Size = new System.Drawing.Size(32, 32);
- this.button24.TabIndex = 0;
- this.button24.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, 319);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(694, 24);
- this.label6.TabIndex = 11;
- this.label6.Text = "图标按钮";
- //
- // flowPanel3
- //
- this.flowPanel3.Controls.Add(this.button13);
- this.flowPanel3.Controls.Add(this.button14);
- this.flowPanel3.Controls.Add(this.button15);
- this.flowPanel3.Controls.Add(this.button16);
- this.flowPanel3.Controls.Add(this.button17);
- this.flowPanel3.Controls.Add(this.button18);
- 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 = 10;
- this.flowPanel3.Text = "flowPanel3";
- //
- // button13
- //
- 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.Location = new System.Drawing.Point(408, 3);
- this.button13.Name = "button13";
- this.button13.Size = new System.Drawing.Size(75, 32);
- this.button13.TabIndex = 5;
- this.button13.Text = "Info";
- this.button13.Type = AntdUI.TTypeMini.Info;
- this.button13.WaveSize = 0;
- //
- // button14
- //
- 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.Location = new System.Drawing.Point(327, 3);
- this.button14.Name = "button14";
- this.button14.Size = new System.Drawing.Size(75, 32);
- this.button14.TabIndex = 4;
- this.button14.Text = "Error";
- this.button14.Type = AntdUI.TTypeMini.Error;
- this.button14.WaveSize = 0;
- //
- // button15
- //
- 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.Location = new System.Drawing.Point(246, 3);
- this.button15.Name = "button15";
- this.button15.Size = new System.Drawing.Size(75, 32);
- this.button15.TabIndex = 3;
- this.button15.Text = "Warn";
- this.button15.Type = AntdUI.TTypeMini.Warn;
- this.button15.WaveSize = 0;
- //
- // button16
- //
- 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.Location = new System.Drawing.Point(165, 3);
- this.button16.Name = "button16";
- this.button16.Size = new System.Drawing.Size(75, 32);
- this.button16.TabIndex = 2;
- this.button16.Text = "Success";
- this.button16.Type = AntdUI.TTypeMini.Success;
- this.button16.WaveSize = 0;
- //
- // button17
- //
- 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.Location = new System.Drawing.Point(84, 3);
- this.button17.Name = "button17";
- this.button17.Size = new System.Drawing.Size(75, 32);
- this.button17.TabIndex = 1;
- this.button17.Text = "Primary";
- this.button17.Type = AntdUI.TTypeMini.Primary;
- this.button17.WaveSize = 0;
- //
- // button18
- //
- 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.Location = new System.Drawing.Point(3, 3);
- this.button18.Name = "button18";
- this.button18.Size = new System.Drawing.Size(75, 32);
- this.button18.TabIndex = 0;
- this.button18.Text = "Default";
- this.button18.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 = 9;
- this.label5.Text = "文本按钮(带边框)";
- //
- // flowPanel2
- //
- this.flowPanel2.Controls.Add(this.button7);
- this.flowPanel2.Controls.Add(this.button8);
- this.flowPanel2.Controls.Add(this.button9);
- this.flowPanel2.Controls.Add(this.button10);
- this.flowPanel2.Controls.Add(this.button11);
- this.flowPanel2.Controls.Add(this.button12);
- 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 = 8;
- this.flowPanel2.Text = "flowPanel2";
- //
- // button7
- //
- 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.Location = new System.Drawing.Point(408, 3);
- this.button7.Name = "button7";
- this.button7.Size = new System.Drawing.Size(75, 32);
- this.button7.TabIndex = 5;
- this.button7.Text = "Info";
- this.button7.Type = AntdUI.TTypeMini.Info;
- this.button7.WaveSize = 0;
- //
- // button8
- //
- 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.Location = new System.Drawing.Point(327, 3);
- this.button8.Name = "button8";
- this.button8.Size = new System.Drawing.Size(75, 32);
- this.button8.TabIndex = 4;
- this.button8.Text = "Error";
- this.button8.Type = AntdUI.TTypeMini.Error;
- this.button8.WaveSize = 0;
- //
- // button9
- //
- 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.Location = new System.Drawing.Point(246, 3);
- this.button9.Name = "button9";
- this.button9.Size = new System.Drawing.Size(75, 32);
- this.button9.TabIndex = 3;
- this.button9.Text = "Warn";
- this.button9.Type = AntdUI.TTypeMini.Warn;
- this.button9.WaveSize = 0;
- //
- // button10
- //
- 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.Location = new System.Drawing.Point(165, 3);
- this.button10.Name = "button10";
- this.button10.Size = new System.Drawing.Size(75, 32);
- this.button10.TabIndex = 2;
- this.button10.Text = "Success";
- this.button10.Type = AntdUI.TTypeMini.Success;
- this.button10.WaveSize = 0;
- //
- // button11
- //
- 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.Location = new System.Drawing.Point(84, 3);
- this.button11.Name = "button11";
- this.button11.Size = new System.Drawing.Size(75, 32);
- this.button11.TabIndex = 1;
- this.button11.Text = "Primary";
- this.button11.Type = AntdUI.TTypeMini.Primary;
- this.button11.WaveSize = 0;
- //
- // button12
- //
- 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.Location = new System.Drawing.Point(3, 3);
- this.button12.Name = "button12";
- this.button12.Size = new System.Drawing.Size(75, 32);
- this.button12.TabIndex = 0;
- this.button12.Text = "Default";
- this.button12.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 = 7;
- this.label4.Text = "文本按钮";
- //
// flowPanel1
//
this.flowPanel1.Controls.Add(this.button6);
@@ -672,9 +158,9 @@
// button6
//
this.button6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button6.Location = new System.Drawing.Point(408, 3);
+ this.button6.Location = new System.Drawing.Point(433, 3);
this.button6.Name = "button6";
- this.button6.Size = new System.Drawing.Size(75, 32);
+ this.button6.Size = new System.Drawing.Size(80, 32);
this.button6.TabIndex = 5;
this.button6.Text = "Info";
this.button6.Type = AntdUI.TTypeMini.Info;
@@ -683,9 +169,9 @@
// button5
//
this.button5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button5.Location = new System.Drawing.Point(327, 3);
+ this.button5.Location = new System.Drawing.Point(347, 3);
this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(75, 32);
+ this.button5.Size = new System.Drawing.Size(80, 32);
this.button5.TabIndex = 4;
this.button5.Text = "Error";
this.button5.Type = AntdUI.TTypeMini.Error;
@@ -694,9 +180,9 @@
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button4.Location = new System.Drawing.Point(246, 3);
+ this.button4.Location = new System.Drawing.Point(261, 3);
this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(75, 32);
+ this.button4.Size = new System.Drawing.Size(80, 32);
this.button4.TabIndex = 3;
this.button4.Text = "Warn";
this.button4.Type = AntdUI.TTypeMini.Warn;
@@ -705,9 +191,9 @@
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button3.Location = new System.Drawing.Point(165, 3);
+ this.button3.Location = new System.Drawing.Point(175, 3);
this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(75, 32);
+ this.button3.Size = new System.Drawing.Size(80, 32);
this.button3.TabIndex = 2;
this.button3.Text = "Success";
this.button3.Type = AntdUI.TTypeMini.Success;
@@ -716,9 +202,9 @@
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button2.Location = new System.Drawing.Point(84, 3);
+ this.button2.Location = new System.Drawing.Point(89, 3);
this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 32);
+ this.button2.Size = new System.Drawing.Size(80, 32);
this.button2.TabIndex = 1;
this.button2.Text = "Primary";
this.button2.Type = AntdUI.TTypeMini.Primary;
@@ -730,7 +216,7 @@
this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(3, 3);
this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 32);
+ this.button1.Size = new System.Drawing.Size(80, 32);
this.button1.TabIndex = 0;
this.button1.Text = "Default";
this.button1.WaveSize = 0;
@@ -769,57 +255,637 @@
this.label1.TabIndex = 0;
this.label1.Text = "Button 按钮";
//
- // label10
+ // label11
//
- 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, 615);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(694, 24);
- this.label10.TabIndex = 19;
- this.label10.Text = "切换按钮";
+ this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(3, 171);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(694, 24);
+ this.label11.TabIndex = 21;
+ this.label11.Text = "水波效果";
+ //
+ // flowPanel9
+ //
+ this.flowPanel9.Controls.Add(this.button30);
+ this.flowPanel9.Controls.Add(this.button31);
+ this.flowPanel9.Controls.Add(this.button32);
+ this.flowPanel9.Controls.Add(this.button38);
+ this.flowPanel9.Controls.Add(this.button40);
+ this.flowPanel9.Controls.Add(this.button41);
+ this.flowPanel9.Location = new System.Drawing.Point(3, 201);
+ this.flowPanel9.Name = "flowPanel9";
+ this.flowPanel9.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel9.TabIndex = 22;
+ this.flowPanel9.Text = "flowPanel9";
+ //
+ // button30
+ //
+ this.button30.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button30.Location = new System.Drawing.Point(433, 3);
+ this.button30.Name = "button30";
+ this.button30.Size = new System.Drawing.Size(80, 38);
+ this.button30.TabIndex = 5;
+ this.button30.Text = "Info";
+ this.button30.Type = AntdUI.TTypeMini.Info;
+ //
+ // button31
+ //
+ this.button31.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button31.Location = new System.Drawing.Point(347, 3);
+ this.button31.Name = "button31";
+ this.button31.Size = new System.Drawing.Size(80, 38);
+ this.button31.TabIndex = 4;
+ this.button31.Text = "Error";
+ this.button31.Type = AntdUI.TTypeMini.Error;
+ //
+ // button32
+ //
+ this.button32.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button32.Location = new System.Drawing.Point(261, 3);
+ this.button32.Name = "button32";
+ this.button32.Size = new System.Drawing.Size(80, 38);
+ this.button32.TabIndex = 3;
+ this.button32.Text = "Warn";
+ this.button32.Type = AntdUI.TTypeMini.Warn;
+ //
+ // button38
+ //
+ this.button38.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button38.Location = new System.Drawing.Point(175, 3);
+ this.button38.Name = "button38";
+ this.button38.Size = new System.Drawing.Size(80, 38);
+ this.button38.TabIndex = 2;
+ this.button38.Text = "Success";
+ this.button38.Type = AntdUI.TTypeMini.Success;
+ //
+ // button40
+ //
+ this.button40.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button40.Location = new System.Drawing.Point(89, 3);
+ this.button40.Name = "button40";
+ this.button40.Size = new System.Drawing.Size(80, 38);
+ this.button40.TabIndex = 1;
+ this.button40.Text = "Primary";
+ this.button40.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button41
+ //
+ this.button41.Cursor = System.Windows.Forms.Cursors.Default;
+ this.button41.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button41.Location = new System.Drawing.Point(3, 3);
+ this.button41.Name = "button41";
+ this.button41.Size = new System.Drawing.Size(80, 38);
+ this.button41.TabIndex = 0;
+ this.button41.Text = "Default";
//
// flowPanel8
//
this.flowPanel8.Controls.Add(this.button_toggle2);
this.flowPanel8.Controls.Add(this.button_toggle);
- this.flowPanel8.Location = new System.Drawing.Point(3, 645);
+ this.flowPanel8.Location = new System.Drawing.Point(3, 761);
this.flowPanel8.Name = "flowPanel8";
- this.flowPanel8.Size = new System.Drawing.Size(694, 38);
- this.flowPanel8.TabIndex = 20;
+ this.flowPanel8.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel8.TabIndex = 36;
this.flowPanel8.Text = "flowPanel8";
//
- // button_toggle
- //
- this.button_toggle.IconSvg = resources.GetString("button_toggle.IconSvg");
- this.button_toggle.Location = new System.Drawing.Point(3, 3);
- this.button_toggle.Name = "button_toggle";
- this.button_toggle.Size = new System.Drawing.Size(75, 32);
- this.button_toggle.TabIndex = 0;
- this.button_toggle.ToggleIconSvg = resources.GetString("button_toggle.ToggleIconSvg");
- this.button_toggle.WaveSize = 0;
- //
// button_toggle2
//
this.button_toggle2.Cursor = System.Windows.Forms.Cursors.Default;
this.button_toggle2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.button_toggle2.IconPosition = AntdUI.TAlignMini.Right;
this.button_toggle2.IconSvg = resources.GetString("button_toggle2.IconSvg");
- this.button_toggle2.Location = new System.Drawing.Point(84, 3);
+ this.button_toggle2.Location = new System.Drawing.Point(89, 3);
this.button_toggle2.Name = "button_toggle2";
this.button_toggle2.RightToLeft = System.Windows.Forms.RightToLeft.No;
- this.button_toggle2.Size = new System.Drawing.Size(75, 32);
+ this.button_toggle2.Size = new System.Drawing.Size(80, 38);
this.button_toggle2.TabIndex = 1;
this.button_toggle2.Text = "搜索";
this.button_toggle2.ToggleIconSvg = resources.GetString("button_toggle2.ToggleIconSvg");
this.button_toggle2.ToggleType = AntdUI.TTypeMini.Primary;
- this.button_toggle2.WaveSize = 0;
+ //
+ // button_toggle
+ //
+ this.button_toggle.IconSvg = resources.GetString("button_toggle.IconSvg");
+ this.button_toggle.Location = new System.Drawing.Point(3, 3);
+ this.button_toggle.Name = "button_toggle";
+ this.button_toggle.Size = new System.Drawing.Size(80, 38);
+ this.button_toggle.TabIndex = 0;
+ this.button_toggle.ToggleIconSvg = resources.GetString("button_toggle.ToggleIconSvg");
+ //
+ // 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, 731);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(694, 24);
+ this.label10.TabIndex = 35;
+ this.label10.Text = "切换按钮";
+ //
+ // flowPanel7
+ //
+ this.flowPanel7.Controls.Add(this.button39);
+ this.flowPanel7.Location = new System.Drawing.Point(3, 681);
+ this.flowPanel7.Name = "flowPanel7";
+ this.flowPanel7.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel7.TabIndex = 34;
+ this.flowPanel7.Text = "flowPanel7";
+ //
+ // button39
+ //
+ 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.Location = new System.Drawing.Point(3, 3);
+ this.button39.Name = "button39";
+ this.button39.Size = new System.Drawing.Size(166, 38);
+ this.button39.TabIndex = 7;
+ this.button39.Text = "Gradient Button";
+ this.button39.Type = AntdUI.TTypeMini.Primary;
+ //
+ // 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, 651);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(694, 24);
+ this.label9.TabIndex = 33;
+ this.label9.Text = "渐变按钮";
+ //
+ // flowPanel6
+ //
+ this.flowPanel6.Controls.Add(this.panel3);
+ this.flowPanel6.Controls.Add(this.panel2);
+ this.flowPanel6.Location = new System.Drawing.Point(3, 601);
+ this.flowPanel6.Name = "flowPanel6";
+ this.flowPanel6.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel6.TabIndex = 32;
+ this.flowPanel6.Text = "flowPanel6";
+ //
+ // panel3
+ //
+ 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(255, 0);
+ this.panel3.Margin = new System.Windows.Forms.Padding(0);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(172, 44);
+ this.panel3.TabIndex = 2;
+ this.panel3.Text = "panel3";
+ //
+ // button36
+ //
+ 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.JoinLeft = true;
+ this.button36.Location = new System.Drawing.Point(88, 3);
+ this.button36.Name = "button36";
+ this.button36.Size = new System.Drawing.Size(85, 38);
+ this.button36.TabIndex = 4;
+ this.button36.Text = "Button";
+ this.button36.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button37
+ //
+ this.button37.BorderWidth = 2F;
+ 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.JoinRight = true;
+ this.button37.Location = new System.Drawing.Point(3, 3);
+ this.button37.Name = "button37";
+ this.button37.Size = new System.Drawing.Size(85, 38);
+ this.button37.TabIndex = 3;
+ this.button37.Type = AntdUI.TTypeMini.Primary;
+ //
+ // panel2
+ //
+ this.panel2.Back = System.Drawing.Color.Transparent;
+ this.panel2.BackColor = System.Drawing.Color.Transparent;
+ 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(0, 0);
+ this.panel2.Margin = new System.Windows.Forms.Padding(0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(255, 44);
+ this.panel2.TabIndex = 1;
+ this.panel2.Text = "panel2";
+ //
+ // button33
+ //
+ this.button33.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button33.JoinLeft = true;
+ this.button33.Location = new System.Drawing.Point(171, 3);
+ this.button33.Name = "button33";
+ this.button33.Size = new System.Drawing.Size(84, 38);
+ this.button33.TabIndex = 4;
+ this.button33.Text = "Button";
+ this.button33.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button34
+ //
+ 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.JoinLeft = true;
+ this.button34.JoinRight = true;
+ this.button34.Location = new System.Drawing.Point(87, 3);
+ this.button34.Name = "button34";
+ this.button34.Size = new System.Drawing.Size(84, 38);
+ this.button34.TabIndex = 3;
+ this.button34.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button35
+ //
+ this.button35.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button35.JoinRight = true;
+ this.button35.Location = new System.Drawing.Point(3, 3);
+ this.button35.Name = "button35";
+ this.button35.Size = new System.Drawing.Size(84, 38);
+ this.button35.TabIndex = 2;
+ this.button35.Text = "Text";
+ this.button35.Type = AntdUI.TTypeMini.Primary;
+ //
+ // 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, 571);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(694, 24);
+ this.label8.TabIndex = 31;
+ this.label8.Text = "组合按钮";
+ //
+ // flowPanel5
+ //
+ this.flowPanel5.Controls.Add(this.button28);
+ this.flowPanel5.Controls.Add(this.button27);
+ this.flowPanel5.Controls.Add(this.button26);
+ this.flowPanel5.Controls.Add(this.button25);
+ this.flowPanel5.Controls.Add(this.button29);
+ this.flowPanel5.Location = new System.Drawing.Point(3, 521);
+ this.flowPanel5.Name = "flowPanel5";
+ this.flowPanel5.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel5.TabIndex = 30;
+ this.flowPanel5.Text = "flowPanel5";
+ //
+ // button28
+ //
+ this.button28.BorderWidth = 2F;
+ 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.Location = new System.Drawing.Point(347, 3);
+ this.button28.Name = "button28";
+ this.button28.ShowArrow = true;
+ this.button28.Size = new System.Drawing.Size(80, 38);
+ this.button28.TabIndex = 11;
+ this.button28.Text = "搜索";
+ this.button28.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button27
+ //
+ 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.Location = new System.Drawing.Point(261, 3);
+ this.button27.Name = "button27";
+ this.button27.ShowArrow = true;
+ this.button27.Size = new System.Drawing.Size(80, 38);
+ this.button27.TabIndex = 10;
+ this.button27.Text = "搜索";
+ this.button27.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button26
+ //
+ 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.Location = new System.Drawing.Point(175, 3);
+ this.button26.Name = "button26";
+ this.button26.ShowArrow = true;
+ this.button26.Size = new System.Drawing.Size(80, 38);
+ this.button26.TabIndex = 9;
+ this.button26.Text = "Primary";
+ this.button26.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button25
+ //
+ 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.Location = new System.Drawing.Point(89, 3);
+ this.button25.Name = "button25";
+ this.button25.ShowArrow = true;
+ this.button25.Size = new System.Drawing.Size(80, 38);
+ this.button25.TabIndex = 8;
+ this.button25.Text = "Primary";
+ this.button25.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button29
+ //
+ this.button29.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button29.Location = new System.Drawing.Point(3, 3);
+ this.button29.Name = "button29";
+ this.button29.ShowArrow = true;
+ this.button29.Size = new System.Drawing.Size(80, 38);
+ this.button29.TabIndex = 7;
+ this.button29.Text = "Primary";
+ this.button29.Type = AntdUI.TTypeMini.Primary;
+ //
+ // 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, 491);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(694, 24);
+ this.label7.TabIndex = 29;
+ this.label7.Text = "分割按钮";
+ //
+ // flowPanel4
+ //
+ this.flowPanel4.Controls.Add(this.button21);
+ this.flowPanel4.Controls.Add(this.button22);
+ this.flowPanel4.Controls.Add(this.button19);
+ this.flowPanel4.Controls.Add(this.button20);
+ this.flowPanel4.Controls.Add(this.button23);
+ this.flowPanel4.Controls.Add(this.button24);
+ this.flowPanel4.Location = new System.Drawing.Point(3, 441);
+ this.flowPanel4.Name = "flowPanel4";
+ this.flowPanel4.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel4.TabIndex = 28;
+ this.flowPanel4.Text = "flowPanel4";
+ //
+ // button21
+ //
+ this.button21.BorderWidth = 2F;
+ 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.Location = new System.Drawing.Point(307, 3);
+ this.button21.Name = "button21";
+ this.button21.Size = new System.Drawing.Size(80, 38);
+ this.button21.TabIndex = 5;
+ this.button21.Text = "搜索";
+ this.button21.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button22
+ //
+ this.button22.BorderWidth = 2F;
+ 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.Location = new System.Drawing.Point(263, 3);
+ this.button22.Name = "button22";
+ this.button22.Shape = AntdUI.TShape.Circle;
+ this.button22.Size = new System.Drawing.Size(38, 38);
+ this.button22.TabIndex = 4;
+ this.button22.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button19
+ //
+ 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.Location = new System.Drawing.Point(177, 3);
+ this.button19.Name = "button19";
+ this.button19.RightToLeft = System.Windows.Forms.RightToLeft.No;
+ this.button19.Size = new System.Drawing.Size(80, 38);
+ this.button19.TabIndex = 3;
+ this.button19.Text = "搜索";
+ this.button19.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button20
+ //
+ 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.Location = new System.Drawing.Point(133, 3);
+ this.button20.Name = "button20";
+ this.button20.Shape = AntdUI.TShape.Circle;
+ this.button20.Size = new System.Drawing.Size(38, 38);
+ this.button20.TabIndex = 2;
+ this.button20.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button23
+ //
+ 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.Location = new System.Drawing.Point(47, 3);
+ this.button23.Name = "button23";
+ this.button23.Size = new System.Drawing.Size(80, 38);
+ this.button23.TabIndex = 1;
+ this.button23.Text = "搜索";
+ //
+ // button24
+ //
+ 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.Location = new System.Drawing.Point(3, 3);
+ this.button24.Name = "button24";
+ this.button24.Shape = AntdUI.TShape.Circle;
+ this.button24.Size = new System.Drawing.Size(38, 38);
+ this.button24.TabIndex = 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, 411);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(694, 24);
+ this.label6.TabIndex = 27;
+ this.label6.Text = "图标按钮";
+ //
+ // flowPanel3
+ //
+ this.flowPanel3.Controls.Add(this.button13);
+ this.flowPanel3.Controls.Add(this.button14);
+ this.flowPanel3.Controls.Add(this.button15);
+ this.flowPanel3.Controls.Add(this.button16);
+ this.flowPanel3.Controls.Add(this.button17);
+ this.flowPanel3.Controls.Add(this.button18);
+ this.flowPanel3.Location = new System.Drawing.Point(3, 361);
+ this.flowPanel3.Name = "flowPanel3";
+ this.flowPanel3.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel3.TabIndex = 26;
+ this.flowPanel3.Text = "flowPanel3";
+ //
+ // button13
+ //
+ 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.Location = new System.Drawing.Point(433, 3);
+ this.button13.Name = "button13";
+ this.button13.Size = new System.Drawing.Size(80, 38);
+ this.button13.TabIndex = 5;
+ this.button13.Text = "Info";
+ this.button13.Type = AntdUI.TTypeMini.Info;
+ //
+ // button14
+ //
+ 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.Location = new System.Drawing.Point(347, 3);
+ this.button14.Name = "button14";
+ this.button14.Size = new System.Drawing.Size(80, 38);
+ this.button14.TabIndex = 4;
+ this.button14.Text = "Error";
+ this.button14.Type = AntdUI.TTypeMini.Error;
+ //
+ // button15
+ //
+ 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.Location = new System.Drawing.Point(261, 3);
+ this.button15.Name = "button15";
+ this.button15.Size = new System.Drawing.Size(80, 38);
+ this.button15.TabIndex = 3;
+ this.button15.Text = "Warn";
+ this.button15.Type = AntdUI.TTypeMini.Warn;
+ //
+ // button16
+ //
+ 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.Location = new System.Drawing.Point(175, 3);
+ this.button16.Name = "button16";
+ this.button16.Size = new System.Drawing.Size(80, 38);
+ this.button16.TabIndex = 2;
+ this.button16.Text = "Success";
+ this.button16.Type = AntdUI.TTypeMini.Success;
+ //
+ // button17
+ //
+ 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.Location = new System.Drawing.Point(89, 3);
+ this.button17.Name = "button17";
+ this.button17.Size = new System.Drawing.Size(80, 38);
+ this.button17.TabIndex = 1;
+ this.button17.Text = "Primary";
+ this.button17.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button18
+ //
+ 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.Location = new System.Drawing.Point(3, 3);
+ this.button18.Name = "button18";
+ this.button18.Size = new System.Drawing.Size(80, 38);
+ this.button18.TabIndex = 0;
+ this.button18.Text = "Default";
+ //
+ // 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, 331);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(694, 24);
+ this.label5.TabIndex = 25;
+ this.label5.Text = "文本按钮(带边框)";
+ //
+ // flowPanel2
+ //
+ this.flowPanel2.Controls.Add(this.button7);
+ this.flowPanel2.Controls.Add(this.button8);
+ this.flowPanel2.Controls.Add(this.button9);
+ this.flowPanel2.Controls.Add(this.button10);
+ this.flowPanel2.Controls.Add(this.button11);
+ this.flowPanel2.Controls.Add(this.button12);
+ this.flowPanel2.Location = new System.Drawing.Point(3, 281);
+ this.flowPanel2.Name = "flowPanel2";
+ this.flowPanel2.Size = new System.Drawing.Size(694, 44);
+ this.flowPanel2.TabIndex = 24;
+ this.flowPanel2.Text = "flowPanel2";
+ //
+ // button7
+ //
+ 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.Location = new System.Drawing.Point(433, 3);
+ this.button7.Name = "button7";
+ this.button7.Size = new System.Drawing.Size(80, 38);
+ this.button7.TabIndex = 5;
+ this.button7.Text = "Info";
+ this.button7.Type = AntdUI.TTypeMini.Info;
+ //
+ // button8
+ //
+ 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.Location = new System.Drawing.Point(347, 3);
+ this.button8.Name = "button8";
+ this.button8.Size = new System.Drawing.Size(80, 38);
+ this.button8.TabIndex = 4;
+ this.button8.Text = "Error";
+ this.button8.Type = AntdUI.TTypeMini.Error;
+ //
+ // button9
+ //
+ 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.Location = new System.Drawing.Point(261, 3);
+ this.button9.Name = "button9";
+ this.button9.Size = new System.Drawing.Size(80, 38);
+ this.button9.TabIndex = 3;
+ this.button9.Text = "Warn";
+ this.button9.Type = AntdUI.TTypeMini.Warn;
+ //
+ // button10
+ //
+ 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.Location = new System.Drawing.Point(175, 3);
+ this.button10.Name = "button10";
+ this.button10.Size = new System.Drawing.Size(80, 38);
+ this.button10.TabIndex = 2;
+ this.button10.Text = "Success";
+ this.button10.Type = AntdUI.TTypeMini.Success;
+ //
+ // button11
+ //
+ 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.Location = new System.Drawing.Point(89, 3);
+ this.button11.Name = "button11";
+ this.button11.Size = new System.Drawing.Size(80, 38);
+ this.button11.TabIndex = 1;
+ this.button11.Text = "Primary";
+ this.button11.Type = AntdUI.TTypeMini.Primary;
+ //
+ // button12
+ //
+ 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.Location = new System.Drawing.Point(3, 3);
+ this.button12.Name = "button12";
+ this.button12.Size = new System.Drawing.Size(80, 38);
+ this.button12.TabIndex = 0;
+ this.button12.Text = "Default";
+ //
+ // 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, 251);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(694, 24);
+ this.label4.TabIndex = 23;
+ this.label4.Text = "文本按钮";
//
// ButtonDemo
//
this.Controls.Add(this.stackPanel1);
this.Name = "ButtonDemo";
- this.Size = new System.Drawing.Size(700, 685);
+ this.Size = new System.Drawing.Size(700, 809);
this.stackPanel1.ResumeLayout(false);
+ this.flowPanel1.ResumeLayout(false);
+ this.flowPanel9.ResumeLayout(false);
+ this.flowPanel8.ResumeLayout(false);
this.flowPanel7.ResumeLayout(false);
this.flowPanel6.ResumeLayout(false);
this.panel3.ResumeLayout(false);
@@ -828,8 +894,6 @@
this.flowPanel4.ResumeLayout(false);
this.flowPanel3.ResumeLayout(false);
this.flowPanel2.ResumeLayout(false);
- this.flowPanel1.ResumeLayout(false);
- this.flowPanel8.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -848,14 +912,45 @@
private AntdUI.Button button1;
private AntdUI.Label label3;
private AntdUI.Divider divider1;
- private AntdUI.FlowPanel flowPanel2;
- private AntdUI.Button button7;
- private AntdUI.Button button8;
- private AntdUI.Button button9;
- private AntdUI.Button button10;
- private AntdUI.Button button11;
- private AntdUI.Button button12;
- private AntdUI.Label label4;
+ private AntdUI.Label label11;
+ private AntdUI.FlowPanel flowPanel9;
+ private AntdUI.Button button30;
+ private AntdUI.Button button31;
+ private AntdUI.Button button32;
+ private AntdUI.Button button38;
+ private AntdUI.Button button40;
+ private AntdUI.Button button41;
+ private AntdUI.FlowPanel flowPanel8;
+ private AntdUI.Button button_toggle2;
+ private AntdUI.Button button_toggle;
+ private AntdUI.Label label10;
+ private AntdUI.FlowPanel flowPanel7;
+ private AntdUI.Button button39;
+ private AntdUI.Label label9;
+ private AntdUI.FlowPanel flowPanel6;
+ private AntdUI.Panel panel3;
+ private AntdUI.Button button36;
+ private AntdUI.Button button37;
+ private AntdUI.Panel panel2;
+ private AntdUI.Button button33;
+ private AntdUI.Button button34;
+ private AntdUI.Button button35;
+ private AntdUI.Label label8;
+ private AntdUI.FlowPanel flowPanel5;
+ private AntdUI.Button button28;
+ private AntdUI.Button button27;
+ private AntdUI.Button button26;
+ private AntdUI.Button button25;
+ private AntdUI.Button button29;
+ private AntdUI.Label label7;
+ private AntdUI.FlowPanel flowPanel4;
+ private AntdUI.Button button21;
+ private AntdUI.Button button22;
+ private AntdUI.Button button19;
+ private AntdUI.Button button20;
+ private AntdUI.Button button23;
+ private AntdUI.Button button24;
+ private AntdUI.Label label6;
private AntdUI.FlowPanel flowPanel3;
private AntdUI.Button button13;
private AntdUI.Button button14;
@@ -864,36 +959,13 @@
private AntdUI.Button button17;
private AntdUI.Button button18;
private AntdUI.Label label5;
- private AntdUI.FlowPanel flowPanel4;
- private AntdUI.Button button23;
- private AntdUI.Button button24;
- private AntdUI.Label label6;
- private AntdUI.Button button19;
- private AntdUI.Button button20;
- private AntdUI.Button button21;
- private AntdUI.Button button22;
- private AntdUI.FlowPanel flowPanel5;
- private AntdUI.Label label7;
- private AntdUI.Button button29;
- private AntdUI.Button button26;
- private AntdUI.Button button25;
- private AntdUI.Button button28;
- private AntdUI.Button button27;
- private AntdUI.FlowPanel flowPanel6;
- private AntdUI.Label label8;
- private AntdUI.Panel panel3;
- private AntdUI.Button button36;
- private AntdUI.Button button37;
- private AntdUI.Panel panel2;
- private AntdUI.Button button33;
- private AntdUI.Button button34;
- private AntdUI.Button button35;
- private AntdUI.FlowPanel flowPanel7;
- private AntdUI.Button button39;
- private AntdUI.Label label9;
- private AntdUI.FlowPanel flowPanel8;
- private AntdUI.Label label10;
- private AntdUI.Button button_toggle;
- private AntdUI.Button button_toggle2;
+ private AntdUI.FlowPanel flowPanel2;
+ private AntdUI.Button button7;
+ private AntdUI.Button button8;
+ private AntdUI.Button button9;
+ private AntdUI.Button button10;
+ private AntdUI.Button button11;
+ private AntdUI.Button button12;
+ private AntdUI.Label label4;
}
}
diff --git a/Views/TableDemo.Designer.cs b/Views/TableDemo.Designer.cs
new file mode 100644
index 0000000..cbeba9f
--- /dev/null
+++ b/Views/TableDemo.Designer.cs
@@ -0,0 +1,270 @@
+namespace AntdUIDemo.Views
+{
+ partial class TableDemo
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ 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.table_base = new AntdUI.Table();
+ this.flowPanel1 = new AntdUI.FlowPanel();
+ this.checkbox5 = new AntdUI.Checkbox();
+ this.checkbox4 = new AntdUI.Checkbox();
+ this.checkbox3 = new AntdUI.Checkbox();
+ this.checkbox2 = new AntdUI.Checkbox();
+ this.checkbox6 = new AntdUI.Checkbox();
+ this.checkbox1 = new AntdUI.Checkbox();
+ this.flowPanel3 = new AntdUI.FlowPanel();
+ this.button5 = new AntdUI.Button();
+ this.button2 = new AntdUI.Button();
+ this.label3 = new AntdUI.Label();
+ this.divider1 = new AntdUI.Divider();
+ this.label2 = new AntdUI.Label();
+ this.label1 = new AntdUI.Label();
+ this.label4 = new AntdUI.Label();
+ this.stackPanel1.SuspendLayout();
+ this.flowPanel1.SuspendLayout();
+ this.flowPanel3.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // stackPanel1
+ //
+ this.stackPanel1.Controls.Add(this.label4);
+ this.stackPanel1.Controls.Add(this.table_base);
+ this.stackPanel1.Controls.Add(this.flowPanel1);
+ this.stackPanel1.Controls.Add(this.flowPanel3);
+ 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, 770);
+ this.stackPanel1.TabIndex = 0;
+ this.stackPanel1.Text = "stackPanel1";
+ this.stackPanel1.Vertical = true;
+ //
+ // table_base
+ //
+ this.table_base.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.table_base.Location = new System.Drawing.Point(3, 199);
+ this.table_base.Name = "table_base";
+ this.table_base.Size = new System.Drawing.Size(694, 304);
+ this.table_base.TabIndex = 30;
+ this.table_base.Text = "table1";
+ //
+ // flowPanel1
+ //
+ this.flowPanel1.Controls.Add(this.checkbox5);
+ this.flowPanel1.Controls.Add(this.checkbox4);
+ this.flowPanel1.Controls.Add(this.checkbox3);
+ this.flowPanel1.Controls.Add(this.checkbox2);
+ this.flowPanel1.Controls.Add(this.checkbox6);
+ this.flowPanel1.Controls.Add(this.checkbox1);
+ this.flowPanel1.Location = new System.Drawing.Point(3, 171);
+ this.flowPanel1.Name = "flowPanel1";
+ this.flowPanel1.Size = new System.Drawing.Size(694, 22);
+ this.flowPanel1.TabIndex = 29;
+ this.flowPanel1.Text = "flowPanel1";
+ //
+ // checkbox5
+ //
+ this.checkbox5.AutoCheck = true;
+ this.checkbox5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox5.Location = new System.Drawing.Point(466, 0);
+ this.checkbox5.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox5.Name = "checkbox5";
+ this.checkbox5.Size = new System.Drawing.Size(66, 20);
+ this.checkbox5.TabIndex = 21;
+ this.checkbox5.Text = "排序";
+ //
+ // checkbox4
+ //
+ this.checkbox4.AutoCheck = true;
+ this.checkbox4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox4.Location = new System.Drawing.Point(388, 0);
+ this.checkbox4.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox4.Name = "checkbox4";
+ this.checkbox4.Size = new System.Drawing.Size(78, 20);
+ this.checkbox4.TabIndex = 20;
+ this.checkbox4.Text = "奇偶列";
+ //
+ // checkbox3
+ //
+ this.checkbox3.AutoCheck = true;
+ this.checkbox3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox3.Location = new System.Drawing.Point(285, 0);
+ this.checkbox3.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox3.Name = "checkbox3";
+ this.checkbox3.Size = new System.Drawing.Size(103, 20);
+ this.checkbox3.TabIndex = 19;
+ this.checkbox3.Text = "显示列边框";
+ //
+ // checkbox2
+ //
+ this.checkbox2.AutoCheck = true;
+ this.checkbox2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox2.Location = new System.Drawing.Point(182, 0);
+ this.checkbox2.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox2.Name = "checkbox2";
+ this.checkbox2.Size = new System.Drawing.Size(103, 20);
+ this.checkbox2.TabIndex = 18;
+ this.checkbox2.Text = "列拖拽排序";
+ //
+ // checkbox6
+ //
+ this.checkbox6.AutoCheck = true;
+ this.checkbox6.Checked = true;
+ this.checkbox6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox6.Location = new System.Drawing.Point(91, 0);
+ this.checkbox6.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox6.Name = "checkbox6";
+ this.checkbox6.Size = new System.Drawing.Size(91, 20);
+ this.checkbox6.TabIndex = 17;
+ this.checkbox6.Text = "显示表头";
+ //
+ // checkbox1
+ //
+ this.checkbox1.AutoCheck = true;
+ this.checkbox1.Checked = true;
+ this.checkbox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ this.checkbox1.Location = new System.Drawing.Point(0, 0);
+ this.checkbox1.Margin = new System.Windows.Forms.Padding(0);
+ this.checkbox1.Name = "checkbox1";
+ this.checkbox1.Size = new System.Drawing.Size(91, 20);
+ this.checkbox1.TabIndex = 12;
+ this.checkbox1.Text = "固定表头";
+ //
+ // flowPanel3
+ //
+ this.flowPanel3.Controls.Add(this.button5);
+ this.flowPanel3.Controls.Add(this.button2);
+ this.flowPanel3.Location = new System.Drawing.Point(3, 127);
+ this.flowPanel3.Name = "flowPanel3";
+ this.flowPanel3.Size = new System.Drawing.Size(694, 38);
+ this.flowPanel3.TabIndex = 27;
+ this.flowPanel3.Text = "flowPanel3";
+ //
+ // button5
+ //
+ this.button5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button5.Location = new System.Drawing.Point(89, 3);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(80, 32);
+ this.button5.TabIndex = 5;
+ this.button5.Text = "删除";
+ this.button5.Type = AntdUI.TTypeMini.Error;
+ this.button5.WaveSize = 0;
+ //
+ // button2
+ //
+ this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button2.Location = new System.Drawing.Point(3, 3);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(80, 32);
+ this.button2.TabIndex = 2;
+ this.button2.Text = "新增";
+ this.button2.Type = AntdUI.TTypeMini.Primary;
+ this.button2.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 = 24;
+ 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 = 23;
+ //
+ // 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 = 22;
+ 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 = 21;
+ this.label1.Text = "Table 表格";
+ //
+ // 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, 509);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(694, 24);
+ this.label4.TabIndex = 31;
+ this.label4.Text = "分页";
+ //
+ // TableDemo
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
+ this.Controls.Add(this.stackPanel1);
+ this.Name = "TableDemo";
+ this.Size = new System.Drawing.Size(700, 770);
+ this.stackPanel1.ResumeLayout(false);
+ this.flowPanel1.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.Label label3;
+ private AntdUI.FlowPanel flowPanel3;
+ private AntdUI.Button button2;
+ private AntdUI.Button button5;
+ private AntdUI.Table table_base;
+ private AntdUI.FlowPanel flowPanel1;
+ private AntdUI.Checkbox checkbox6;
+ private AntdUI.Checkbox checkbox1;
+ private AntdUI.Checkbox checkbox5;
+ private AntdUI.Checkbox checkbox4;
+ private AntdUI.Checkbox checkbox3;
+ private AntdUI.Checkbox checkbox2;
+ private AntdUI.Label label4;
+ }
+}
diff --git a/Views/TableDemo.cs b/Views/TableDemo.cs
new file mode 100644
index 0000000..1d1ed1d
--- /dev/null
+++ b/Views/TableDemo.cs
@@ -0,0 +1,97 @@
+using AntdUI;
+using AntdUIDemo.Models;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AntdUIDemo.Views
+{
+ public partial class TableDemo : UserControl
+ {
+ private AntdUI.Window window;
+ AntList antList;
+ public TableDemo(AntdUI.Window _window)
+ {
+ window = _window;
+ InitializeComponent();
+ //初始化表格列头
+ InitTableColumns();
+ InitData();
+ BindEventHandler();
+ }
+
+ private void InitTableColumns()
+ {
+ table_base.Columns = [
+ new ColumnCheck("Selected"){Fixed = true},
+ new Column("Name", "姓名",ColumnAlign.Center),
+ new Column("Age", "年龄",ColumnAlign.Center),
+ new Column("Address", "地址"){
+ Width = "120",
+ LineBreak = true,
+ },
+ new ColumnSwitch("Enabled", "是否启用", ColumnAlign.Center){
+ //支持点击回调
+ Call= (value,record, i_row, i_col) =>{
+ //执行耗时操作
+ Thread.Sleep(2000);
+ AntdUI.Message.info(window, value.ToString(),autoClose:1);
+ return value;
+ }
+ },
+ new Column("CellImages", "图片",ColumnAlign.Center),
+ new Column("CellTags", "标签",ColumnAlign.Center),
+ new Column("CellBadge", "徽标",ColumnAlign.Center),
+ new Column("CellText", "富文本",ColumnAlign.Center),
+ new Column("CellProgress", "进度条",ColumnAlign.Center),
+ new Column("CellDivider", "分割线",ColumnAlign.Center),
+ new Column("CellLinks", "链接",ColumnAlign.Center),
+ ];
+ }
+
+ private void BindEventHandler()
+ {
+
+ }
+
+ private void InitData()
+ {
+ antList = new AntList(3);
+
+ for (int i = 0; i < 3; i++)
+ {
+ antList.Add(new User
+ {
+ Id = i,
+ Selected = false,
+ Name = "张三",
+ Age = 30,
+ Address = "浙江省杭州市西湖区湖底公园1号",
+ Enabled = i % 2 == 0,
+ //CellImages = [new CellImage(Properties.Resources.bg1)],
+ CellTags = [new CellTag("测试", TTypeMini.Primary), new CellTag("测试", TTypeMini.Success), new CellTag("测试", TTypeMini.Warn)],
+ CellBadge = new CellBadge(TState.Processing, "测试中"),
+ CellText = new CellText("这是一个带图标的文本")
+ {
+ IconRatio = 0.5f,
+ PrefixSvg = ""
+ },
+ CellLinks = [new CellLink("https://gitee.com/antdui/AntdUI", "AntdUI"),
+ new CellButton(i.ToString(),"修改",TTypeMini.Primary),
+ new CellButton(i.ToString(),"删除",TTypeMini.Error)],
+ //value:0-1
+ CellProgress = new CellProgress(0.5f),
+ CellDivider = new CellDivider(),
+ });
+ }
+ table_base.Binding(antList);
+ }
+ }
+}
diff --git a/Views/TableDemo.resx b/Views/TableDemo.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Views/TableDemo.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