窗口显示优化

This commit is contained in:
czz_y 2024-08-28 13:45:40 +08:00
parent 7b76a9d889
commit b8beeb3ddf
8 changed files with 99 additions and 169 deletions

11
MainWindow.Designer.cs generated
View File

@ -60,11 +60,6 @@
this.button_color.Ghost = true; this.button_color.Ghost = true;
this.button_color.IconRatio = 0.6F; this.button_color.IconRatio = 0.6F;
this.button_color.IconSvg = resources.GetString("button_color.IconSvg"); this.button_color.IconSvg = resources.GetString("button_color.IconSvg");
this.button_color.Icon = null;
this.button_color.IconHover = null;
this.button_color.IconHoverSvg = null;
this.button_color.IconSize = new System.Drawing.Size(0, 0);
this.button_color.IconSvg = resources.GetString("button_color.IconSvg");
this.button_color.Location = new System.Drawing.Point(806, 0); this.button_color.Location = new System.Drawing.Point(806, 0);
this.button_color.Name = "button_color"; this.button_color.Name = "button_color";
this.button_color.Radius = 0; this.button_color.Radius = 0;
@ -77,11 +72,6 @@
this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right; this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right;
this.buttonSZ.Ghost = true; this.buttonSZ.Ghost = true;
this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg"); this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg");
this.buttonSZ.Icon = null;
this.buttonSZ.IconHover = null;
this.buttonSZ.IconHoverSvg = null;
this.buttonSZ.IconSize = new System.Drawing.Size(0, 0);
this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg");
this.buttonSZ.Location = new System.Drawing.Point(856, 0); this.buttonSZ.Location = new System.Drawing.Point(856, 0);
this.buttonSZ.Name = "buttonSZ"; this.buttonSZ.Name = "buttonSZ";
this.buttonSZ.Radius = 0; this.buttonSZ.Radius = 0;
@ -146,6 +136,7 @@
this.Padding = new System.Windows.Forms.Padding(6, 0, 0, 6); this.Padding = new System.Windows.Forms.Padding(6, 0, 0, 6);
this.Resizable = false; this.Resizable = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "AntdUI Demo";
this.titlebar.ResumeLayout(false); this.titlebar.ResumeLayout(false);
this.panel_content.ResumeLayout(false); this.panel_content.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@ -108,11 +108,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(84, 3); this.buttonCZ.Location = new System.Drawing.Point(84, 3);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(75, 32); this.buttonCZ.Size = new System.Drawing.Size(75, 32);
@ -124,11 +119,6 @@
// buttonClose // buttonClose
// //
this.buttonClose.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonClose.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonClose.Image = null;
this.buttonClose.ImageHover = null;
this.buttonClose.ImageHoverSvg = null;
this.buttonClose.ImageSize = new System.Drawing.Size(0, 0);
this.buttonClose.ImageSvg = null;
this.buttonClose.Location = new System.Drawing.Point(3, 3); this.buttonClose.Location = new System.Drawing.Point(3, 3);
this.buttonClose.Name = "buttonClose"; this.buttonClose.Name = "buttonClose";
this.buttonClose.Size = new System.Drawing.Size(75, 32); this.buttonClose.Size = new System.Drawing.Size(75, 32);

View File

@ -105,11 +105,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 193); this.buttonCZ.Location = new System.Drawing.Point(3, 193);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(244, 32); this.buttonCZ.Size = new System.Drawing.Size(244, 32);
@ -121,11 +116,6 @@
// buttonDEL // buttonDEL
// //
this.buttonDEL.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonDEL.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonDEL.Image = null;
this.buttonDEL.ImageHover = null;
this.buttonDEL.ImageHoverSvg = null;
this.buttonDEL.ImageSize = new System.Drawing.Size(0, 0);
this.buttonDEL.ImageSvg = null;
this.buttonDEL.Location = new System.Drawing.Point(3, 155); this.buttonDEL.Location = new System.Drawing.Point(3, 155);
this.buttonDEL.Name = "buttonDEL"; this.buttonDEL.Name = "buttonDEL";
this.buttonDEL.Size = new System.Drawing.Size(244, 32); this.buttonDEL.Size = new System.Drawing.Size(244, 32);
@ -137,11 +127,6 @@
// buttonADD // buttonADD
// //
this.buttonADD.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonADD.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonADD.Image = null;
this.buttonADD.ImageHover = null;
this.buttonADD.ImageHoverSvg = null;
this.buttonADD.ImageSize = new System.Drawing.Size(0, 0);
this.buttonADD.ImageSvg = null;
this.buttonADD.Location = new System.Drawing.Point(3, 117); this.buttonADD.Location = new System.Drawing.Point(3, 117);
this.buttonADD.Name = "buttonADD"; this.buttonADD.Name = "buttonADD";
this.buttonADD.Size = new System.Drawing.Size(244, 32); this.buttonADD.Size = new System.Drawing.Size(244, 32);

View File

@ -96,11 +96,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 98); this.buttonCZ.Location = new System.Drawing.Point(3, 98);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(244, 32); this.buttonCZ.Size = new System.Drawing.Size(244, 32);

View File

@ -453,11 +453,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 383); this.buttonCZ.Location = new System.Drawing.Point(3, 383);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(244, 32); this.buttonCZ.Size = new System.Drawing.Size(244, 32);

View File

@ -151,11 +151,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 3); this.buttonCZ.Location = new System.Drawing.Point(3, 3);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(75, 32); this.buttonCZ.Size = new System.Drawing.Size(75, 32);
@ -400,7 +395,6 @@
this.colorPicker.Size = new System.Drawing.Size(100, 26); this.colorPicker.Size = new System.Drawing.Size(100, 26);
this.colorPicker.TabIndex = 14; this.colorPicker.TabIndex = 14;
this.colorPicker.Text = "colorPicker1"; this.colorPicker.Text = "colorPicker1";
this.colorPicker.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
this.colorPicker.WaveSize = 0; this.colorPicker.WaveSize = 0;
// //
// label6 // label6

View File

@ -251,11 +251,6 @@
// buttonCZ // buttonCZ
// //
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 421); this.buttonCZ.Location = new System.Drawing.Point(3, 421);
this.buttonCZ.Name = "buttonCZ"; this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(244, 32); this.buttonCZ.Size = new System.Drawing.Size(244, 32);

View File

@ -32,30 +32,30 @@
this.stackPanel2 = new AntdUI.StackPanel(); this.stackPanel2 = new AntdUI.StackPanel();
this.stackPanel = new AntdUI.StackPanel(); this.stackPanel = new AntdUI.StackPanel();
this.stackPanel3 = new AntdUI.StackPanel(); this.stackPanel3 = new AntdUI.StackPanel();
this.buttonCZ = new AntdUI.Button();
this.buttonDEL = new AntdUI.Button();
this.buttonADD = new AntdUI.Button();
this.stackPanel8 = new AntdUI.StackPanel();
this.label6 = new AntdUI.Label();
this.stackPanel7 = new AntdUI.StackPanel(); this.stackPanel7 = new AntdUI.StackPanel();
this.input_itemsize = new AntdUI.Input(); this.input_itemsize = new AntdUI.Input();
this.label5 = new AntdUI.Label(); this.label5 = new AntdUI.Label();
this.stackPanel5 = new AntdUI.StackPanel(); this.stackPanel5 = new AntdUI.StackPanel();
this.input_gap = new AntdUI.InputNumber(); this.input_gap = new AntdUI.InputNumber();
this.label3 = new AntdUI.Label(); this.label3 = new AntdUI.Label();
this.stackPanel6 = new AntdUI.StackPanel();
this.label4 = new AntdUI.Label();
this.divider1 = new AntdUI.Divider(); this.divider1 = new AntdUI.Divider();
this.label2 = new AntdUI.Label(); this.label2 = new AntdUI.Label();
this.label1 = new AntdUI.Label(); this.label1 = new AntdUI.Label();
this.switch_autoscroll = new AntdUI.Switch(); this.buttonCZ = new AntdUI.Button();
this.buttonDEL = new AntdUI.Button();
this.buttonADD = new AntdUI.Button();
this.stackPanel8 = new AntdUI.StackPanel();
this.switch_vertical = new AntdUI.Switch(); this.switch_vertical = new AntdUI.Switch();
this.label6 = new AntdUI.Label();
this.stackPanel6 = new AntdUI.StackPanel();
this.switch_autoscroll = new AntdUI.Switch();
this.label4 = new AntdUI.Label();
this.stackPanel1.SuspendLayout(); this.stackPanel1.SuspendLayout();
this.stackPanel2.SuspendLayout(); this.stackPanel2.SuspendLayout();
this.stackPanel3.SuspendLayout(); this.stackPanel3.SuspendLayout();
this.stackPanel8.SuspendLayout();
this.stackPanel7.SuspendLayout(); this.stackPanel7.SuspendLayout();
this.stackPanel5.SuspendLayout(); this.stackPanel5.SuspendLayout();
this.stackPanel8.SuspendLayout();
this.stackPanel6.SuspendLayout(); this.stackPanel6.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -98,9 +98,9 @@
this.stackPanel3.Controls.Add(this.buttonDEL); this.stackPanel3.Controls.Add(this.buttonDEL);
this.stackPanel3.Controls.Add(this.buttonADD); this.stackPanel3.Controls.Add(this.buttonADD);
this.stackPanel3.Controls.Add(this.stackPanel8); this.stackPanel3.Controls.Add(this.stackPanel8);
this.stackPanel3.Controls.Add(this.stackPanel6);
this.stackPanel3.Controls.Add(this.stackPanel7); this.stackPanel3.Controls.Add(this.stackPanel7);
this.stackPanel3.Controls.Add(this.stackPanel5); this.stackPanel3.Controls.Add(this.stackPanel5);
this.stackPanel3.Controls.Add(this.stackPanel6);
this.stackPanel3.Location = new System.Drawing.Point(3, 3); this.stackPanel3.Location = new System.Drawing.Point(3, 3);
this.stackPanel3.Name = "stackPanel3"; this.stackPanel3.Name = "stackPanel3";
this.stackPanel3.Size = new System.Drawing.Size(220, 400); this.stackPanel3.Size = new System.Drawing.Size(220, 400);
@ -108,78 +108,11 @@
this.stackPanel3.Text = "stackPanel3"; this.stackPanel3.Text = "stackPanel3";
this.stackPanel3.Vertical = true; this.stackPanel3.Vertical = true;
// //
// buttonCZ
//
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonCZ.Image = null;
this.buttonCZ.ImageHover = null;
this.buttonCZ.ImageHoverSvg = null;
this.buttonCZ.ImageSize = new System.Drawing.Size(0, 0);
this.buttonCZ.ImageSvg = null;
this.buttonCZ.Location = new System.Drawing.Point(3, 231);
this.buttonCZ.Name = "buttonCZ";
this.buttonCZ.Size = new System.Drawing.Size(214, 32);
this.buttonCZ.TabIndex = 39;
this.buttonCZ.Text = "重 置";
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
this.buttonCZ.WaveSize = 0;
//
// buttonDEL
//
this.buttonDEL.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonDEL.Image = null;
this.buttonDEL.ImageHover = null;
this.buttonDEL.ImageHoverSvg = null;
this.buttonDEL.ImageSize = new System.Drawing.Size(0, 0);
this.buttonDEL.ImageSvg = null;
this.buttonDEL.Location = new System.Drawing.Point(3, 193);
this.buttonDEL.Name = "buttonDEL";
this.buttonDEL.Size = new System.Drawing.Size(214, 32);
this.buttonDEL.TabIndex = 38;
this.buttonDEL.Text = "删除 Button";
this.buttonDEL.Type = AntdUI.TTypeMini.Error;
this.buttonDEL.WaveSize = 0;
//
// buttonADD
//
this.buttonADD.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonADD.Image = null;
this.buttonADD.ImageHover = null;
this.buttonADD.ImageHoverSvg = null;
this.buttonADD.ImageSize = new System.Drawing.Size(0, 0);
this.buttonADD.ImageSvg = null;
this.buttonADD.Location = new System.Drawing.Point(3, 155);
this.buttonADD.Name = "buttonADD";
this.buttonADD.Size = new System.Drawing.Size(214, 32);
this.buttonADD.TabIndex = 37;
this.buttonADD.Text = "添加 Button";
this.buttonADD.Type = AntdUI.TTypeMini.Info;
this.buttonADD.WaveSize = 0;
//
// stackPanel8
//
this.stackPanel8.Controls.Add(this.switch_vertical);
this.stackPanel8.Controls.Add(this.label6);
this.stackPanel8.Location = new System.Drawing.Point(3, 117);
this.stackPanel8.Name = "stackPanel8";
this.stackPanel8.Size = new System.Drawing.Size(214, 32);
this.stackPanel8.TabIndex = 21;
this.stackPanel8.Text = "stackPanel8";
//
// 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, 3);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(88, 26);
this.label6.TabIndex = 4;
this.label6.Text = "Vertical";
//
// stackPanel7 // stackPanel7
// //
this.stackPanel7.Controls.Add(this.input_itemsize); this.stackPanel7.Controls.Add(this.input_itemsize);
this.stackPanel7.Controls.Add(this.label5); this.stackPanel7.Controls.Add(this.label5);
this.stackPanel7.Location = new System.Drawing.Point(3, 79); this.stackPanel7.Location = new System.Drawing.Point(3, 41);
this.stackPanel7.Name = "stackPanel7"; this.stackPanel7.Name = "stackPanel7";
this.stackPanel7.Size = new System.Drawing.Size(214, 32); this.stackPanel7.Size = new System.Drawing.Size(214, 32);
this.stackPanel7.TabIndex = 20; this.stackPanel7.TabIndex = 20;
@ -208,7 +141,7 @@
// //
this.stackPanel5.Controls.Add(this.input_gap); this.stackPanel5.Controls.Add(this.input_gap);
this.stackPanel5.Controls.Add(this.label3); this.stackPanel5.Controls.Add(this.label3);
this.stackPanel5.Location = new System.Drawing.Point(3, 41); this.stackPanel5.Location = new System.Drawing.Point(3, 3);
this.stackPanel5.Name = "stackPanel5"; this.stackPanel5.Name = "stackPanel5";
this.stackPanel5.Size = new System.Drawing.Size(214, 32); this.stackPanel5.Size = new System.Drawing.Size(214, 32);
this.stackPanel5.TabIndex = 19; this.stackPanel5.TabIndex = 19;
@ -238,25 +171,6 @@
this.label3.TabIndex = 4; this.label3.TabIndex = 4;
this.label3.Text = "Gap"; this.label3.Text = "Gap";
// //
// stackPanel6
//
this.stackPanel6.Controls.Add(this.switch_autoscroll);
this.stackPanel6.Controls.Add(this.label4);
this.stackPanel6.Location = new System.Drawing.Point(3, 3);
this.stackPanel6.Name = "stackPanel6";
this.stackPanel6.Size = new System.Drawing.Size(214, 32);
this.stackPanel6.TabIndex = 12;
this.stackPanel6.Text = "stackPanel6";
//
// 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, 3);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(88, 26);
this.label4.TabIndex = 4;
this.label4.Text = "AutoScroll";
//
// divider1 // divider1
// //
this.divider1.Location = new System.Drawing.Point(3, 79); this.divider1.Location = new System.Drawing.Point(3, 79);
@ -282,15 +196,48 @@
this.label1.TabIndex = 8; this.label1.TabIndex = 8;
this.label1.Text = "StackPanel 堆叠布局"; this.label1.Text = "StackPanel 堆叠布局";
// //
// switch_autoscroll // buttonCZ
// //
this.switch_autoscroll.AutoCheck = true; this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.switch_autoscroll.Location = new System.Drawing.Point(97, 3); this.buttonCZ.Location = new System.Drawing.Point(3, 231);
this.switch_autoscroll.Name = "switch_autoscroll"; this.buttonCZ.Name = "buttonCZ";
this.switch_autoscroll.Size = new System.Drawing.Size(60, 26); this.buttonCZ.Size = new System.Drawing.Size(214, 32);
this.switch_autoscroll.TabIndex = 5; this.buttonCZ.TabIndex = 44;
this.switch_autoscroll.Text = "switch1"; this.buttonCZ.Text = "重 置";
this.switch_autoscroll.WaveSize = 0; this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
this.buttonCZ.WaveSize = 0;
//
// buttonDEL
//
this.buttonDEL.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonDEL.Location = new System.Drawing.Point(3, 193);
this.buttonDEL.Name = "buttonDEL";
this.buttonDEL.Size = new System.Drawing.Size(214, 32);
this.buttonDEL.TabIndex = 43;
this.buttonDEL.Text = "删除 Button";
this.buttonDEL.Type = AntdUI.TTypeMini.Error;
this.buttonDEL.WaveSize = 0;
//
// buttonADD
//
this.buttonADD.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonADD.Location = new System.Drawing.Point(3, 155);
this.buttonADD.Name = "buttonADD";
this.buttonADD.Size = new System.Drawing.Size(214, 32);
this.buttonADD.TabIndex = 42;
this.buttonADD.Text = "添加 Button";
this.buttonADD.Type = AntdUI.TTypeMini.Info;
this.buttonADD.WaveSize = 0;
//
// stackPanel8
//
this.stackPanel8.Controls.Add(this.switch_vertical);
this.stackPanel8.Controls.Add(this.label6);
this.stackPanel8.Location = new System.Drawing.Point(3, 117);
this.stackPanel8.Name = "stackPanel8";
this.stackPanel8.Size = new System.Drawing.Size(214, 32);
this.stackPanel8.TabIndex = 41;
this.stackPanel8.Text = "stackPanel8";
// //
// switch_vertical // switch_vertical
// //
@ -303,6 +250,44 @@
this.switch_vertical.Text = "switch1"; this.switch_vertical.Text = "switch1";
this.switch_vertical.WaveSize = 0; this.switch_vertical.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, 3);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(88, 26);
this.label6.TabIndex = 4;
this.label6.Text = "Vertical";
//
// stackPanel6
//
this.stackPanel6.Controls.Add(this.switch_autoscroll);
this.stackPanel6.Controls.Add(this.label4);
this.stackPanel6.Location = new System.Drawing.Point(3, 79);
this.stackPanel6.Name = "stackPanel6";
this.stackPanel6.Size = new System.Drawing.Size(214, 32);
this.stackPanel6.TabIndex = 40;
this.stackPanel6.Text = "stackPanel6";
//
// switch_autoscroll
//
this.switch_autoscroll.AutoCheck = true;
this.switch_autoscroll.Location = new System.Drawing.Point(97, 3);
this.switch_autoscroll.Name = "switch_autoscroll";
this.switch_autoscroll.Size = new System.Drawing.Size(60, 26);
this.switch_autoscroll.TabIndex = 5;
this.switch_autoscroll.Text = "switch1";
this.switch_autoscroll.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, 3);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(88, 26);
this.label4.TabIndex = 4;
this.label4.Text = "AutoScroll";
//
// StackPanelDemo // StackPanelDemo
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@ -313,9 +298,9 @@
this.stackPanel1.ResumeLayout(false); this.stackPanel1.ResumeLayout(false);
this.stackPanel2.ResumeLayout(false); this.stackPanel2.ResumeLayout(false);
this.stackPanel3.ResumeLayout(false); this.stackPanel3.ResumeLayout(false);
this.stackPanel8.ResumeLayout(false);
this.stackPanel7.ResumeLayout(false); this.stackPanel7.ResumeLayout(false);
this.stackPanel5.ResumeLayout(false); this.stackPanel5.ResumeLayout(false);
this.stackPanel8.ResumeLayout(false);
this.stackPanel6.ResumeLayout(false); this.stackPanel6.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
@ -330,20 +315,20 @@
private AntdUI.StackPanel stackPanel2; private AntdUI.StackPanel stackPanel2;
private AntdUI.StackPanel stackPanel; private AntdUI.StackPanel stackPanel;
private AntdUI.StackPanel stackPanel3; private AntdUI.StackPanel stackPanel3;
private AntdUI.StackPanel stackPanel6;
private AntdUI.Label label4;
private AntdUI.StackPanel stackPanel5; private AntdUI.StackPanel stackPanel5;
private AntdUI.InputNumber input_gap; private AntdUI.InputNumber input_gap;
private AntdUI.Label label3; private AntdUI.Label label3;
private AntdUI.StackPanel stackPanel8;
private AntdUI.Label label6;
private AntdUI.StackPanel stackPanel7; private AntdUI.StackPanel stackPanel7;
private AntdUI.Label label5; private AntdUI.Label label5;
private AntdUI.Button buttonDEL;
private AntdUI.Button buttonADD;
private AntdUI.Input input_itemsize; private AntdUI.Input input_itemsize;
private AntdUI.Button buttonCZ; private AntdUI.Button buttonCZ;
private AntdUI.Button buttonDEL;
private AntdUI.Button buttonADD;
private AntdUI.StackPanel stackPanel8;
private AntdUI.Switch switch_vertical; private AntdUI.Switch switch_vertical;
private AntdUI.Label label6;
private AntdUI.StackPanel stackPanel6;
private AntdUI.Switch switch_autoscroll; private AntdUI.Switch switch_autoscroll;
private AntdUI.Label label4;
} }
} }