1.6.11存在部分BUG,不建议更新,包括点击部分控件出现safehandle报错,日历控件设置最大/小范围弹窗出现闪烁
This commit is contained in:
parent
56a2f6ade3
commit
607060d0ad
283
Views/DatePickerDemo.Designer.cs
generated
283
Views/DatePickerDemo.Designer.cs
generated
@ -30,6 +30,18 @@
|
|||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DatePickerDemo));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DatePickerDemo));
|
||||||
this.stackPanel1 = new AntdUI.StackPanel();
|
this.stackPanel1 = new AntdUI.StackPanel();
|
||||||
|
this.flowPanel4 = new AntdUI.FlowPanel();
|
||||||
|
this.datePicker_badge = new AntdUI.DatePicker();
|
||||||
|
this.label6 = 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.flowPanel5 = new AntdUI.FlowPanel();
|
||||||
|
this.datePicker_maxdate = new AntdUI.DatePicker();
|
||||||
|
this.datePicker_mindate = new AntdUI.DatePicker();
|
||||||
|
this.label7 = new AntdUI.Label();
|
||||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||||
this.datePicker6 = new AntdUI.DatePicker();
|
this.datePicker6 = new AntdUI.DatePicker();
|
||||||
this.datePicker5 = new AntdUI.DatePicker();
|
this.datePicker5 = new AntdUI.DatePicker();
|
||||||
@ -46,24 +58,12 @@
|
|||||||
this.divider1 = new AntdUI.Divider();
|
this.divider1 = new AntdUI.Divider();
|
||||||
this.label2 = new AntdUI.Label();
|
this.label2 = new AntdUI.Label();
|
||||||
this.label1 = new AntdUI.Label();
|
this.label1 = new AntdUI.Label();
|
||||||
this.label7 = new AntdUI.Label();
|
|
||||||
this.flowPanel5 = new AntdUI.FlowPanel();
|
|
||||||
this.datePicker15 = new AntdUI.DatePicker();
|
|
||||||
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.flowPanel4 = new AntdUI.FlowPanel();
|
|
||||||
this.datePicker_badge = new AntdUI.DatePicker();
|
|
||||||
this.label6 = new AntdUI.Label();
|
|
||||||
this.datePicker_maxdate = new AntdUI.DatePicker();
|
|
||||||
this.stackPanel1.SuspendLayout();
|
this.stackPanel1.SuspendLayout();
|
||||||
|
this.flowPanel4.SuspendLayout();
|
||||||
|
this.flowPanel2.SuspendLayout();
|
||||||
|
this.flowPanel5.SuspendLayout();
|
||||||
this.flowPanel1.SuspendLayout();
|
this.flowPanel1.SuspendLayout();
|
||||||
this.flowPanel3.SuspendLayout();
|
this.flowPanel3.SuspendLayout();
|
||||||
this.flowPanel5.SuspendLayout();
|
|
||||||
this.flowPanel2.SuspendLayout();
|
|
||||||
this.flowPanel4.SuspendLayout();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// stackPanel1
|
// stackPanel1
|
||||||
@ -89,6 +89,128 @@
|
|||||||
this.stackPanel1.Text = "stackPanel1";
|
this.stackPanel1.Text = "stackPanel1";
|
||||||
this.stackPanel1.Vertical = true;
|
this.stackPanel1.Vertical = true;
|
||||||
//
|
//
|
||||||
|
// flowPanel4
|
||||||
|
//
|
||||||
|
this.flowPanel4.Controls.Add(this.datePicker_badge);
|
||||||
|
this.flowPanel4.Location = new System.Drawing.Point(3, 423);
|
||||||
|
this.flowPanel4.Name = "flowPanel4";
|
||||||
|
this.flowPanel4.Size = new System.Drawing.Size(694, 38);
|
||||||
|
this.flowPanel4.TabIndex = 42;
|
||||||
|
this.flowPanel4.Text = "flowPanel4";
|
||||||
|
//
|
||||||
|
// datePicker_badge
|
||||||
|
//
|
||||||
|
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.Placement = AntdUI.TAlignFrom.TL;
|
||||||
|
this.datePicker_badge.Size = new System.Drawing.Size(107, 32);
|
||||||
|
this.datePicker_badge.TabIndex = 0;
|
||||||
|
this.datePicker_badge.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, 393);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(694, 24);
|
||||||
|
this.label6.TabIndex = 41;
|
||||||
|
this.label6.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, 349);
|
||||||
|
this.flowPanel2.Name = "flowPanel2";
|
||||||
|
this.flowPanel2.Size = new System.Drawing.Size(694, 38);
|
||||||
|
this.flowPanel2.TabIndex = 40;
|
||||||
|
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, 319);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||||
|
this.label4.TabIndex = 39;
|
||||||
|
this.label4.Text = "标签显示";
|
||||||
|
//
|
||||||
|
// flowPanel5
|
||||||
|
//
|
||||||
|
this.flowPanel5.Controls.Add(this.datePicker_maxdate);
|
||||||
|
this.flowPanel5.Controls.Add(this.datePicker_mindate);
|
||||||
|
this.flowPanel5.Location = new System.Drawing.Point(3, 275);
|
||||||
|
this.flowPanel5.Name = "flowPanel5";
|
||||||
|
this.flowPanel5.Size = new System.Drawing.Size(694, 38);
|
||||||
|
this.flowPanel5.TabIndex = 38;
|
||||||
|
this.flowPanel5.Text = "flowPanel5";
|
||||||
|
//
|
||||||
|
// datePicker_maxdate
|
||||||
|
//
|
||||||
|
this.datePicker_maxdate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.datePicker_maxdate.Location = new System.Drawing.Point(116, 3);
|
||||||
|
this.datePicker_maxdate.Name = "datePicker_maxdate";
|
||||||
|
this.datePicker_maxdate.PlaceholderText = "最大日期";
|
||||||
|
this.datePicker_maxdate.Size = new System.Drawing.Size(107, 32);
|
||||||
|
this.datePicker_maxdate.TabIndex = 1;
|
||||||
|
this.datePicker_maxdate.WaveSize = 0;
|
||||||
|
//
|
||||||
|
// datePicker_mindate
|
||||||
|
//
|
||||||
|
this.datePicker_mindate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.datePicker_mindate.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.datePicker_mindate.Name = "datePicker_mindate";
|
||||||
|
this.datePicker_mindate.PlaceholderText = "最小日期";
|
||||||
|
this.datePicker_mindate.Size = new System.Drawing.Size(107, 32);
|
||||||
|
this.datePicker_mindate.TabIndex = 0;
|
||||||
|
this.datePicker_mindate.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, 245);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(694, 24);
|
||||||
|
this.label7.TabIndex = 37;
|
||||||
|
this.label7.Text = "日期范围";
|
||||||
|
//
|
||||||
// flowPanel1
|
// flowPanel1
|
||||||
//
|
//
|
||||||
this.flowPanel1.Controls.Add(this.datePicker6);
|
this.flowPanel1.Controls.Add(this.datePicker6);
|
||||||
@ -254,129 +376,6 @@
|
|||||||
this.label1.TabIndex = 8;
|
this.label1.TabIndex = 8;
|
||||||
this.label1.Text = "DatePicker 日期选择器";
|
this.label1.Text = "DatePicker 日期选择器";
|
||||||
//
|
//
|
||||||
// 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, 245);
|
|
||||||
this.label7.Name = "label7";
|
|
||||||
this.label7.Size = new System.Drawing.Size(694, 24);
|
|
||||||
this.label7.TabIndex = 37;
|
|
||||||
this.label7.Text = "日期范围";
|
|
||||||
//
|
|
||||||
// flowPanel5
|
|
||||||
//
|
|
||||||
this.flowPanel5.Controls.Add(this.datePicker_maxdate);
|
|
||||||
this.flowPanel5.Controls.Add(this.datePicker15);
|
|
||||||
this.flowPanel5.Location = new System.Drawing.Point(3, 275);
|
|
||||||
this.flowPanel5.Name = "flowPanel5";
|
|
||||||
this.flowPanel5.Size = new System.Drawing.Size(694, 38);
|
|
||||||
this.flowPanel5.TabIndex = 38;
|
|
||||||
this.flowPanel5.Text = "flowPanel5";
|
|
||||||
//
|
|
||||||
// datePicker15
|
|
||||||
//
|
|
||||||
this.datePicker15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
||||||
this.datePicker15.Location = new System.Drawing.Point(3, 3);
|
|
||||||
this.datePicker15.MinDate = new System.DateTime(2024, 9, 14, 0, 0, 0, 0);
|
|
||||||
this.datePicker15.Name = "datePicker15";
|
|
||||||
this.datePicker15.PlaceholderText = "最小日期";
|
|
||||||
this.datePicker15.Size = new System.Drawing.Size(107, 32);
|
|
||||||
this.datePicker15.TabIndex = 0;
|
|
||||||
this.datePicker15.WaveSize = 0;
|
|
||||||
//
|
|
||||||
// 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, 349);
|
|
||||||
this.flowPanel2.Name = "flowPanel2";
|
|
||||||
this.flowPanel2.Size = new System.Drawing.Size(694, 38);
|
|
||||||
this.flowPanel2.TabIndex = 40;
|
|
||||||
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, 319);
|
|
||||||
this.label4.Name = "label4";
|
|
||||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
|
||||||
this.label4.TabIndex = 39;
|
|
||||||
this.label4.Text = "标签显示";
|
|
||||||
//
|
|
||||||
// flowPanel4
|
|
||||||
//
|
|
||||||
this.flowPanel4.Controls.Add(this.datePicker_badge);
|
|
||||||
this.flowPanel4.Location = new System.Drawing.Point(3, 423);
|
|
||||||
this.flowPanel4.Name = "flowPanel4";
|
|
||||||
this.flowPanel4.Size = new System.Drawing.Size(694, 38);
|
|
||||||
this.flowPanel4.TabIndex = 42;
|
|
||||||
this.flowPanel4.Text = "flowPanel4";
|
|
||||||
//
|
|
||||||
// datePicker_badge
|
|
||||||
//
|
|
||||||
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.Placement = AntdUI.TAlignFrom.TL;
|
|
||||||
this.datePicker_badge.Size = new System.Drawing.Size(107, 32);
|
|
||||||
this.datePicker_badge.TabIndex = 0;
|
|
||||||
this.datePicker_badge.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, 393);
|
|
||||||
this.label6.Name = "label6";
|
|
||||||
this.label6.Size = new System.Drawing.Size(694, 24);
|
|
||||||
this.label6.TabIndex = 41;
|
|
||||||
this.label6.Text = "日期徽标";
|
|
||||||
//
|
|
||||||
// datePicker_maxdate
|
|
||||||
//
|
|
||||||
this.datePicker_maxdate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
||||||
this.datePicker_maxdate.Location = new System.Drawing.Point(116, 3);
|
|
||||||
this.datePicker_maxdate.Name = "datePicker_maxdate";
|
|
||||||
this.datePicker_maxdate.PlaceholderText = "最大日期";
|
|
||||||
this.datePicker_maxdate.Size = new System.Drawing.Size(107, 32);
|
|
||||||
this.datePicker_maxdate.TabIndex = 1;
|
|
||||||
this.datePicker_maxdate.WaveSize = 0;
|
|
||||||
//
|
|
||||||
// DatePickerDemo
|
// DatePickerDemo
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||||
@ -384,11 +383,11 @@
|
|||||||
this.Name = "DatePickerDemo";
|
this.Name = "DatePickerDemo";
|
||||||
this.Size = new System.Drawing.Size(700, 513);
|
this.Size = new System.Drawing.Size(700, 513);
|
||||||
this.stackPanel1.ResumeLayout(false);
|
this.stackPanel1.ResumeLayout(false);
|
||||||
|
this.flowPanel4.ResumeLayout(false);
|
||||||
|
this.flowPanel2.ResumeLayout(false);
|
||||||
|
this.flowPanel5.ResumeLayout(false);
|
||||||
this.flowPanel1.ResumeLayout(false);
|
this.flowPanel1.ResumeLayout(false);
|
||||||
this.flowPanel3.ResumeLayout(false);
|
this.flowPanel3.ResumeLayout(false);
|
||||||
this.flowPanel5.ResumeLayout(false);
|
|
||||||
this.flowPanel2.ResumeLayout(false);
|
|
||||||
this.flowPanel4.ResumeLayout(false);
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -413,7 +412,7 @@
|
|||||||
private AntdUI.DatePicker datePicker1;
|
private AntdUI.DatePicker datePicker1;
|
||||||
private AntdUI.Label label3;
|
private AntdUI.Label label3;
|
||||||
private AntdUI.FlowPanel flowPanel5;
|
private AntdUI.FlowPanel flowPanel5;
|
||||||
private AntdUI.DatePicker datePicker15;
|
private AntdUI.DatePicker datePicker_mindate;
|
||||||
private AntdUI.Label label7;
|
private AntdUI.Label label7;
|
||||||
private AntdUI.FlowPanel flowPanel2;
|
private AntdUI.FlowPanel flowPanel2;
|
||||||
private AntdUI.DatePicker datePicker8;
|
private AntdUI.DatePicker datePicker8;
|
||||||
|
|||||||
@ -25,6 +25,8 @@ namespace AntdUIDemo.Views
|
|||||||
new AntdUI.DateBadge(now.AddDays(-3).ToString("yyyy-MM-dd"),8,Color.FromArgb(14, 176, 201)),
|
new AntdUI.DateBadge(now.AddDays(-3).ToString("yyyy-MM-dd"),8,Color.FromArgb(14, 176, 201)),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
//设置最小日期为当前日期7天前
|
||||||
|
datePicker_mindate.MinDate = now.AddDays(-7);
|
||||||
//设置最大日期为当前日期的7天后
|
//设置最大日期为当前日期的7天后
|
||||||
datePicker_maxdate.MaxDate = now.AddDays(7);
|
datePicker_maxdate.MaxDate = now.AddDays(7);
|
||||||
}
|
}
|
||||||
|
|||||||
3
Views/InputDemo.Designer.cs
generated
3
Views/InputDemo.Designer.cs
generated
@ -664,6 +664,7 @@
|
|||||||
//
|
//
|
||||||
this.input21.BackExtend = "135, #6253E1, #04BEFE";
|
this.input21.BackExtend = "135, #6253E1, #04BEFE";
|
||||||
this.input21.Badge = "";
|
this.input21.Badge = "";
|
||||||
|
this.input21.BorderWidth = 0F;
|
||||||
this.input21.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.input21.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.input21.Location = new System.Drawing.Point(3, 3);
|
this.input21.Location = new System.Drawing.Point(3, 3);
|
||||||
this.input21.Name = "input21";
|
this.input21.Name = "input21";
|
||||||
@ -675,6 +676,7 @@
|
|||||||
//
|
//
|
||||||
this.input19.BackExtend = "45, #a8edea, #fed6e3";
|
this.input19.BackExtend = "45, #a8edea, #fed6e3";
|
||||||
this.input19.Badge = "";
|
this.input19.Badge = "";
|
||||||
|
this.input19.BorderWidth = 0F;
|
||||||
this.input19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.input19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.input19.Location = new System.Drawing.Point(415, 3);
|
this.input19.Location = new System.Drawing.Point(415, 3);
|
||||||
this.input19.Name = "input19";
|
this.input19.Name = "input19";
|
||||||
@ -686,6 +688,7 @@
|
|||||||
//
|
//
|
||||||
this.input22.BackExtend = "135, #8693AB, #BDD4E7";
|
this.input22.BackExtend = "135, #8693AB, #BDD4E7";
|
||||||
this.input22.Badge = "";
|
this.input22.Badge = "";
|
||||||
|
this.input22.BorderWidth = 0F;
|
||||||
this.input22.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.input22.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.input22.Location = new System.Drawing.Point(209, 3);
|
this.input22.Location = new System.Drawing.Point(209, 3);
|
||||||
this.input22.Name = "input22";
|
this.input22.Name = "input22";
|
||||||
|
|||||||
@ -117,12 +117,6 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<data name="input2.PrefixSvg" xml:space="preserve">
|
|
||||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></value>
|
|
||||||
</data>
|
|
||||||
<data name="input2.SuffixSvg" xml:space="preserve">
|
|
||||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg></value>
|
|
||||||
</data>
|
|
||||||
<metadata name="tooltipComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tooltipComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -132,9 +126,12 @@
|
|||||||
<data name="button1.IconSvg" xml:space="preserve">
|
<data name="button1.IconSvg" xml:space="preserve">
|
||||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></value>
|
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="tooltipComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="input2.PrefixSvg" xml:space="preserve">
|
||||||
<value>17, 17</value>
|
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></value>
|
||||||
</metadata>
|
</data>
|
||||||
|
<data name="input2.SuffixSvg" xml:space="preserve">
|
||||||
|
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg></value>
|
||||||
|
</data>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>52</value>
|
<value>52</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user