新增datepickerrange
This commit is contained in:
Generated
+210
-172
@@ -30,34 +30,40 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DatePickerDemo));
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.flowPanel3 = new AntdUI.FlowPanel();
|
||||
this.datePicker7 = new AntdUI.DatePicker();
|
||||
this.datePicker11 = new AntdUI.DatePicker();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.flowPanel2 = new AntdUI.FlowPanel();
|
||||
this.datePicker8 = new AntdUI.DatePicker();
|
||||
this.datePicker9 = new AntdUI.DatePicker();
|
||||
this.datePicker12 = new AntdUI.DatePicker();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.datePicker6 = new AntdUI.DatePicker();
|
||||
this.datePicker5 = new AntdUI.DatePicker();
|
||||
this.datePicker4 = new AntdUI.DatePicker();
|
||||
this.datePicker3 = new AntdUI.DatePicker();
|
||||
this.datePicker2 = new AntdUI.DatePicker();
|
||||
this.datePicker1 = new AntdUI.DatePicker();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.datePicker1 = new AntdUI.DatePicker();
|
||||
this.datePicker2 = new AntdUI.DatePicker();
|
||||
this.datePicker3 = new AntdUI.DatePicker();
|
||||
this.datePicker4 = new AntdUI.DatePicker();
|
||||
this.datePicker5 = new AntdUI.DatePicker();
|
||||
this.datePicker6 = new AntdUI.DatePicker();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.flowPanel2 = new AntdUI.FlowPanel();
|
||||
this.datePicker12 = new AntdUI.DatePicker();
|
||||
this.datePicker9 = new AntdUI.DatePicker();
|
||||
this.datePicker8 = new AntdUI.DatePicker();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.flowPanel3 = new AntdUI.FlowPanel();
|
||||
this.datePicker11 = new AntdUI.DatePicker();
|
||||
this.datePicker7 = new AntdUI.DatePicker();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.flowPanel4 = new AntdUI.FlowPanel();
|
||||
this.datePicker_badge = new AntdUI.DatePicker();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.flowPanel2.SuspendLayout();
|
||||
this.flowPanel3.SuspendLayout();
|
||||
this.flowPanel2.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.flowPanel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
//
|
||||
this.stackPanel1.Controls.Add(this.flowPanel4);
|
||||
this.stackPanel1.Controls.Add(this.label6);
|
||||
this.stackPanel1.Controls.Add(this.flowPanel3);
|
||||
this.stackPanel1.Controls.Add(this.label5);
|
||||
this.stackPanel1.Controls.Add(this.flowPanel2);
|
||||
@@ -75,6 +81,100 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// flowPanel3
|
||||
//
|
||||
this.flowPanel3.Controls.Add(this.datePicker7);
|
||||
this.flowPanel3.Controls.Add(this.datePicker11);
|
||||
this.flowPanel3.Location = new System.Drawing.Point(3, 275);
|
||||
this.flowPanel3.Name = "flowPanel3";
|
||||
this.flowPanel3.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel3.TabIndex = 16;
|
||||
this.flowPanel3.Text = "flowPanel3";
|
||||
//
|
||||
// datePicker7
|
||||
//
|
||||
this.datePicker7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker7.Format = "yyyy/MM/dd";
|
||||
this.datePicker7.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker7.Name = "datePicker7";
|
||||
this.datePicker7.PlaceholderText = "yyyy/MM/dd";
|
||||
this.datePicker7.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker7.TabIndex = 1;
|
||||
this.datePicker7.WaveSize = 0;
|
||||
//
|
||||
// datePicker11
|
||||
//
|
||||
this.datePicker11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker11.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker11.Name = "datePicker11";
|
||||
this.datePicker11.PlaceholderText = "yyyy-MM-dd";
|
||||
this.datePicker11.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker11.TabIndex = 0;
|
||||
this.datePicker11.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(3, 245);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(694, 24);
|
||||
this.label5.TabIndex = 15;
|
||||
this.label5.Text = "日期格式化";
|
||||
//
|
||||
// flowPanel2
|
||||
//
|
||||
this.flowPanel2.Controls.Add(this.datePicker8);
|
||||
this.flowPanel2.Controls.Add(this.datePicker9);
|
||||
this.flowPanel2.Controls.Add(this.datePicker12);
|
||||
this.flowPanel2.Location = new System.Drawing.Point(3, 201);
|
||||
this.flowPanel2.Name = "flowPanel2";
|
||||
this.flowPanel2.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel2.TabIndex = 14;
|
||||
this.flowPanel2.Text = "flowPanel2";
|
||||
//
|
||||
// datePicker8
|
||||
//
|
||||
this.datePicker8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker8.Location = new System.Drawing.Point(229, 3);
|
||||
this.datePicker8.Name = "datePicker8";
|
||||
this.datePicker8.PlaceholderText = "图标在左";
|
||||
this.datePicker8.PrefixSvg = resources.GetString("datePicker8.PrefixSvg");
|
||||
this.datePicker8.ShowIcon = false;
|
||||
this.datePicker8.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker8.TabIndex = 3;
|
||||
this.datePicker8.WaveSize = 0;
|
||||
//
|
||||
// datePicker9
|
||||
//
|
||||
this.datePicker9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker9.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker9.Name = "datePicker9";
|
||||
this.datePicker9.PlaceholderText = "图标在右";
|
||||
this.datePicker9.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker9.SuffixSvg = resources.GetString("datePicker9.SuffixSvg");
|
||||
this.datePicker9.TabIndex = 2;
|
||||
this.datePicker9.WaveSize = 0;
|
||||
//
|
||||
// datePicker12
|
||||
//
|
||||
this.datePicker12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker12.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker12.Name = "datePicker12";
|
||||
this.datePicker12.PlaceholderText = "无图标";
|
||||
this.datePicker12.ShowIcon = false;
|
||||
this.datePicker12.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker12.TabIndex = 0;
|
||||
this.datePicker12.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(3, 171);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 13;
|
||||
this.label4.Text = "图标显示";
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.datePicker6);
|
||||
@@ -89,6 +189,71 @@
|
||||
this.flowPanel1.TabIndex = 12;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
//
|
||||
// datePicker6
|
||||
//
|
||||
this.datePicker6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker6.Location = new System.Drawing.Point(568, 3);
|
||||
this.datePicker6.Name = "datePicker6";
|
||||
this.datePicker6.PlaceholderText = "TR";
|
||||
this.datePicker6.Placement = AntdUI.TAlignFrom.TR;
|
||||
this.datePicker6.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker6.TabIndex = 5;
|
||||
this.datePicker6.WaveSize = 0;
|
||||
//
|
||||
// datePicker5
|
||||
//
|
||||
this.datePicker5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker5.Location = new System.Drawing.Point(455, 3);
|
||||
this.datePicker5.Name = "datePicker5";
|
||||
this.datePicker5.PlaceholderText = "Top";
|
||||
this.datePicker5.Placement = AntdUI.TAlignFrom.Top;
|
||||
this.datePicker5.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker5.TabIndex = 4;
|
||||
this.datePicker5.WaveSize = 0;
|
||||
//
|
||||
// datePicker4
|
||||
//
|
||||
this.datePicker4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker4.Location = new System.Drawing.Point(342, 3);
|
||||
this.datePicker4.Name = "datePicker4";
|
||||
this.datePicker4.PlaceholderText = "TL";
|
||||
this.datePicker4.Placement = AntdUI.TAlignFrom.TL;
|
||||
this.datePicker4.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker4.TabIndex = 3;
|
||||
this.datePicker4.WaveSize = 0;
|
||||
//
|
||||
// datePicker3
|
||||
//
|
||||
this.datePicker3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker3.Location = new System.Drawing.Point(229, 3);
|
||||
this.datePicker3.Name = "datePicker3";
|
||||
this.datePicker3.PlaceholderText = "BR";
|
||||
this.datePicker3.Placement = AntdUI.TAlignFrom.BR;
|
||||
this.datePicker3.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker3.TabIndex = 2;
|
||||
this.datePicker3.WaveSize = 0;
|
||||
//
|
||||
// datePicker2
|
||||
//
|
||||
this.datePicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker2.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker2.Name = "datePicker2";
|
||||
this.datePicker2.PlaceholderText = "Bottom";
|
||||
this.datePicker2.Placement = AntdUI.TAlignFrom.Bottom;
|
||||
this.datePicker2.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker2.TabIndex = 1;
|
||||
this.datePicker2.WaveSize = 0;
|
||||
//
|
||||
// datePicker1
|
||||
//
|
||||
this.datePicker1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker1.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker1.Name = "datePicker1";
|
||||
this.datePicker1.PlaceholderText = "BL";
|
||||
this.datePicker1.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker1.TabIndex = 0;
|
||||
this.datePicker1.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@@ -123,164 +288,33 @@
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Text = "DatePicker 日期选择器";
|
||||
//
|
||||
// datePicker1
|
||||
// label6
|
||||
//
|
||||
this.datePicker1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker1.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker1.Name = "datePicker1";
|
||||
this.datePicker1.PlaceholderText = "BL";
|
||||
this.datePicker1.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker1.TabIndex = 0;
|
||||
this.datePicker1.WaveSize = 0;
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(3, 319);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(694, 24);
|
||||
this.label6.TabIndex = 17;
|
||||
this.label6.Text = "日期徽标";
|
||||
//
|
||||
// datePicker2
|
||||
// flowPanel4
|
||||
//
|
||||
this.datePicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker2.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker2.Name = "datePicker2";
|
||||
this.datePicker2.PlaceholderText = "Bottom";
|
||||
this.datePicker2.Placement = AntdUI.TAlignFrom.Bottom;
|
||||
this.datePicker2.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker2.TabIndex = 1;
|
||||
this.datePicker2.WaveSize = 0;
|
||||
this.flowPanel4.Controls.Add(this.datePicker_badge);
|
||||
this.flowPanel4.Location = new System.Drawing.Point(3, 349);
|
||||
this.flowPanel4.Name = "flowPanel4";
|
||||
this.flowPanel4.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel4.TabIndex = 18;
|
||||
this.flowPanel4.Text = "flowPanel4";
|
||||
//
|
||||
// datePicker3
|
||||
// datePicker_badge
|
||||
//
|
||||
this.datePicker3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker3.Location = new System.Drawing.Point(229, 3);
|
||||
this.datePicker3.Name = "datePicker3";
|
||||
this.datePicker3.PlaceholderText = "BR";
|
||||
this.datePicker3.Placement = AntdUI.TAlignFrom.BR;
|
||||
this.datePicker3.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker3.TabIndex = 2;
|
||||
this.datePicker3.WaveSize = 0;
|
||||
//
|
||||
// datePicker4
|
||||
//
|
||||
this.datePicker4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker4.Location = new System.Drawing.Point(342, 3);
|
||||
this.datePicker4.Name = "datePicker4";
|
||||
this.datePicker4.PlaceholderText = "TL";
|
||||
this.datePicker4.Placement = AntdUI.TAlignFrom.TL;
|
||||
this.datePicker4.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker4.TabIndex = 3;
|
||||
this.datePicker4.WaveSize = 0;
|
||||
//
|
||||
// datePicker5
|
||||
//
|
||||
this.datePicker5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker5.Location = new System.Drawing.Point(455, 3);
|
||||
this.datePicker5.Name = "datePicker5";
|
||||
this.datePicker5.PlaceholderText = "Top";
|
||||
this.datePicker5.Placement = AntdUI.TAlignFrom.Top;
|
||||
this.datePicker5.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker5.TabIndex = 4;
|
||||
this.datePicker5.WaveSize = 0;
|
||||
//
|
||||
// datePicker6
|
||||
//
|
||||
this.datePicker6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker6.Location = new System.Drawing.Point(568, 3);
|
||||
this.datePicker6.Name = "datePicker6";
|
||||
this.datePicker6.PlaceholderText = "TR";
|
||||
this.datePicker6.Placement = AntdUI.TAlignFrom.TR;
|
||||
this.datePicker6.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker6.TabIndex = 5;
|
||||
this.datePicker6.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(3, 171);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 13;
|
||||
this.label4.Text = "图标显示";
|
||||
//
|
||||
// flowPanel2
|
||||
//
|
||||
this.flowPanel2.Controls.Add(this.datePicker8);
|
||||
this.flowPanel2.Controls.Add(this.datePicker9);
|
||||
this.flowPanel2.Controls.Add(this.datePicker12);
|
||||
this.flowPanel2.Location = new System.Drawing.Point(3, 201);
|
||||
this.flowPanel2.Name = "flowPanel2";
|
||||
this.flowPanel2.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel2.TabIndex = 14;
|
||||
this.flowPanel2.Text = "flowPanel2";
|
||||
//
|
||||
// datePicker12
|
||||
//
|
||||
this.datePicker12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker12.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker12.Name = "datePicker12";
|
||||
this.datePicker12.PlaceholderText = "无图标";
|
||||
this.datePicker12.ShowIcon = false;
|
||||
this.datePicker12.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker12.TabIndex = 0;
|
||||
this.datePicker12.WaveSize = 0;
|
||||
//
|
||||
// datePicker9
|
||||
//
|
||||
this.datePicker9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker9.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker9.Name = "datePicker9";
|
||||
this.datePicker9.PlaceholderText = "图标在右";
|
||||
this.datePicker9.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker9.SuffixSvg = resources.GetString("datePicker9.SuffixSvg");
|
||||
this.datePicker9.TabIndex = 2;
|
||||
this.datePicker9.WaveSize = 0;
|
||||
//
|
||||
// datePicker8
|
||||
//
|
||||
this.datePicker8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker8.Location = new System.Drawing.Point(229, 3);
|
||||
this.datePicker8.Name = "datePicker8";
|
||||
this.datePicker8.PlaceholderText = "图标在左";
|
||||
this.datePicker8.PrefixSvg = resources.GetString("datePicker8.PrefixSvg");
|
||||
this.datePicker8.ShowIcon = false;
|
||||
this.datePicker8.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker8.TabIndex = 3;
|
||||
this.datePicker8.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(3, 245);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(694, 24);
|
||||
this.label5.TabIndex = 15;
|
||||
this.label5.Text = "日期格式化";
|
||||
//
|
||||
// flowPanel3
|
||||
//
|
||||
this.flowPanel3.Controls.Add(this.datePicker7);
|
||||
this.flowPanel3.Controls.Add(this.datePicker11);
|
||||
this.flowPanel3.Location = new System.Drawing.Point(3, 275);
|
||||
this.flowPanel3.Name = "flowPanel3";
|
||||
this.flowPanel3.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel3.TabIndex = 16;
|
||||
this.flowPanel3.Text = "flowPanel3";
|
||||
//
|
||||
// datePicker11
|
||||
//
|
||||
this.datePicker11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker11.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker11.Name = "datePicker11";
|
||||
this.datePicker11.PlaceholderText = "yyyy-MM-dd";
|
||||
this.datePicker11.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker11.TabIndex = 0;
|
||||
this.datePicker11.WaveSize = 0;
|
||||
//
|
||||
// datePicker7
|
||||
//
|
||||
this.datePicker7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker7.Format = "yyyy/MM/dd";
|
||||
this.datePicker7.Location = new System.Drawing.Point(116, 3);
|
||||
this.datePicker7.Name = "datePicker7";
|
||||
this.datePicker7.PlaceholderText = "yyyy/MM/dd";
|
||||
this.datePicker7.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker7.TabIndex = 1;
|
||||
this.datePicker7.WaveSize = 0;
|
||||
this.datePicker_badge.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePicker_badge.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePicker_badge.Name = "datePicker_badge";
|
||||
this.datePicker_badge.PlaceholderText = "";
|
||||
this.datePicker_badge.Size = new System.Drawing.Size(107, 32);
|
||||
this.datePicker_badge.TabIndex = 0;
|
||||
this.datePicker_badge.WaveSize = 0;
|
||||
//
|
||||
// DatePickerDemo
|
||||
//
|
||||
@@ -289,9 +323,10 @@
|
||||
this.Name = "DatePickerDemo";
|
||||
this.Size = new System.Drawing.Size(700, 471);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.flowPanel2.ResumeLayout(false);
|
||||
this.flowPanel3.ResumeLayout(false);
|
||||
this.flowPanel2.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.flowPanel4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -319,5 +354,8 @@
|
||||
private AntdUI.DatePicker datePicker7;
|
||||
private AntdUI.DatePicker datePicker11;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.FlowPanel flowPanel4;
|
||||
private AntdUI.DatePicker datePicker_badge;
|
||||
private AntdUI.Label label6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,21 @@ namespace AntdUIDemo.Views
|
||||
public DatePickerDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
InitData();
|
||||
}
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
DateTime now = DateTime.Now;
|
||||
datePicker_badge.BadgeAction = dates =>
|
||||
{
|
||||
return new List<AntdUI.DateBadge>
|
||||
{
|
||||
new AntdUI.DateBadge(now.AddDays(5).ToString("yyyy-MM-dd"),99,Color.Red),
|
||||
new AntdUI.DateBadge(now.AddDays(1).ToString("yyyy-MM-dd"),2,Color.Red),
|
||||
new AntdUI.DateBadge(now.AddDays(-3).ToString("yyyy-MM-dd"),8,Color.FromArgb(14, 176, 201)),
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+177
@@ -0,0 +1,177 @@
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
partial class DatePickerRangeDemo
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.flowPanel2 = new AntdUI.FlowPanel();
|
||||
this.datePickerRange1 = new AntdUI.DatePickerRange();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.datePickerRange = new AntdUI.DatePickerRange();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.flowPanel2.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
//
|
||||
this.stackPanel1.Controls.Add(this.flowPanel1);
|
||||
this.stackPanel1.Controls.Add(this.label3);
|
||||
this.stackPanel1.Controls.Add(this.flowPanel2);
|
||||
this.stackPanel1.Controls.Add(this.label4);
|
||||
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, 426);
|
||||
this.stackPanel1.TabIndex = 0;
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 79);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 12);
|
||||
this.divider1.TabIndex = 13;
|
||||
//
|
||||
// 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 = 12;
|
||||
this.label2.Text = "输入或选择范围日期的控件。";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 11;
|
||||
this.label1.Text = "DatePickerRange 日期范围选择器";
|
||||
//
|
||||
// flowPanel2
|
||||
//
|
||||
this.flowPanel2.Controls.Add(this.datePickerRange1);
|
||||
this.flowPanel2.Location = new System.Drawing.Point(3, 127);
|
||||
this.flowPanel2.Name = "flowPanel2";
|
||||
this.flowPanel2.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel2.TabIndex = 17;
|
||||
this.flowPanel2.Text = "flowPanel2";
|
||||
//
|
||||
// datePickerRange1
|
||||
//
|
||||
this.datePickerRange1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePickerRange1.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePickerRange1.Name = "datePickerRange1";
|
||||
this.datePickerRange1.PlaceholderEnd = "结束日期";
|
||||
this.datePickerRange1.PlaceholderStart = "开始日期";
|
||||
this.datePickerRange1.Size = new System.Drawing.Size(300, 32);
|
||||
this.datePickerRange1.TabIndex = 0;
|
||||
this.datePickerRange1.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, 97);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 16;
|
||||
this.label4.Text = "基本用法";
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.datePickerRange);
|
||||
this.flowPanel1.Location = new System.Drawing.Point(3, 201);
|
||||
this.flowPanel1.Name = "flowPanel1";
|
||||
this.flowPanel1.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel1.TabIndex = 19;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
//
|
||||
// datePickerRange
|
||||
//
|
||||
this.datePickerRange.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.datePickerRange.Location = new System.Drawing.Point(3, 3);
|
||||
this.datePickerRange.Name = "datePickerRange";
|
||||
this.datePickerRange.Presets.AddRange(new object[] {
|
||||
"本周",
|
||||
"上周",
|
||||
"本月",
|
||||
"上月",
|
||||
"本年",
|
||||
"去年"});
|
||||
this.datePickerRange.Size = new System.Drawing.Size(300, 32);
|
||||
this.datePickerRange.TabIndex = 0;
|
||||
this.datePickerRange.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, 171);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 18;
|
||||
this.label3.Text = "预置菜单";
|
||||
//
|
||||
// DatePickerRangeDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.Controls.Add(this.stackPanel1);
|
||||
this.Name = "DatePickerRangeDemo";
|
||||
this.Size = new System.Drawing.Size(700, 426);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.flowPanel2.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.StackPanel stackPanel1;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Label label2;
|
||||
private AntdUI.Label label1;
|
||||
private AntdUI.FlowPanel flowPanel1;
|
||||
private AntdUI.DatePickerRange datePickerRange;
|
||||
private AntdUI.Label label3;
|
||||
private AntdUI.FlowPanel flowPanel2;
|
||||
private AntdUI.DatePickerRange datePickerRange1;
|
||||
private AntdUI.Label label4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
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 DatePickerRangeDemo : UserControl
|
||||
{
|
||||
public DatePickerRangeDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
// 绑定事件
|
||||
BindEventHandler();
|
||||
}
|
||||
|
||||
private void BindEventHandler()
|
||||
{
|
||||
datePickerRange.PresetsClickChanged += DatePickerRange_PresetsClickChanged;
|
||||
}
|
||||
|
||||
private void DatePickerRange_PresetsClickChanged(object sender, object value)
|
||||
{
|
||||
DateTime today = DateTime.Today;
|
||||
string str = value.ToString();
|
||||
switch (str)
|
||||
{
|
||||
case "本周":
|
||||
int daysToMonday = (int)today.DayOfWeek - (int)DayOfWeek.Monday;
|
||||
if (daysToMonday < 0)
|
||||
daysToMonday += 7;
|
||||
DateTime startOfWeek = today.AddDays(-daysToMonday);
|
||||
DateTime endOfWeek = startOfWeek.AddDays(6);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
case "上周":
|
||||
daysToMonday = (int)today.DayOfWeek - (int)DayOfWeek.Monday;
|
||||
if (daysToMonday < 0)
|
||||
daysToMonday += 7;
|
||||
startOfWeek = today.AddDays(-daysToMonday - 7);
|
||||
endOfWeek = startOfWeek.AddDays(6);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
case "本月":
|
||||
startOfWeek = new DateTime(today.Year, today.Month, 1);
|
||||
endOfWeek = startOfWeek.AddMonths(1).AddDays(-1);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
case "上月":
|
||||
startOfWeek = new DateTime(today.Year, today.Month, 1);
|
||||
endOfWeek = startOfWeek.AddMonths(1).AddDays(-1);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
case "本年":
|
||||
startOfWeek = new DateTime(today.Year, 1, 1);
|
||||
endOfWeek = startOfWeek.AddYears(1).AddDays(-1);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
case "去年":
|
||||
startOfWeek = new DateTime(today.Year - 1, 1, 1);
|
||||
endOfWeek = startOfWeek.AddYears(1).AddDays(-1);
|
||||
datePickerRange.Value = new DateTime[] { startOfWeek, endOfWeek };
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -35,11 +35,12 @@ namespace AntdUIDemo.Views
|
||||
stackPanel.Vertical = select_vertical.SelectedIndex == 0;
|
||||
|
||||
stackPanel.Controls.Clear();
|
||||
for (int i= 0; i < 3; i++){
|
||||
for (int i = 1; i < 4; i++)
|
||||
{
|
||||
var control = new AntdUI.Button()
|
||||
{
|
||||
Margin=new Padding(0),
|
||||
Padding=new Padding(3),
|
||||
Margin = new Padding(0),
|
||||
Padding = new Padding(3),
|
||||
Text = $"Button{i}",
|
||||
Type = TTypeMini.Primary,
|
||||
WaveSize = 0,
|
||||
@@ -104,7 +105,7 @@ namespace AntdUIDemo.Views
|
||||
{
|
||||
Margin = new Padding(0),
|
||||
Padding = new Padding(3),
|
||||
Text = $"Button{stackPanel.Controls.Count}",
|
||||
Text = $"Button{stackPanel.Controls.Count+1}",
|
||||
Type = TTypeMini.Primary,
|
||||
WaveSize = 0,
|
||||
Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(134))),
|
||||
|
||||
Reference in New Issue
Block a user