diff --git a/Controls/SystemSet.Designer.cs b/Controls/SystemSet.Designer.cs
new file mode 100644
index 0000000..a1c8cbd
--- /dev/null
+++ b/Controls/SystemSet.Designer.cs
@@ -0,0 +1,561 @@
+namespace AntdUIDemo.Controls
+{
+ partial class SystemSet
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ 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()
+ {
+ AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
+ this.tabs = new AntdUI.Tabs();
+ this.tabPage1 = new AntdUI.TabPage();
+ this.stackPanel1 = new AntdUI.StackPanel();
+ this.stackPanel5 = new AntdUI.StackPanel();
+ this.switch4 = new AntdUI.Switch();
+ this.label4 = new AntdUI.Label();
+ this.stackPanel4 = new AntdUI.StackPanel();
+ this.switch3 = new AntdUI.Switch();
+ this.label3 = new AntdUI.Label();
+ this.stackPanel3 = new AntdUI.StackPanel();
+ this.switch2 = new AntdUI.Switch();
+ this.label2 = new AntdUI.Label();
+ this.stackPanel2 = new AntdUI.StackPanel();
+ this.switch1 = new AntdUI.Switch();
+ this.label1 = new AntdUI.Label();
+ this.tabPage2 = new AntdUI.TabPage();
+ this.stackPanel6 = new AntdUI.StackPanel();
+ this.stackPanel8 = new AntdUI.StackPanel();
+ this.inputNumber1 = new AntdUI.InputNumber();
+ this.label6 = new AntdUI.Label();
+ this.stackPanel7 = new AntdUI.StackPanel();
+ this.switch5 = new AntdUI.Switch();
+ this.label5 = new AntdUI.Label();
+ this.tabPage3 = new AntdUI.TabPage();
+ this.stackPanel11 = new AntdUI.StackPanel();
+ this.stackPanel13 = new AntdUI.StackPanel();
+ this.inputNumber3 = new AntdUI.InputNumber();
+ this.label10 = new AntdUI.Label();
+ this.stackPanel12 = new AntdUI.StackPanel();
+ this.inputNumber2 = new AntdUI.InputNumber();
+ this.label9 = new AntdUI.Label();
+ this.stackPanel10 = new AntdUI.StackPanel();
+ this.select2 = new AntdUI.Select();
+ this.label8 = new AntdUI.Label();
+ this.stackPanel9 = new AntdUI.StackPanel();
+ this.select1 = new AntdUI.Select();
+ this.label7 = new AntdUI.Label();
+ this.tabs.SuspendLayout();
+ this.tabPage1.SuspendLayout();
+ this.stackPanel1.SuspendLayout();
+ this.stackPanel5.SuspendLayout();
+ this.stackPanel4.SuspendLayout();
+ this.stackPanel3.SuspendLayout();
+ this.stackPanel2.SuspendLayout();
+ this.tabPage2.SuspendLayout();
+ this.stackPanel6.SuspendLayout();
+ this.stackPanel8.SuspendLayout();
+ this.stackPanel7.SuspendLayout();
+ this.tabPage3.SuspendLayout();
+ this.stackPanel11.SuspendLayout();
+ this.stackPanel13.SuspendLayout();
+ this.stackPanel12.SuspendLayout();
+ this.stackPanel10.SuspendLayout();
+ this.stackPanel9.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // tabs
+ //
+ this.tabs.Alignment = System.Windows.Forms.TabAlignment.Left;
+ this.tabs.Cursor = System.Windows.Forms.Cursors.Default;
+ this.tabs.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabs.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
+ this.tabs.Gap = 12;
+ this.tabs.Location = new System.Drawing.Point(0, 0);
+ this.tabs.Name = "tabs";
+ this.tabs.Pages.Add(this.tabPage1);
+ this.tabs.Pages.Add(this.tabPage2);
+ this.tabs.Pages.Add(this.tabPage3);
+ this.tabs.Size = new System.Drawing.Size(620, 420);
+ this.tabs.Style = styleLine1;
+ this.tabs.TabIndex = 0;
+ this.tabs.Text = "tabs1";
+ //
+ // tabPage1
+ //
+ this.tabPage1.Controls.Add(this.stackPanel1);
+ this.tabPage1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabPage1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
+ this.tabPage1.Location = new System.Drawing.Point(87, 3);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Size = new System.Drawing.Size(530, 414);
+ this.tabPage1.TabIndex = 0;
+ this.tabPage1.Text = "基本设置";
+ //
+ // stackPanel1
+ //
+ this.stackPanel1.Controls.Add(this.stackPanel5);
+ this.stackPanel1.Controls.Add(this.stackPanel4);
+ this.stackPanel1.Controls.Add(this.stackPanel3);
+ this.stackPanel1.Controls.Add(this.stackPanel2);
+ 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(530, 414);
+ this.stackPanel1.TabIndex = 1;
+ this.stackPanel1.Text = "stackPanel1";
+ this.stackPanel1.Vertical = true;
+ //
+ // stackPanel5
+ //
+ this.stackPanel5.Controls.Add(this.switch4);
+ this.stackPanel5.Controls.Add(this.label4);
+ this.stackPanel5.Location = new System.Drawing.Point(3, 117);
+ this.stackPanel5.Name = "stackPanel5";
+ this.stackPanel5.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel5.TabIndex = 3;
+ this.stackPanel5.Text = "stackPanel5";
+ //
+ // switch4
+ //
+ this.switch4.AutoCheck = true;
+ this.switch4.CheckedText = "是";
+ this.switch4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.switch4.Location = new System.Drawing.Point(129, 3);
+ this.switch4.Name = "switch4";
+ this.switch4.Size = new System.Drawing.Size(75, 26);
+ this.switch4.TabIndex = 1;
+ this.switch4.Text = "switch4";
+ this.switch4.UnCheckedText = "否";
+ this.switch4.WaveSize = 0;
+ //
+ // label4
+ //
+ this.label4.Location = new System.Drawing.Point(3, 3);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(120, 26);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "隐藏滚动条";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel4
+ //
+ this.stackPanel4.Controls.Add(this.switch3);
+ this.stackPanel4.Controls.Add(this.label3);
+ this.stackPanel4.Location = new System.Drawing.Point(3, 79);
+ this.stackPanel4.Name = "stackPanel4";
+ this.stackPanel4.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel4.TabIndex = 2;
+ this.stackPanel4.Text = "stackPanel4";
+ //
+ // switch3
+ //
+ this.switch3.AutoCheck = true;
+ this.switch3.Checked = true;
+ this.switch3.CheckedText = "是";
+ this.switch3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.switch3.Location = new System.Drawing.Point(129, 3);
+ this.switch3.Name = "switch3";
+ this.switch3.Size = new System.Drawing.Size(75, 26);
+ this.switch3.TabIndex = 1;
+ this.switch3.Text = "switch3";
+ this.switch3.UnCheckedText = "否";
+ this.switch3.WaveSize = 0;
+ //
+ // label3
+ //
+ this.label3.Location = new System.Drawing.Point(3, 3);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(120, 26);
+ this.label3.TabIndex = 0;
+ this.label3.Text = "启用阴影";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel3
+ //
+ this.stackPanel3.Controls.Add(this.switch2);
+ this.stackPanel3.Controls.Add(this.label2);
+ this.stackPanel3.Location = new System.Drawing.Point(3, 41);
+ this.stackPanel3.Name = "stackPanel3";
+ this.stackPanel3.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel3.TabIndex = 1;
+ this.stackPanel3.Text = "stackPanel3";
+ //
+ // switch2
+ //
+ this.switch2.AutoCheck = true;
+ this.switch2.Checked = true;
+ this.switch2.CheckedText = "是";
+ this.switch2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.switch2.Location = new System.Drawing.Point(129, 3);
+ this.switch2.Name = "switch2";
+ this.switch2.Size = new System.Drawing.Size(75, 26);
+ this.switch2.TabIndex = 1;
+ this.switch2.Text = "switch2";
+ this.switch2.UnCheckedText = "否";
+ this.switch2.WaveSize = 0;
+ //
+ // label2
+ //
+ this.label2.Location = new System.Drawing.Point(3, 3);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(120, 26);
+ this.label2.TabIndex = 0;
+ this.label2.Text = "开启动画";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel2
+ //
+ this.stackPanel2.Controls.Add(this.switch1);
+ this.stackPanel2.Controls.Add(this.label1);
+ this.stackPanel2.Location = new System.Drawing.Point(3, 3);
+ this.stackPanel2.Name = "stackPanel2";
+ this.stackPanel2.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel2.TabIndex = 0;
+ this.stackPanel2.Text = "stackPanel2";
+ //
+ // switch1
+ //
+ this.switch1.AutoCheck = true;
+ this.switch1.Checked = true;
+ this.switch1.CheckedText = "浅色";
+ this.switch1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.switch1.Location = new System.Drawing.Point(129, 3);
+ this.switch1.Name = "switch1";
+ this.switch1.Size = new System.Drawing.Size(75, 26);
+ this.switch1.TabIndex = 1;
+ this.switch1.Text = "switch1";
+ this.switch1.UnCheckedText = "深色";
+ this.switch1.WaveSize = 0;
+ //
+ // label1
+ //
+ this.label1.Location = new System.Drawing.Point(3, 3);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(120, 26);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "色彩模式";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // tabPage2
+ //
+ this.tabPage2.Controls.Add(this.stackPanel6);
+ this.tabPage2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabPage2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.tabPage2.Location = new System.Drawing.Point(87, 3);
+ this.tabPage2.Name = "tabPage2";
+ this.tabPage2.Size = new System.Drawing.Size(482, 387);
+ this.tabPage2.TabIndex = 0;
+ this.tabPage2.Text = "消息配置";
+ //
+ // stackPanel6
+ //
+ this.stackPanel6.Controls.Add(this.stackPanel8);
+ this.stackPanel6.Controls.Add(this.stackPanel7);
+ this.stackPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.stackPanel6.Location = new System.Drawing.Point(0, 0);
+ this.stackPanel6.Name = "stackPanel6";
+ this.stackPanel6.Size = new System.Drawing.Size(482, 387);
+ this.stackPanel6.TabIndex = 0;
+ this.stackPanel6.Text = "stackPanel6";
+ this.stackPanel6.Vertical = true;
+ //
+ // stackPanel8
+ //
+ this.stackPanel8.Controls.Add(this.inputNumber1);
+ this.stackPanel8.Controls.Add(this.label6);
+ this.stackPanel8.Location = new System.Drawing.Point(3, 41);
+ this.stackPanel8.Name = "stackPanel8";
+ this.stackPanel8.Size = new System.Drawing.Size(476, 32);
+ this.stackPanel8.TabIndex = 5;
+ this.stackPanel8.Text = "stackPanel8";
+ //
+ // inputNumber1
+ //
+ this.inputNumber1.Location = new System.Drawing.Point(129, 3);
+ this.inputNumber1.Name = "inputNumber1";
+ this.inputNumber1.Size = new System.Drawing.Size(75, 26);
+ this.inputNumber1.TabIndex = 1;
+ this.inputNumber1.Text = "0";
+ this.inputNumber1.WaveSize = 0;
+ //
+ // label6
+ //
+ this.label6.Location = new System.Drawing.Point(3, 3);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(120, 26);
+ this.label6.TabIndex = 0;
+ this.label6.Text = "边界偏移量";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel7
+ //
+ this.stackPanel7.Controls.Add(this.switch5);
+ this.stackPanel7.Controls.Add(this.label5);
+ this.stackPanel7.Location = new System.Drawing.Point(3, 3);
+ this.stackPanel7.Name = "stackPanel7";
+ this.stackPanel7.Size = new System.Drawing.Size(476, 32);
+ this.stackPanel7.TabIndex = 4;
+ this.stackPanel7.Text = "stackPanel7";
+ //
+ // switch5
+ //
+ this.switch5.AutoCheck = true;
+ this.switch5.CheckedText = "是";
+ this.switch5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.switch5.Location = new System.Drawing.Point(129, 3);
+ this.switch5.Name = "switch5";
+ this.switch5.Size = new System.Drawing.Size(75, 26);
+ this.switch5.TabIndex = 1;
+ this.switch5.Text = "switch5";
+ this.switch5.UnCheckedText = "否";
+ this.switch5.WaveSize = 0;
+ //
+ // label5
+ //
+ this.label5.Location = new System.Drawing.Point(3, 3);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(120, 26);
+ this.label5.TabIndex = 0;
+ this.label5.Text = "窗口内弹出";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // tabPage3
+ //
+ this.tabPage3.Controls.Add(this.stackPanel11);
+ this.tabPage3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabPage3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
+ this.tabPage3.Location = new System.Drawing.Point(87, 3);
+ this.tabPage3.Name = "tabPage3";
+ this.tabPage3.Size = new System.Drawing.Size(530, 414);
+ this.tabPage3.TabIndex = 0;
+ this.tabPage3.Text = "文本设置";
+ //
+ // stackPanel11
+ //
+ this.stackPanel11.Controls.Add(this.stackPanel13);
+ this.stackPanel11.Controls.Add(this.stackPanel12);
+ this.stackPanel11.Controls.Add(this.stackPanel10);
+ this.stackPanel11.Controls.Add(this.stackPanel9);
+ this.stackPanel11.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.stackPanel11.Location = new System.Drawing.Point(0, 0);
+ this.stackPanel11.Name = "stackPanel11";
+ this.stackPanel11.Size = new System.Drawing.Size(530, 414);
+ this.stackPanel11.TabIndex = 0;
+ this.stackPanel11.Text = "stackPanel11";
+ this.stackPanel11.Vertical = true;
+ //
+ // stackPanel13
+ //
+ this.stackPanel13.Controls.Add(this.inputNumber3);
+ this.stackPanel13.Controls.Add(this.label10);
+ this.stackPanel13.Location = new System.Drawing.Point(3, 117);
+ this.stackPanel13.Name = "stackPanel13";
+ this.stackPanel13.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel13.TabIndex = 9;
+ this.stackPanel13.Text = "stackPanel13";
+ //
+ // inputNumber3
+ //
+ this.inputNumber3.DecimalPlaces = 2;
+ this.inputNumber3.Location = new System.Drawing.Point(129, 3);
+ this.inputNumber3.Name = "inputNumber3";
+ this.inputNumber3.Size = new System.Drawing.Size(100, 26);
+ this.inputNumber3.TabIndex = 1;
+ this.inputNumber3.Text = "1.00";
+ this.inputNumber3.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.inputNumber3.WaveSize = 0;
+ //
+ // label10
+ //
+ this.label10.Location = new System.Drawing.Point(3, 3);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(120, 26);
+ this.label10.TabIndex = 0;
+ this.label10.Text = "DPI";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel12
+ //
+ this.stackPanel12.Controls.Add(this.inputNumber2);
+ this.stackPanel12.Controls.Add(this.label9);
+ this.stackPanel12.Location = new System.Drawing.Point(3, 79);
+ this.stackPanel12.Name = "stackPanel12";
+ this.stackPanel12.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel12.TabIndex = 8;
+ this.stackPanel12.Text = "stackPanel12";
+ //
+ // inputNumber2
+ //
+ this.inputNumber2.Location = new System.Drawing.Point(129, 3);
+ this.inputNumber2.Name = "inputNumber2";
+ this.inputNumber2.Size = new System.Drawing.Size(100, 26);
+ this.inputNumber2.TabIndex = 1;
+ this.inputNumber2.Text = "9";
+ this.inputNumber2.Value = new decimal(new int[] {
+ 9,
+ 0,
+ 0,
+ 0});
+ this.inputNumber2.WaveSize = 0;
+ //
+ // label9
+ //
+ this.label9.Location = new System.Drawing.Point(3, 3);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(120, 26);
+ this.label9.TabIndex = 0;
+ this.label9.Text = "字体大小";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel10
+ //
+ this.stackPanel10.Controls.Add(this.select2);
+ this.stackPanel10.Controls.Add(this.label8);
+ this.stackPanel10.Location = new System.Drawing.Point(3, 41);
+ this.stackPanel10.Name = "stackPanel10";
+ this.stackPanel10.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel10.TabIndex = 7;
+ this.stackPanel10.Text = "stackPanel10";
+ //
+ // select2
+ //
+ this.select2.List = true;
+ this.select2.Location = new System.Drawing.Point(129, 3);
+ this.select2.Name = "select2";
+ this.select2.Size = new System.Drawing.Size(100, 26);
+ this.select2.TabIndex = 1;
+ this.select2.WaveSize = 0;
+ //
+ // label8
+ //
+ this.label8.Location = new System.Drawing.Point(3, 3);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(120, 26);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "默认字体";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // stackPanel9
+ //
+ this.stackPanel9.Controls.Add(this.select1);
+ this.stackPanel9.Controls.Add(this.label7);
+ this.stackPanel9.Location = new System.Drawing.Point(3, 3);
+ this.stackPanel9.Name = "stackPanel9";
+ this.stackPanel9.Size = new System.Drawing.Size(524, 32);
+ this.stackPanel9.TabIndex = 6;
+ this.stackPanel9.Text = "stackPanel9";
+ //
+ // select1
+ //
+ this.select1.List = true;
+ this.select1.Location = new System.Drawing.Point(129, 3);
+ this.select1.Name = "select1";
+ this.select1.Size = new System.Drawing.Size(100, 26);
+ this.select1.TabIndex = 1;
+ this.select1.WaveSize = 0;
+ //
+ // label7
+ //
+ this.label7.Location = new System.Drawing.Point(3, 3);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(120, 26);
+ this.label7.TabIndex = 0;
+ this.label7.Text = "文本质量";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // SystemSet
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.tabs);
+ this.Margin = new System.Windows.Forms.Padding(2);
+ this.Name = "SystemSet";
+ this.Size = new System.Drawing.Size(620, 420);
+ this.tabs.ResumeLayout(false);
+ this.tabPage1.ResumeLayout(false);
+ this.stackPanel1.ResumeLayout(false);
+ this.stackPanel5.ResumeLayout(false);
+ this.stackPanel4.ResumeLayout(false);
+ this.stackPanel3.ResumeLayout(false);
+ this.stackPanel2.ResumeLayout(false);
+ this.tabPage2.ResumeLayout(false);
+ this.stackPanel6.ResumeLayout(false);
+ this.stackPanel8.ResumeLayout(false);
+ this.stackPanel7.ResumeLayout(false);
+ this.tabPage3.ResumeLayout(false);
+ this.stackPanel11.ResumeLayout(false);
+ this.stackPanel13.ResumeLayout(false);
+ this.stackPanel12.ResumeLayout(false);
+ this.stackPanel10.ResumeLayout(false);
+ this.stackPanel9.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AntdUI.Tabs tabs;
+ private AntdUI.TabPage tabPage1;
+ private AntdUI.TabPage tabPage2;
+ private AntdUI.StackPanel stackPanel1;
+ private AntdUI.StackPanel stackPanel5;
+ private AntdUI.Switch switch4;
+ private AntdUI.Label label4;
+ private AntdUI.StackPanel stackPanel4;
+ private AntdUI.Switch switch3;
+ private AntdUI.Label label3;
+ private AntdUI.StackPanel stackPanel3;
+ private AntdUI.Switch switch2;
+ private AntdUI.Label label2;
+ private AntdUI.StackPanel stackPanel2;
+ private AntdUI.Switch switch1;
+ private AntdUI.Label label1;
+ private AntdUI.StackPanel stackPanel6;
+ private AntdUI.StackPanel stackPanel7;
+ private AntdUI.Switch switch5;
+ private AntdUI.Label label5;
+ private AntdUI.StackPanel stackPanel8;
+ private AntdUI.Label label6;
+ private AntdUI.InputNumber inputNumber1;
+ private AntdUI.TabPage tabPage3;
+ private AntdUI.StackPanel stackPanel11;
+ private AntdUI.StackPanel stackPanel10;
+ private AntdUI.Select select2;
+ private AntdUI.Label label8;
+ private AntdUI.StackPanel stackPanel9;
+ private AntdUI.Select select1;
+ private AntdUI.Label label7;
+ private AntdUI.StackPanel stackPanel12;
+ private AntdUI.InputNumber inputNumber2;
+ private AntdUI.Label label9;
+ private AntdUI.StackPanel stackPanel13;
+ private AntdUI.Label label10;
+ private AntdUI.InputNumber inputNumber3;
+ }
+}
diff --git a/Controls/SystemSet.cs b/Controls/SystemSet.cs
new file mode 100644
index 0000000..456c25d
--- /dev/null
+++ b/Controls/SystemSet.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AntdUIDemo.Controls
+{
+ public partial class SystemSet : UserControl
+ {
+ public SystemSet()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Controls/SystemSet.resx b/Controls/SystemSet.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Controls/SystemSet.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainWindow.Designer.cs b/MainWindow.Designer.cs
index 520a564..01fba0b 100644
--- a/MainWindow.Designer.cs
+++ b/MainWindow.Designer.cs
@@ -30,16 +30,16 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
this.titlebar = new AntdUI.WindowBar();
+ this.buttonSZ = new AntdUI.Button();
this.divider = new AntdUI.Divider();
this.menu = new AntdUI.Menu();
this.panel_content = new AntdUI.StackPanel();
- this.button1 = new AntdUI.Button();
this.titlebar.SuspendLayout();
this.SuspendLayout();
//
// titlebar
//
- this.titlebar.Controls.Add(this.button1);
+ this.titlebar.Controls.Add(this.buttonSZ);
this.titlebar.Dock = System.Windows.Forms.DockStyle.Top;
this.titlebar.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.titlebar.Location = new System.Drawing.Point(6, 0);
@@ -50,6 +50,18 @@
this.titlebar.TabIndex = 0;
this.titlebar.Text = "AntdUI";
//
+ // buttonSZ
+ //
+ this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right;
+ this.buttonSZ.Ghost = true;
+ this.buttonSZ.ImageSvg = resources.GetString("buttonSZ.ImageSvg");
+ this.buttonSZ.Location = new System.Drawing.Point(856, 0);
+ this.buttonSZ.Name = "buttonSZ";
+ this.buttonSZ.Radius = 0;
+ this.buttonSZ.Size = new System.Drawing.Size(50, 40);
+ this.buttonSZ.TabIndex = 0;
+ this.buttonSZ.WaveSize = 0;
+ //
// divider
//
this.divider.Dock = System.Windows.Forms.DockStyle.Top;
@@ -80,18 +92,6 @@
this.panel_content.TabIndex = 10;
this.panel_content.Vertical = true;
//
- // button1
- //
- this.button1.Dock = System.Windows.Forms.DockStyle.Right;
- this.button1.Ghost = true;
- this.button1.ImageSvg = resources.GetString("button1.ImageSvg");
- this.button1.Location = new System.Drawing.Point(832, 0);
- this.button1.Name = "button1";
- this.button1.Radius = 0;
- this.button1.Size = new System.Drawing.Size(50, 40);
- this.button1.TabIndex = 0;
- this.button1.WaveSize = 0;
- //
// MainWindow
//
this.ClientSize = new System.Drawing.Size(1008, 624);
@@ -118,6 +118,6 @@
private AntdUI.Divider divider;
private AntdUI.Menu menu;
private AntdUI.StackPanel panel_content;
- private AntdUI.Button button1;
+ private AntdUI.Button buttonSZ;
}
}
\ No newline at end of file
diff --git a/MainWindow.cs b/MainWindow.cs
index a20bcc9..0134a63 100644
--- a/MainWindow.cs
+++ b/MainWindow.cs
@@ -1,5 +1,8 @@
-using AntdUIDemo.Models;
+using AntdUI;
+using AntdUIDemo.Controls;
+using AntdUIDemo.Models;
using AntdUIDemo.Views;
+using System;
using System.Windows.Forms;
namespace AntdUIDemo
@@ -13,9 +16,22 @@ namespace AntdUIDemo
AntdUI.Config.ShowInWindow = true;
//加载菜单
LoadMenu();
+ buttonSZ.Click += ButtonSZ_Click;
menu.SelectChanged += Menu_SelectChanged;
}
+ private void ButtonSZ_Click(object sender, EventArgs e)
+ {
+ using(var form = new SystemSet())
+ {
+ AntdUI.Modal.open(new AntdUI.Modal.Config(this,"系统设置", form, TType.Info)
+ {
+
+ });
+ }
+
+ }
+
private void LoadMenu()
{
menu.Items.Clear();
diff --git a/MainWindow.resx b/MainWindow.resx
index f7dc91b..5e182fe 100644
--- a/MainWindow.resx
+++ b/MainWindow.resx
@@ -117,7 +117,7 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 4L18 10H10V18L4 24L10 30V38H18L24 44L30 38H38V30L44 24L38 18V10H30L24 4Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"/><path d="M24 30C27.3137 30 30 27.3137 30 24C30 20.6863 27.3137 18 24 18C20.6863 18 18 20.6863 18 24C18 27.3137 20.6863 30 24 30Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"/></svg>