新增Menu
This commit is contained in:
parent
60d337ed68
commit
28eb16f2b5
@ -161,6 +161,9 @@ namespace AntdUIDemo
|
||||
case "Dropdown":
|
||||
control = new DropDownDemo();
|
||||
break;
|
||||
case "Menu":
|
||||
control = new MenuDemo();
|
||||
break;
|
||||
}
|
||||
if (control != null)
|
||||
{
|
||||
|
||||
4
Views/DropDownDemo.Designer.cs
generated
4
Views/DropDownDemo.Designer.cs
generated
@ -148,7 +148,7 @@
|
||||
this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.stackPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.stackPanel1.Name = "stackPanel1";
|
||||
this.stackPanel1.Size = new System.Drawing.Size(700, 806);
|
||||
this.stackPanel1.Size = new System.Drawing.Size(700, 730);
|
||||
this.stackPanel1.TabIndex = 0;
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
@ -640,7 +640,7 @@
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.Controls.Add(this.stackPanel1);
|
||||
this.Name = "DropDownDemo";
|
||||
this.Size = new System.Drawing.Size(700, 806);
|
||||
this.Size = new System.Drawing.Size(700, 730);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.flowPanel6.ResumeLayout(false);
|
||||
this.flowPanel5.ResumeLayout(false);
|
||||
|
||||
96
Views/FloatButtonDemo.Designer.cs
generated
96
Views/FloatButtonDemo.Designer.cs
generated
@ -29,6 +29,9 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.buttonClose = new AntdUI.Button();
|
||||
this.stackPanel6 = new AntdUI.StackPanel();
|
||||
this.colorPicker = new AntdUI.ColorPicker();
|
||||
this.label16 = new AntdUI.Label();
|
||||
@ -63,15 +66,12 @@
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.buttonClose = new AntdUI.Button();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel6.SuspendLayout();
|
||||
this.stackPanel5.SuspendLayout();
|
||||
this.stackPanel4.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
@ -95,6 +95,38 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
this.stackPanel2.Controls.Add(this.buttonCZ);
|
||||
this.stackPanel2.Controls.Add(this.buttonClose);
|
||||
this.stackPanel2.Location = new System.Drawing.Point(3, 339);
|
||||
this.stackPanel2.Name = "stackPanel2";
|
||||
this.stackPanel2.Size = new System.Drawing.Size(694, 38);
|
||||
this.stackPanel2.TabIndex = 21;
|
||||
this.stackPanel2.Text = "stackPanel2";
|
||||
//
|
||||
// buttonCZ
|
||||
//
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonCZ.Location = new System.Drawing.Point(84, 3);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(75, 32);
|
||||
this.buttonCZ.TabIndex = 4;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
this.buttonCZ.WaveSize = 0;
|
||||
//
|
||||
// buttonClose
|
||||
//
|
||||
this.buttonClose.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonClose.Location = new System.Drawing.Point(3, 3);
|
||||
this.buttonClose.Name = "buttonClose";
|
||||
this.buttonClose.Size = new System.Drawing.Size(75, 32);
|
||||
this.buttonClose.TabIndex = 3;
|
||||
this.buttonClose.Text = "关 闭";
|
||||
this.buttonClose.Type = AntdUI.TTypeMini.Error;
|
||||
this.buttonClose.WaveSize = 0;
|
||||
//
|
||||
// stackPanel6
|
||||
//
|
||||
this.stackPanel6.Controls.Add(this.colorPicker);
|
||||
@ -141,7 +173,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_badgesize.WaveSize = 1;
|
||||
this.input_badgesize.WaveSize = 0;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
@ -158,7 +190,7 @@
|
||||
this.input_badge.Name = "input_badge";
|
||||
this.input_badge.Size = new System.Drawing.Size(90, 26);
|
||||
this.input_badge.TabIndex = 5;
|
||||
this.input_badge.WaveSize = 1;
|
||||
this.input_badge.WaveSize = 0;
|
||||
//
|
||||
// label17
|
||||
//
|
||||
@ -195,7 +227,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_radius.WaveSize = 1;
|
||||
this.input_radius.WaveSize = 0;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
@ -214,7 +246,7 @@
|
||||
this.select_type.Name = "select_type";
|
||||
this.select_type.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_type.TabIndex = 9;
|
||||
this.select_type.WaveSize = 1;
|
||||
this.select_type.WaveSize = 0;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
@ -239,7 +271,7 @@
|
||||
this.select_round.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_round.TabIndex = 5;
|
||||
this.select_round.Text = "False";
|
||||
this.select_round.WaveSize = 1;
|
||||
this.select_round.WaveSize = 0;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
@ -285,7 +317,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_my.WaveSize = 1;
|
||||
this.input_my.WaveSize = 0;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
@ -308,7 +340,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_mx.WaveSize = 1;
|
||||
this.input_mx.WaveSize = 0;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
@ -331,7 +363,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_size.WaveSize = 1;
|
||||
this.input_size.WaveSize = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
@ -370,7 +402,7 @@
|
||||
this.select_vertical.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_vertical.TabIndex = 11;
|
||||
this.select_vertical.Text = "True";
|
||||
this.select_vertical.WaveSize = 1;
|
||||
this.select_vertical.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@ -394,7 +426,7 @@
|
||||
this.select_topmost.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_topmost.TabIndex = 9;
|
||||
this.select_topmost.Text = "True";
|
||||
this.select_topmost.WaveSize = 1;
|
||||
this.select_topmost.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@ -413,7 +445,7 @@
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_align.TabIndex = 5;
|
||||
this.select_align.WaveSize = 1;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
@ -467,38 +499,6 @@
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "FloatButton 悬浮按钮";
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
this.stackPanel2.Controls.Add(this.buttonCZ);
|
||||
this.stackPanel2.Controls.Add(this.buttonClose);
|
||||
this.stackPanel2.Location = new System.Drawing.Point(3, 339);
|
||||
this.stackPanel2.Name = "stackPanel2";
|
||||
this.stackPanel2.Size = new System.Drawing.Size(694, 38);
|
||||
this.stackPanel2.TabIndex = 21;
|
||||
this.stackPanel2.Text = "stackPanel2";
|
||||
//
|
||||
// buttonCZ
|
||||
//
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonCZ.Location = new System.Drawing.Point(84, 3);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(75, 32);
|
||||
this.buttonCZ.TabIndex = 4;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
this.buttonCZ.WaveSize = 0;
|
||||
//
|
||||
// buttonClose
|
||||
//
|
||||
this.buttonClose.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonClose.Location = new System.Drawing.Point(3, 3);
|
||||
this.buttonClose.Name = "buttonClose";
|
||||
this.buttonClose.Size = new System.Drawing.Size(75, 32);
|
||||
this.buttonClose.TabIndex = 3;
|
||||
this.buttonClose.Text = "关 闭";
|
||||
this.buttonClose.Type = AntdUI.TTypeMini.Error;
|
||||
this.buttonClose.WaveSize = 0;
|
||||
//
|
||||
// FloatButtonDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
@ -507,11 +507,11 @@
|
||||
this.Size = new System.Drawing.Size(700, 434);
|
||||
this.Load += new System.EventHandler(this.FloatButtonDemo_Load);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
this.stackPanel6.ResumeLayout(false);
|
||||
this.stackPanel5.ResumeLayout(false);
|
||||
this.stackPanel4.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
30
Views/FlowPanelDemo.Designer.cs
generated
30
Views/FlowPanelDemo.Designer.cs
generated
@ -32,6 +32,7 @@
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.flowPanel = new AntdUI.FlowPanel();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.buttonDEL = new AntdUI.Button();
|
||||
this.buttonADD = new AntdUI.Button();
|
||||
this.stackPanel6 = new AntdUI.StackPanel();
|
||||
@ -46,7 +47,6 @@
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
@ -102,6 +102,17 @@
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
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.Location = new System.Drawing.Point(3, 193);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(274, 32);
|
||||
this.buttonCZ.TabIndex = 37;
|
||||
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)));
|
||||
@ -148,7 +159,7 @@
|
||||
this.select_autoscroll.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_autoscroll.TabIndex = 11;
|
||||
this.select_autoscroll.Text = "False";
|
||||
this.select_autoscroll.WaveSize = 1;
|
||||
this.select_autoscroll.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
@ -177,7 +188,7 @@
|
||||
this.input_gap.Size = new System.Drawing.Size(175, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "0";
|
||||
this.input_gap.WaveSize = 1;
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@ -206,7 +217,7 @@
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_align.TabIndex = 11;
|
||||
this.select_align.WaveSize = 1;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
@ -242,17 +253,6 @@
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "FlowPanel 流动布局";
|
||||
//
|
||||
// buttonCZ
|
||||
//
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonCZ.Location = new System.Drawing.Point(3, 193);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(274, 32);
|
||||
this.buttonCZ.TabIndex = 37;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
this.buttonCZ.WaveSize = 0;
|
||||
//
|
||||
// FlowPanelDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
|
||||
2
Views/GridPanelDemo.Designer.cs
generated
2
Views/GridPanelDemo.Designer.cs
generated
@ -122,7 +122,7 @@
|
||||
this.input_gap.Size = new System.Drawing.Size(175, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "0";
|
||||
this.input_gap.WaveSize = 1;
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
|
||||
740
Views/MenuDemo.Designer.cs
generated
Normal file
740
Views/MenuDemo.Designer.cs
generated
Normal file
@ -0,0 +1,740 @@
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
partial class MenuDemo
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.MenuItem menuItem1 = new AntdUI.MenuItem();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MenuDemo));
|
||||
AntdUI.MenuItem menuItem2 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem3 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem4 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem5 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem6 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem7 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem8 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem9 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem10 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem11 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem12 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem13 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem14 = new AntdUI.MenuItem();
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.menu = new AntdUI.Menu();
|
||||
this.divider2 = new AntdUI.Divider();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.stackPanel14 = new AntdUI.StackPanel();
|
||||
this.colorPicker_backactive = new AntdUI.ColorPicker();
|
||||
this.label13 = new AntdUI.Label();
|
||||
this.stackPanel13 = new AntdUI.StackPanel();
|
||||
this.colorPicker_backhover = new AntdUI.ColorPicker();
|
||||
this.label12 = new AntdUI.Label();
|
||||
this.stackPanel16 = new AntdUI.StackPanel();
|
||||
this.colorPicker_foreactive = new AntdUI.ColorPicker();
|
||||
this.label14 = new AntdUI.Label();
|
||||
this.stackPanel12 = new AntdUI.StackPanel();
|
||||
this.colorPicker_forecolor = new AntdUI.ColorPicker();
|
||||
this.label11 = new AntdUI.Label();
|
||||
this.stackPanel11 = new AntdUI.StackPanel();
|
||||
this.select_unique = new AntdUI.Select();
|
||||
this.label9 = new AntdUI.Label();
|
||||
this.stackPanel10 = new AntdUI.StackPanel();
|
||||
this.select_showsubback = new AntdUI.Select();
|
||||
this.label8 = new AntdUI.Label();
|
||||
this.stackPanel9 = new AntdUI.StackPanel();
|
||||
this.select_round = new AntdUI.Select();
|
||||
this.label7 = new AntdUI.Label();
|
||||
this.stackPanel8 = new AntdUI.StackPanel();
|
||||
this.input_radius = new AntdUI.InputNumber();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.stackPanel7 = new AntdUI.StackPanel();
|
||||
this.select_mode = new AntdUI.Select();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.stackPanel6 = new AntdUI.StackPanel();
|
||||
this.select_indent = new AntdUI.Select();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.stackPanel5 = new AntdUI.StackPanel();
|
||||
this.select_collapsed = new AntdUI.Select();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.stackPanel4 = new AntdUI.StackPanel();
|
||||
this.select_autocollapse = new AntdUI.Select();
|
||||
this.label10 = new AntdUI.Label();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.stackPanel14.SuspendLayout();
|
||||
this.stackPanel13.SuspendLayout();
|
||||
this.stackPanel16.SuspendLayout();
|
||||
this.stackPanel12.SuspendLayout();
|
||||
this.stackPanel11.SuspendLayout();
|
||||
this.stackPanel10.SuspendLayout();
|
||||
this.stackPanel9.SuspendLayout();
|
||||
this.stackPanel8.SuspendLayout();
|
||||
this.stackPanel7.SuspendLayout();
|
||||
this.stackPanel6.SuspendLayout();
|
||||
this.stackPanel5.SuspendLayout();
|
||||
this.stackPanel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
//
|
||||
this.stackPanel1.Controls.Add(this.stackPanel2);
|
||||
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, 585);
|
||||
this.stackPanel1.TabIndex = 0;
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// 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 = 2;
|
||||
this.label1.Text = "Menu 导航菜单";
|
||||
//
|
||||
// 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 = 3;
|
||||
this.label2.Text = "为页面和功能提供导航的菜单列表。";
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 79);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 2);
|
||||
this.divider1.TabIndex = 4;
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
this.stackPanel2.Controls.Add(this.menu);
|
||||
this.stackPanel2.Controls.Add(this.divider2);
|
||||
this.stackPanel2.Controls.Add(this.stackPanel3);
|
||||
this.stackPanel2.Location = new System.Drawing.Point(3, 87);
|
||||
this.stackPanel2.Name = "stackPanel2";
|
||||
this.stackPanel2.Size = new System.Drawing.Size(694, 498);
|
||||
this.stackPanel2.TabIndex = 5;
|
||||
this.stackPanel2.Text = "stackPanel2";
|
||||
//
|
||||
// menu
|
||||
//
|
||||
menuItem1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
menuItem1.IconSvg = resources.GetString("menuItem1.IconSvg");
|
||||
menuItem1.PARENTITEM = null;
|
||||
menuItem1.Select = false;
|
||||
menuItem2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
menuItem2.PARENTITEM = menuItem1;
|
||||
menuItem2.Select = false;
|
||||
menuItem2.Text = "SVG可以变色";
|
||||
menuItem3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem3.PARENTITEM = menuItem1;
|
||||
menuItem3.Select = false;
|
||||
menuItem3.Text = "如果变不了";
|
||||
menuItem4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem4.PARENTITEM = menuItem1;
|
||||
menuItem4.Select = false;
|
||||
menuItem4.Text = "调整svg内容";
|
||||
menuItem1.Sub.Add(menuItem2);
|
||||
menuItem1.Sub.Add(menuItem3);
|
||||
menuItem1.Sub.Add(menuItem4);
|
||||
menuItem1.Text = "SVG图标菜单";
|
||||
menuItem5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
menuItem5.Icon = global::AntdUIDemo.Properties.Resources.关闭;
|
||||
menuItem5.PARENTITEM = null;
|
||||
menuItem5.Select = false;
|
||||
menuItem6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem6.PARENTITEM = menuItem5;
|
||||
menuItem6.Select = false;
|
||||
menuItem6.Text = "不能变色";
|
||||
menuItem7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem7.PARENTITEM = menuItem5;
|
||||
menuItem7.Select = false;
|
||||
menuItem7.Text = "不适合使用黑白";
|
||||
menuItem8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem8.PARENTITEM = menuItem5;
|
||||
menuItem8.Select = false;
|
||||
menuItem8.Text = "子菜单";
|
||||
menuItem5.Sub.Add(menuItem6);
|
||||
menuItem5.Sub.Add(menuItem7);
|
||||
menuItem5.Sub.Add(menuItem8);
|
||||
menuItem5.Text = "图片资源菜单";
|
||||
menuItem9.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
menuItem9.IconSvg = resources.GetString("menuItem9.IconSvg");
|
||||
menuItem9.PARENTITEM = null;
|
||||
menuItem9.Select = false;
|
||||
menuItem10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
menuItem10.PARENTITEM = menuItem9;
|
||||
menuItem10.Select = false;
|
||||
menuItem10.Text = "二级菜单";
|
||||
menuItem11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem11.PARENTITEM = menuItem9;
|
||||
menuItem11.Select = false;
|
||||
menuItem11.Text = "二级菜单";
|
||||
menuItem12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
menuItem12.PARENTITEM = menuItem9;
|
||||
menuItem12.Select = false;
|
||||
menuItem12.Text = "二级菜单";
|
||||
menuItem9.Sub.Add(menuItem10);
|
||||
menuItem9.Sub.Add(menuItem11);
|
||||
menuItem9.Sub.Add(menuItem12);
|
||||
menuItem9.Text = "一级菜单";
|
||||
menuItem13.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
menuItem13.IconSvg = resources.GetString("menuItem13.IconSvg");
|
||||
menuItem13.PARENTITEM = null;
|
||||
menuItem13.Select = false;
|
||||
menuItem13.Text = "一级菜单";
|
||||
menuItem14.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
menuItem14.IconSvg = resources.GetString("menuItem14.IconSvg");
|
||||
menuItem14.PARENTITEM = null;
|
||||
menuItem14.Select = false;
|
||||
menuItem14.Text = "一级菜单";
|
||||
this.menu.Items.Add(menuItem1);
|
||||
this.menu.Items.Add(menuItem5);
|
||||
this.menu.Items.Add(menuItem9);
|
||||
this.menu.Items.Add(menuItem13);
|
||||
this.menu.Items.Add(menuItem14);
|
||||
this.menu.Location = new System.Drawing.Point(351, 3);
|
||||
this.menu.Name = "menu";
|
||||
this.menu.Size = new System.Drawing.Size(244, 492);
|
||||
this.menu.TabIndex = 3;
|
||||
this.menu.Text = "menu1";
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
this.divider2.Location = new System.Drawing.Point(321, 3);
|
||||
this.divider2.Name = "divider2";
|
||||
this.divider2.Size = new System.Drawing.Size(24, 492);
|
||||
this.divider2.TabIndex = 2;
|
||||
this.divider2.Vertical = true;
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
this.stackPanel3.Controls.Add(this.buttonCZ);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel14);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel13);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel16);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel12);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel11);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel10);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel9);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel8);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel7);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel6);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel5);
|
||||
this.stackPanel3.Controls.Add(this.stackPanel4);
|
||||
this.stackPanel3.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel3.Name = "stackPanel3";
|
||||
this.stackPanel3.Size = new System.Drawing.Size(312, 492);
|
||||
this.stackPanel3.TabIndex = 0;
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
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.Location = new System.Drawing.Point(3, 459);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(306, 32);
|
||||
this.buttonCZ.TabIndex = 45;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
this.buttonCZ.WaveSize = 0;
|
||||
//
|
||||
// stackPanel14
|
||||
//
|
||||
this.stackPanel14.Controls.Add(this.colorPicker_backactive);
|
||||
this.stackPanel14.Controls.Add(this.label13);
|
||||
this.stackPanel14.Location = new System.Drawing.Point(3, 421);
|
||||
this.stackPanel14.Name = "stackPanel14";
|
||||
this.stackPanel14.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel14.TabIndex = 44;
|
||||
this.stackPanel14.Text = "stackPanel14";
|
||||
//
|
||||
// colorPicker_backactive
|
||||
//
|
||||
this.colorPicker_backactive.Location = new System.Drawing.Point(129, 3);
|
||||
this.colorPicker_backactive.Name = "colorPicker_backactive";
|
||||
this.colorPicker_backactive.Size = new System.Drawing.Size(175, 26);
|
||||
this.colorPicker_backactive.TabIndex = 5;
|
||||
this.colorPicker_backactive.Text = "colorPicker3";
|
||||
this.colorPicker_backactive.WaveSize = 0;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label13.Location = new System.Drawing.Point(3, 3);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(120, 26);
|
||||
this.label13.TabIndex = 4;
|
||||
this.label13.Text = "BackActive";
|
||||
//
|
||||
// stackPanel13
|
||||
//
|
||||
this.stackPanel13.Controls.Add(this.colorPicker_backhover);
|
||||
this.stackPanel13.Controls.Add(this.label12);
|
||||
this.stackPanel13.Location = new System.Drawing.Point(3, 383);
|
||||
this.stackPanel13.Name = "stackPanel13";
|
||||
this.stackPanel13.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel13.TabIndex = 43;
|
||||
this.stackPanel13.Text = "stackPanel13";
|
||||
//
|
||||
// colorPicker_backhover
|
||||
//
|
||||
this.colorPicker_backhover.Location = new System.Drawing.Point(129, 3);
|
||||
this.colorPicker_backhover.Name = "colorPicker_backhover";
|
||||
this.colorPicker_backhover.Size = new System.Drawing.Size(175, 26);
|
||||
this.colorPicker_backhover.TabIndex = 5;
|
||||
this.colorPicker_backhover.Text = "colorPicker2";
|
||||
this.colorPicker_backhover.WaveSize = 0;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label12.Location = new System.Drawing.Point(3, 3);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(120, 26);
|
||||
this.label12.TabIndex = 4;
|
||||
this.label12.Text = "BackHover";
|
||||
//
|
||||
// stackPanel16
|
||||
//
|
||||
this.stackPanel16.Controls.Add(this.colorPicker_foreactive);
|
||||
this.stackPanel16.Controls.Add(this.label14);
|
||||
this.stackPanel16.Location = new System.Drawing.Point(3, 345);
|
||||
this.stackPanel16.Name = "stackPanel16";
|
||||
this.stackPanel16.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel16.TabIndex = 42;
|
||||
this.stackPanel16.Text = "stackPanel16";
|
||||
//
|
||||
// colorPicker_foreactive
|
||||
//
|
||||
this.colorPicker_foreactive.Location = new System.Drawing.Point(129, 3);
|
||||
this.colorPicker_foreactive.Name = "colorPicker_foreactive";
|
||||
this.colorPicker_foreactive.Size = new System.Drawing.Size(175, 26);
|
||||
this.colorPicker_foreactive.TabIndex = 5;
|
||||
this.colorPicker_foreactive.Text = "colorPicker1";
|
||||
this.colorPicker_foreactive.WaveSize = 0;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label14.Location = new System.Drawing.Point(3, 3);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(120, 26);
|
||||
this.label14.TabIndex = 4;
|
||||
this.label14.Text = "ForeActive";
|
||||
//
|
||||
// stackPanel12
|
||||
//
|
||||
this.stackPanel12.Controls.Add(this.colorPicker_forecolor);
|
||||
this.stackPanel12.Controls.Add(this.label11);
|
||||
this.stackPanel12.Location = new System.Drawing.Point(3, 307);
|
||||
this.stackPanel12.Name = "stackPanel12";
|
||||
this.stackPanel12.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel12.TabIndex = 41;
|
||||
this.stackPanel12.Text = "stackPanel12";
|
||||
//
|
||||
// colorPicker_forecolor
|
||||
//
|
||||
this.colorPicker_forecolor.Location = new System.Drawing.Point(129, 3);
|
||||
this.colorPicker_forecolor.Name = "colorPicker_forecolor";
|
||||
this.colorPicker_forecolor.Size = new System.Drawing.Size(175, 26);
|
||||
this.colorPicker_forecolor.TabIndex = 5;
|
||||
this.colorPicker_forecolor.Text = "colorPicker1";
|
||||
this.colorPicker_forecolor.WaveSize = 0;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
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, 3);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(120, 26);
|
||||
this.label11.TabIndex = 4;
|
||||
this.label11.Text = "ForeColor";
|
||||
//
|
||||
// stackPanel11
|
||||
//
|
||||
this.stackPanel11.Controls.Add(this.select_unique);
|
||||
this.stackPanel11.Controls.Add(this.label9);
|
||||
this.stackPanel11.Location = new System.Drawing.Point(3, 269);
|
||||
this.stackPanel11.Name = "stackPanel11";
|
||||
this.stackPanel11.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel11.TabIndex = 17;
|
||||
this.stackPanel11.Text = "stackPanel11";
|
||||
//
|
||||
// select_unique
|
||||
//
|
||||
this.select_unique.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_unique.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_unique.List = true;
|
||||
this.select_unique.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_unique.Name = "select_unique";
|
||||
this.select_unique.SelectedIndex = 1;
|
||||
this.select_unique.SelectedValue = "False";
|
||||
this.select_unique.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_unique.TabIndex = 11;
|
||||
this.select_unique.Text = "False";
|
||||
this.select_unique.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, 3);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(120, 26);
|
||||
this.label9.TabIndex = 4;
|
||||
this.label9.Text = "Unique";
|
||||
//
|
||||
// stackPanel10
|
||||
//
|
||||
this.stackPanel10.Controls.Add(this.select_showsubback);
|
||||
this.stackPanel10.Controls.Add(this.label8);
|
||||
this.stackPanel10.Location = new System.Drawing.Point(3, 231);
|
||||
this.stackPanel10.Name = "stackPanel10";
|
||||
this.stackPanel10.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel10.TabIndex = 16;
|
||||
this.stackPanel10.Text = "stackPanel10";
|
||||
//
|
||||
// select_showsubback
|
||||
//
|
||||
this.select_showsubback.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_showsubback.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_showsubback.List = true;
|
||||
this.select_showsubback.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_showsubback.Name = "select_showsubback";
|
||||
this.select_showsubback.SelectedIndex = 1;
|
||||
this.select_showsubback.SelectedValue = "False";
|
||||
this.select_showsubback.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_showsubback.TabIndex = 11;
|
||||
this.select_showsubback.Text = "False";
|
||||
this.select_showsubback.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, 3);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(120, 26);
|
||||
this.label8.TabIndex = 4;
|
||||
this.label8.Text = "ShowSubBack";
|
||||
//
|
||||
// stackPanel9
|
||||
//
|
||||
this.stackPanel9.Controls.Add(this.select_round);
|
||||
this.stackPanel9.Controls.Add(this.label7);
|
||||
this.stackPanel9.Location = new System.Drawing.Point(3, 193);
|
||||
this.stackPanel9.Name = "stackPanel9";
|
||||
this.stackPanel9.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel9.TabIndex = 15;
|
||||
this.stackPanel9.Text = "stackPanel9";
|
||||
//
|
||||
// select_round
|
||||
//
|
||||
this.select_round.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_round.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_round.List = true;
|
||||
this.select_round.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_round.Name = "select_round";
|
||||
this.select_round.SelectedIndex = 1;
|
||||
this.select_round.SelectedValue = "False";
|
||||
this.select_round.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_round.TabIndex = 11;
|
||||
this.select_round.Text = "False";
|
||||
this.select_round.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, 3);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(120, 26);
|
||||
this.label7.TabIndex = 4;
|
||||
this.label7.Text = "Round";
|
||||
//
|
||||
// stackPanel8
|
||||
//
|
||||
this.stackPanel8.Controls.Add(this.input_radius);
|
||||
this.stackPanel8.Controls.Add(this.label6);
|
||||
this.stackPanel8.Location = new System.Drawing.Point(3, 155);
|
||||
this.stackPanel8.Name = "stackPanel8";
|
||||
this.stackPanel8.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel8.TabIndex = 14;
|
||||
this.stackPanel8.Text = "stackPanel8";
|
||||
//
|
||||
// input_radius
|
||||
//
|
||||
this.input_radius.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_radius.Location = new System.Drawing.Point(129, 3);
|
||||
this.input_radius.Name = "input_radius";
|
||||
this.input_radius.Size = new System.Drawing.Size(175, 26);
|
||||
this.input_radius.TabIndex = 5;
|
||||
this.input_radius.Text = "6";
|
||||
this.input_radius.Value = new decimal(new int[] {
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_radius.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(120, 26);
|
||||
this.label6.TabIndex = 4;
|
||||
this.label6.Text = "Radius";
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
this.stackPanel7.Controls.Add(this.select_mode);
|
||||
this.stackPanel7.Controls.Add(this.label5);
|
||||
this.stackPanel7.Location = new System.Drawing.Point(3, 117);
|
||||
this.stackPanel7.Name = "stackPanel7";
|
||||
this.stackPanel7.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel7.TabIndex = 13;
|
||||
this.stackPanel7.Text = "stackPanel7";
|
||||
//
|
||||
// select_mode
|
||||
//
|
||||
this.select_mode.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_mode.List = true;
|
||||
this.select_mode.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_mode.Name = "select_mode";
|
||||
this.select_mode.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_mode.TabIndex = 11;
|
||||
this.select_mode.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, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(120, 26);
|
||||
this.label5.TabIndex = 4;
|
||||
this.label5.Text = "Mode";
|
||||
//
|
||||
// stackPanel6
|
||||
//
|
||||
this.stackPanel6.Controls.Add(this.select_indent);
|
||||
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(306, 32);
|
||||
this.stackPanel6.TabIndex = 12;
|
||||
this.stackPanel6.Text = "stackPanel6";
|
||||
//
|
||||
// select_indent
|
||||
//
|
||||
this.select_indent.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_indent.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_indent.List = true;
|
||||
this.select_indent.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_indent.Name = "select_indent";
|
||||
this.select_indent.SelectedIndex = 1;
|
||||
this.select_indent.SelectedValue = "False";
|
||||
this.select_indent.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_indent.TabIndex = 11;
|
||||
this.select_indent.Text = "False";
|
||||
this.select_indent.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(120, 26);
|
||||
this.label4.TabIndex = 4;
|
||||
this.label4.Text = "Indent";
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
this.stackPanel5.Controls.Add(this.select_collapsed);
|
||||
this.stackPanel5.Controls.Add(this.label3);
|
||||
this.stackPanel5.Location = new System.Drawing.Point(3, 41);
|
||||
this.stackPanel5.Name = "stackPanel5";
|
||||
this.stackPanel5.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel5.TabIndex = 11;
|
||||
this.stackPanel5.Text = "stackPanel5";
|
||||
//
|
||||
// select_collapsed
|
||||
//
|
||||
this.select_collapsed.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_collapsed.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_collapsed.List = true;
|
||||
this.select_collapsed.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_collapsed.Name = "select_collapsed";
|
||||
this.select_collapsed.SelectedIndex = 1;
|
||||
this.select_collapsed.SelectedValue = "False";
|
||||
this.select_collapsed.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_collapsed.TabIndex = 11;
|
||||
this.select_collapsed.Text = "False";
|
||||
this.select_collapsed.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, 3);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(120, 26);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Collapsed";
|
||||
//
|
||||
// stackPanel4
|
||||
//
|
||||
this.stackPanel4.Controls.Add(this.select_autocollapse);
|
||||
this.stackPanel4.Controls.Add(this.label10);
|
||||
this.stackPanel4.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel4.Name = "stackPanel4";
|
||||
this.stackPanel4.Size = new System.Drawing.Size(306, 32);
|
||||
this.stackPanel4.TabIndex = 10;
|
||||
this.stackPanel4.Text = "stackPanel4";
|
||||
//
|
||||
// select_autocollapse
|
||||
//
|
||||
this.select_autocollapse.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_autocollapse.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_autocollapse.List = true;
|
||||
this.select_autocollapse.Location = new System.Drawing.Point(129, 3);
|
||||
this.select_autocollapse.Name = "select_autocollapse";
|
||||
this.select_autocollapse.SelectedIndex = 1;
|
||||
this.select_autocollapse.SelectedValue = "False";
|
||||
this.select_autocollapse.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_autocollapse.TabIndex = 11;
|
||||
this.select_autocollapse.Text = "False";
|
||||
this.select_autocollapse.WaveSize = 0;
|
||||
//
|
||||
// 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, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(120, 26);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "AutoCollapse";
|
||||
//
|
||||
// MenuDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.Controls.Add(this.stackPanel1);
|
||||
this.Name = "MenuDemo";
|
||||
this.Size = new System.Drawing.Size(700, 585);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.stackPanel14.ResumeLayout(false);
|
||||
this.stackPanel13.ResumeLayout(false);
|
||||
this.stackPanel16.ResumeLayout(false);
|
||||
this.stackPanel12.ResumeLayout(false);
|
||||
this.stackPanel11.ResumeLayout(false);
|
||||
this.stackPanel10.ResumeLayout(false);
|
||||
this.stackPanel9.ResumeLayout(false);
|
||||
this.stackPanel8.ResumeLayout(false);
|
||||
this.stackPanel7.ResumeLayout(false);
|
||||
this.stackPanel6.ResumeLayout(false);
|
||||
this.stackPanel5.ResumeLayout(false);
|
||||
this.stackPanel4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.StackPanel stackPanel1;
|
||||
private AntdUI.Label label1;
|
||||
private AntdUI.Label label2;
|
||||
private AntdUI.StackPanel stackPanel2;
|
||||
private AntdUI.Menu menu;
|
||||
private AntdUI.Divider divider2;
|
||||
private AntdUI.StackPanel stackPanel3;
|
||||
private AntdUI.Button buttonCZ;
|
||||
private AntdUI.StackPanel stackPanel14;
|
||||
private AntdUI.ColorPicker colorPicker_backactive;
|
||||
private AntdUI.Label label13;
|
||||
private AntdUI.StackPanel stackPanel13;
|
||||
private AntdUI.ColorPicker colorPicker_backhover;
|
||||
private AntdUI.Label label12;
|
||||
private AntdUI.StackPanel stackPanel16;
|
||||
private AntdUI.ColorPicker colorPicker_foreactive;
|
||||
private AntdUI.Label label14;
|
||||
private AntdUI.StackPanel stackPanel12;
|
||||
private AntdUI.ColorPicker colorPicker_forecolor;
|
||||
private AntdUI.Label label11;
|
||||
private AntdUI.StackPanel stackPanel11;
|
||||
private AntdUI.Select select_unique;
|
||||
private AntdUI.Label label9;
|
||||
private AntdUI.StackPanel stackPanel10;
|
||||
private AntdUI.Select select_showsubback;
|
||||
private AntdUI.Label label8;
|
||||
private AntdUI.StackPanel stackPanel9;
|
||||
private AntdUI.Select select_round;
|
||||
private AntdUI.Label label7;
|
||||
private AntdUI.StackPanel stackPanel8;
|
||||
private AntdUI.InputNumber input_radius;
|
||||
private AntdUI.Label label6;
|
||||
private AntdUI.StackPanel stackPanel7;
|
||||
private AntdUI.Select select_mode;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.StackPanel stackPanel6;
|
||||
private AntdUI.Select select_indent;
|
||||
private AntdUI.Label label4;
|
||||
private AntdUI.StackPanel stackPanel5;
|
||||
private AntdUI.Select select_collapsed;
|
||||
private AntdUI.Label label3;
|
||||
private AntdUI.StackPanel stackPanel4;
|
||||
private AntdUI.Select select_autocollapse;
|
||||
private AntdUI.Label label10;
|
||||
private AntdUI.Divider divider1;
|
||||
}
|
||||
}
|
||||
74
Views/MenuDemo.cs
Normal file
74
Views/MenuDemo.cs
Normal file
@ -0,0 +1,74 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
public partial class MenuDemo : UserControl
|
||||
{
|
||||
public MenuDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
//初始化下拉框
|
||||
InitSelectItems();
|
||||
//设置默认值
|
||||
InitData();
|
||||
// 绑定事件
|
||||
BindEventHandler();
|
||||
}
|
||||
|
||||
private void BindEventHandler()
|
||||
{
|
||||
select_autocollapse.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_collapsed.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_indent.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_round.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_showsubback.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_unique.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
}
|
||||
|
||||
private void select_intvalue_SelectedIndexChanged(object sender, int value)
|
||||
{
|
||||
LoadMenu();
|
||||
}
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
select_mode.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void InitSelectItems()
|
||||
{
|
||||
//初始化菜单类型
|
||||
//select_align.Items.Clear();
|
||||
//foreach (TAlignFlow align in Enum.GetValues(typeof(TAlignFlow)))
|
||||
//{
|
||||
// select_align.Items.Add(align);
|
||||
//}
|
||||
|
||||
select_mode.Items.Clear();
|
||||
foreach(TMenuMode menuMode in Enum.GetValues(typeof(TMenuMode)))
|
||||
{
|
||||
select_mode.Items.Add(menuMode);
|
||||
}
|
||||
}
|
||||
|
||||
private void LoadMenu()
|
||||
{
|
||||
menu.AutoCollapse = select_autocollapse.SelectedIndex == 0;
|
||||
menu.Collapsed = select_collapsed.SelectedIndex == 0;
|
||||
menu.Indent = select_indent.SelectedIndex == 0;
|
||||
menu.Round = select_round.SelectedIndex == 0;
|
||||
menu.ShowSubBack = select_showsubback.SelectedIndex == 0;
|
||||
menu.Unique = select_unique.SelectedIndex == 0;
|
||||
menu.Invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
132
Views/MenuDemo.resx
Normal file
132
Views/MenuDemo.resx
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="menuItem1.IconSvg" xml:space="preserve">
|
||||
<value><svg t="1724229402123" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7948" width="200" height="200"><path d="M911.945421 306.603008l-62.497894 36.07767c-17.62304 10.177843-40.14592 4.144435-50.315981-13.476966-10.177229-17.622323-4.143514-40.145306 13.469286-50.324173l62.422221-36.033638c-30.075187-43.229594-67.660698-80.808448-110.886912-110.890598l-36.04951 62.414541c-10.171085 17.621299-32.692941 23.654707-50.315981 13.486182-17.625088-10.177843-23.656755-32.700723-13.479526-50.322125L700.379443 95.037542c-46.631936-22.00105-97.723597-36.02135-151.551693-40.466637l0 72.03564c0 20.337152-16.480973 36.835942-36.837478 36.835942-20.336947 0-36.836454-16.49879-36.836454-36.835942L475.153818 54.56985c-53.817856 4.44631-104.912589 18.465587-151.533261 40.461517l36.089344 62.502502c10.170061 17.622323 4.134298 40.144282-13.488742 50.322125-17.611776 10.168627-40.14592 4.135219-50.325197-13.486182l-36.032102-62.414541c-43.23543 30.08215-80.811725 67.666125-110.89408 110.890598l62.410957 36.033638c17.624064 10.178867 23.656755 32.702771 13.488742 50.324173-10.170061 17.621299-32.703181 23.655731-50.327245 13.476966l-62.497894-36.071526c-26.967245 57.152717-42.104627 120.981402-42.104627 188.367155 0 244.134298 197.907354 442.041651 442.05056 442.041651 244.153446 0 442.066944-197.905408 442.066944-442.041651C954.05824 427.586458 938.919834 363.755725 911.945421 306.603008zM767.225549 642.319053c-81.385882 140.943053-261.623091 189.244109-402.584166 107.86775-140.962099-81.382502-189.253939-261.618483-107.864986-402.564608 81.37769-140.946125 261.624115-189.245133 402.584166-107.869798C800.302285 321.13705 848.603238 501.372928 767.225549 642.319053zM667.258778 305.542861 562.319565 482.312909c-10.170061 17.611059-32.694989 23.654707-50.325197 13.487206-17.6128-10.178867-23.655731-32.710963-13.478502-50.324173L603.857306 268.040704c-28.383539-11.459994-59.370598-17.823949-91.862938-17.823949-135.626342 0-245.582029 109.951181-245.582029 245.583258 0 135.619789 109.955686 245.571994 245.582029 245.571994 135.644774 0 245.593293-109.950157 245.593293-245.571994C757.587661 419.071488 722.381414 350.581658 667.258778 305.542861z" p-id="7949"></path></svg></value>
|
||||
</data>
|
||||
<data name="menuItem9.IconSvg" xml:space="preserve">
|
||||
<value><svg t="1724229420898" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8098" width="200" height="200"><path d="M892.928 128q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 448.512q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0zM892.928 769.024q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-759.808 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.64t48.64-19.968l759.808 0z" p-id="8099"></path></svg></value>
|
||||
</data>
|
||||
<data name="menuItem13.IconSvg" xml:space="preserve">
|
||||
<value><svg t="1724229436634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8248" width="200" height="200"><path d="M533.504 268.288q33.792-41.984 71.68-75.776 32.768-27.648 74.24-50.176t86.528-19.456q63.488 5.12 105.984 30.208t67.584 63.488 34.304 87.04 6.144 99.84-17.92 97.792-36.864 87.04-48.64 74.752-53.248 61.952q-40.96 41.984-85.504 78.336t-84.992 62.464-73.728 41.472-51.712 15.36q-20.48 1.024-52.224-14.336t-69.632-41.472-79.872-61.952-82.944-75.776q-26.624-25.6-57.344-59.392t-57.856-74.24-46.592-87.552-21.504-100.352 11.264-99.84 39.936-83.456 65.536-61.952 88.064-35.328q24.576-5.12 49.152-1.536t48.128 12.288 45.056 22.016 40.96 27.648q45.056 33.792 86.016 80.896z" p-id="8249"></path></svg></value>
|
||||
</data>
|
||||
<data name="menuItem14.IconSvg" xml:space="preserve">
|
||||
<value><svg t="1724229504670" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8552" width="200" height="200"><path d="M193.536 915.456l473.088 0 0 52.224q0 20.48-15.36 38.4t-45.056 17.92l-351.232 0q-26.624 0-44.032-16.384t-17.408-39.936l0-52.224zM829.44 488.448q34.816 0 67.584 4.608t55.296 19.968 32.256 44.032 0.512 77.824q-10.24 51.2-30.208 77.824t-46.08 38.4-56.32 11.776-61.952-2.048q-11.264 18.432-25.6 33.28t-30.72 28.672-33.28 28.672-34.304 33.28l-473.088 0q-22.528-31.744-50.176-53.248t-51.2-49.664-39.936-72.192-16.384-119.808l0-107.52q0-20.48 7.168-30.72t16.384-15.36q11.264-5.12 24.576-7.168l697.344 0q12.288 2.048 23.552 7.168 9.216 5.12 16.896 15.36t7.68 30.72l0 6.144zM251.904 349.184q-2.048 15.36-13.312 23.04t-24.064 7.68-23.552-7.68-10.752-23.04q0-35.84 3.584-58.88t6.656-43.52q5.12-29.696 17.92-50.176t26.624-37.376 25.088-32.768 14.336-37.376q4.096-30.72 5.632-48.64t5.12-26.624 10.752-10.752 23.552-2.048 23.552 11.776 8.192 29.696-2.048 37.888-6.144 35.328q-2.048 14.336-9.728 29.184t-17.92 30.72-20.48 31.232-18.432 29.696q-9.216 15.36-14.336 38.4t-10.24 74.24zM445.44 349.184q-2.048 15.36-13.312 23.04t-24.064 7.68-23.552-7.68-10.752-23.04q0-35.84 3.584-58.88t7.68-43.52q5.12-29.696 17.92-50.176t26.112-37.376 24.576-32.768 14.336-37.376q4.096-30.72 6.144-48.64t5.632-26.624 10.752-10.752 23.552-2.048 23.04 11.776 7.68 29.696-1.536 37.888-5.632 35.328q-3.072 14.336-10.752 29.184t-17.408 30.72-20.48 31.232-18.944 29.696q-9.216 15.36-14.336 38.4t-10.24 74.24zM640 349.184q-2.048 15.36-13.312 23.04t-24.064 7.68-23.552-7.68-10.752-23.04q0-35.84 3.072-58.88t7.168-43.52q5.12-29.696 17.92-50.176t26.624-37.376 25.088-32.768 14.336-37.376q4.096-30.72 5.632-48.64t5.12-26.624 10.752-10.752 23.552-2.048 23.552 11.776 8.192 29.696-2.048 37.888-6.144 35.328q-3.072 14.336-10.752 29.184t-17.408 30.72-19.968 31.232-18.432 29.696q-5.12 8.192-8.704 16.896t-6.144 21.504-4.608 30.72-5.12 43.52z" p-id="8553"></path></svg></value>
|
||||
</data>
|
||||
</root>
|
||||
34
Views/PanelDemo.Designer.cs
generated
34
Views/PanelDemo.Designer.cs
generated
@ -127,7 +127,7 @@
|
||||
this.stackPanel15.Controls.Add(this.stackPanel14);
|
||||
this.stackPanel15.Location = new System.Drawing.Point(289, 3);
|
||||
this.stackPanel15.Name = "stackPanel15";
|
||||
this.stackPanel15.Size = new System.Drawing.Size(366, 431);
|
||||
this.stackPanel15.Size = new System.Drawing.Size(373, 431);
|
||||
this.stackPanel15.TabIndex = 1;
|
||||
this.stackPanel15.Text = "stackPanel15";
|
||||
this.stackPanel15.Vertical = true;
|
||||
@ -139,7 +139,7 @@
|
||||
this.panel.Name = "panel";
|
||||
this.panel.Shadow = 12;
|
||||
this.panel.ShadowOpacityAnimation = true;
|
||||
this.panel.Size = new System.Drawing.Size(360, 298);
|
||||
this.panel.Size = new System.Drawing.Size(367, 298);
|
||||
this.panel.TabIndex = 35;
|
||||
this.panel.Text = "panel1";
|
||||
//
|
||||
@ -148,7 +148,7 @@
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonCZ.Location = new System.Drawing.Point(3, 79);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(360, 32);
|
||||
this.buttonCZ.Size = new System.Drawing.Size(367, 32);
|
||||
this.buttonCZ.TabIndex = 33;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
@ -160,7 +160,7 @@
|
||||
this.stackPanel13.Controls.Add(this.label12);
|
||||
this.stackPanel13.Location = new System.Drawing.Point(3, 41);
|
||||
this.stackPanel13.Name = "stackPanel13";
|
||||
this.stackPanel13.Size = new System.Drawing.Size(360, 32);
|
||||
this.stackPanel13.Size = new System.Drawing.Size(367, 32);
|
||||
this.stackPanel13.TabIndex = 30;
|
||||
this.stackPanel13.Text = "stackPanel13";
|
||||
//
|
||||
@ -188,7 +188,7 @@
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
this.input_shadowOH.WaveSize = 1;
|
||||
this.input_shadowOH.WaveSize = 0;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
@ -205,7 +205,7 @@
|
||||
this.stackPanel14.Controls.Add(this.label13);
|
||||
this.stackPanel14.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel14.Name = "stackPanel14";
|
||||
this.stackPanel14.Size = new System.Drawing.Size(360, 32);
|
||||
this.stackPanel14.Size = new System.Drawing.Size(367, 32);
|
||||
this.stackPanel14.TabIndex = 29;
|
||||
this.stackPanel14.Text = "stackPanel14";
|
||||
//
|
||||
@ -223,7 +223,7 @@
|
||||
this.select_shadowOA.Size = new System.Drawing.Size(132, 26);
|
||||
this.select_shadowOA.TabIndex = 11;
|
||||
this.select_shadowOA.Text = "True";
|
||||
this.select_shadowOA.WaveSize = 1;
|
||||
this.select_shadowOA.WaveSize = 0;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
@ -288,7 +288,7 @@
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
this.input_shadowO.WaveSize = 1;
|
||||
this.input_shadowO.WaveSize = 0;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
@ -317,7 +317,7 @@
|
||||
this.input_shadowY.Size = new System.Drawing.Size(120, 26);
|
||||
this.input_shadowY.TabIndex = 5;
|
||||
this.input_shadowY.Text = "0";
|
||||
this.input_shadowY.WaveSize = 1;
|
||||
this.input_shadowY.WaveSize = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
@ -346,7 +346,7 @@
|
||||
this.input_shadowX.Size = new System.Drawing.Size(120, 26);
|
||||
this.input_shadowX.TabIndex = 5;
|
||||
this.input_shadowX.Text = "0";
|
||||
this.input_shadowX.WaveSize = 1;
|
||||
this.input_shadowX.WaveSize = 0;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
@ -374,7 +374,6 @@
|
||||
this.colorPicker_shadow.Size = new System.Drawing.Size(120, 26);
|
||||
this.colorPicker_shadow.TabIndex = 5;
|
||||
this.colorPicker_shadow.Text = "colorPicker1";
|
||||
this.colorPicker_shadow.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
|
||||
this.colorPicker_shadow.WaveSize = 0;
|
||||
//
|
||||
// label7
|
||||
@ -404,7 +403,7 @@
|
||||
this.select_shadowalign.Name = "select_shadowalign";
|
||||
this.select_shadowalign.Size = new System.Drawing.Size(120, 26);
|
||||
this.select_shadowalign.TabIndex = 11;
|
||||
this.select_shadowalign.WaveSize = 1;
|
||||
this.select_shadowalign.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@ -438,7 +437,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_shadow.WaveSize = 1;
|
||||
this.input_shadow.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@ -468,7 +467,7 @@
|
||||
this.input_borderwidth.Size = new System.Drawing.Size(120, 26);
|
||||
this.input_borderwidth.TabIndex = 5;
|
||||
this.input_borderwidth.Text = "0.00";
|
||||
this.input_borderwidth.WaveSize = 1;
|
||||
this.input_borderwidth.WaveSize = 0;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
@ -496,7 +495,6 @@
|
||||
this.colorPicker_border.Size = new System.Drawing.Size(120, 26);
|
||||
this.colorPicker_border.TabIndex = 5;
|
||||
this.colorPicker_border.Text = "colorPicker1";
|
||||
this.colorPicker_border.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
|
||||
this.colorPicker_border.WaveSize = 0;
|
||||
//
|
||||
// label14
|
||||
@ -531,7 +529,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_radius.WaveSize = 1;
|
||||
this.input_radius.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
@ -565,7 +563,7 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_arrowsize.WaveSize = 1;
|
||||
this.input_arrowsize.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@ -594,7 +592,7 @@
|
||||
this.select_arrowalign.Name = "select_arrowalign";
|
||||
this.select_arrowalign.Size = new System.Drawing.Size(120, 26);
|
||||
this.select_arrowalign.TabIndex = 11;
|
||||
this.select_arrowalign.WaveSize = 1;
|
||||
this.select_arrowalign.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
|
||||
30
Views/StackPanelDemo.Designer.cs
generated
30
Views/StackPanelDemo.Designer.cs
generated
@ -32,6 +32,7 @@
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.stackPanel = 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();
|
||||
@ -49,7 +50,6 @@
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
@ -108,6 +108,17 @@
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
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.Location = new System.Drawing.Point(3, 231);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(274, 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)));
|
||||
@ -154,7 +165,7 @@
|
||||
this.select_vertical.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_vertical.TabIndex = 11;
|
||||
this.select_vertical.Text = "True";
|
||||
this.select_vertical.WaveSize = 1;
|
||||
this.select_vertical.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@ -212,7 +223,7 @@
|
||||
this.input_gap.Size = new System.Drawing.Size(175, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "0";
|
||||
this.input_gap.WaveSize = 1;
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@ -247,7 +258,7 @@
|
||||
this.select_autoscroll.Size = new System.Drawing.Size(175, 26);
|
||||
this.select_autoscroll.TabIndex = 11;
|
||||
this.select_autoscroll.Text = "False";
|
||||
this.select_autoscroll.WaveSize = 1;
|
||||
this.select_autoscroll.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
@ -283,17 +294,6 @@
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Text = "StackPanel 堆叠布局";
|
||||
//
|
||||
// buttonCZ
|
||||
//
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.buttonCZ.Location = new System.Drawing.Point(3, 231);
|
||||
this.buttonCZ.Name = "buttonCZ";
|
||||
this.buttonCZ.Size = new System.Drawing.Size(274, 32);
|
||||
this.buttonCZ.TabIndex = 39;
|
||||
this.buttonCZ.Text = "重 置";
|
||||
this.buttonCZ.Type = AntdUI.TTypeMini.Warn;
|
||||
this.buttonCZ.WaveSize = 0;
|
||||
//
|
||||
// StackPanelDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user