diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj index 7091a2f..23e5625 100644 --- a/AntdUIDemo.csproj +++ b/AntdUIDemo.csproj @@ -2,7 +2,7 @@ WinExe - net48 + net48 true SystemAware true diff --git a/App.config b/App.config deleted file mode 100644 index 6fd3e06..0000000 --- a/App.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/README.md b/README.md index 41fb903..06c57f1 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,16 @@ 本项目基于 `Winform .NET Framework 4.8` 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目,当前版本 `1.5.8` ## ✅ 快速开始 -``` -1. git clone 或者直接下载本项目 -2. 使用 Visual Studio 打开本项目 +>1. git clone 或者直接下载本项目 +>2. 使用 Visual Studio 打开本项目 +>3. 若电脑没有安装 .NET Framework 4.8,编辑项目文件设置 TargetFramework 属性为自己安装的目标框架,参照 [AntdUI兼容框架](https://www.nuget.org/packages/AntdUI#supportedframeworks-body-tab) +>4. 编译运行 -3. 若电脑没有安装 .NET Framework 4.8,编辑项目文件设置 TargetFramework 属性为自己安装的目标框架,兼容框架参照 AntdUI 项目 - -4. 编译运行 -``` ## ⚠️ 注意事项 - 电脑屏幕分辨率低于 1920×1080(1080P) 请使用大于等于 1080P 分辨率的屏幕开发 - 电脑屏幕分辨率大于 1080P 或者缩放不是 100% 的,务必选择以下任一方式打开项目: - 1. 使用 `devenv /noScale` 命令启动 Visual Studio并点击`文件-打开-项目/解决方案`,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,如下所示 + 1. 使用 `devenv /noScale` 命令启动 Visual Studio 并点击`文件-打开-项目/解决方案`,详细原因见 [解决 Visual Studio 中 Windows 窗体设计器的 HDPI/缩放问题](https://learn.microsoft.com/zh-cn/visualstudio/designers/disable-dpi-awareness?view=vs-2022) ,如下所示 ![vsstart](assets/screenshots/vsstart.png) ![vsopen](assets/screenshots/vsopen.png) 2. 直接打开项目,在窗口页面提示点击 **使用 100% 缩放比例重新启动 Visual Studio**,如下所示 diff --git a/Views/DatePickerDemo.Designer.cs b/Views/DatePickerDemo.Designer.cs index 22ce07b..727f253 100644 --- a/Views/DatePickerDemo.Designer.cs +++ b/Views/DatePickerDemo.Designer.cs @@ -30,17 +30,6 @@ { 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.divider1 = new AntdUI.Divider(); - this.label2 = new AntdUI.Label(); - this.label1 = new AntdUI.Label(); - this.datePicker10 = new AntdUI.DatePicker(); - 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(); @@ -54,11 +43,22 @@ this.datePicker2 = new AntdUI.DatePicker(); this.datePicker1 = new AntdUI.DatePicker(); this.label3 = new AntdUI.Label(); + this.flowPanel4 = new AntdUI.FlowPanel(); + this.datePicker_badge = new AntdUI.DatePicker(); + this.label6 = new AntdUI.Label(); + this.flowPanel3 = new AntdUI.FlowPanel(); + this.datePicker10 = new AntdUI.DatePicker(); + this.datePicker7 = new AntdUI.DatePicker(); + this.datePicker11 = new AntdUI.DatePicker(); + this.label5 = new AntdUI.Label(); + this.divider1 = new AntdUI.Divider(); + this.label2 = new AntdUI.Label(); + this.label1 = new AntdUI.Label(); this.stackPanel1.SuspendLayout(); - this.flowPanel3.SuspendLayout(); - this.flowPanel4.SuspendLayout(); this.flowPanel2.SuspendLayout(); this.flowPanel1.SuspendLayout(); + this.flowPanel4.SuspendLayout(); + this.flowPanel3.SuspendLayout(); this.SuspendLayout(); // // stackPanel1 @@ -82,111 +82,6 @@ this.stackPanel1.Text = "stackPanel1"; this.stackPanel1.Vertical = true; // - // flowPanel3 - // - this.flowPanel3.Controls.Add(this.datePicker10); - this.flowPanel3.Controls.Add(this.datePicker7); - this.flowPanel3.Controls.Add(this.datePicker11); - this.flowPanel3.Location = new System.Drawing.Point(3, 127); - 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, 97); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(694, 24); - this.label5.TabIndex = 15; - this.label5.Text = "日期格式化"; - // - // 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 = 10; - // - // 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 = 9; - 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 = 8; - this.label1.Text = "DatePicker 日期选择器"; - // - // datePicker10 - // - this.datePicker10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.datePicker10.Format = "yyyy-MM-dd HH:mm:ss"; - this.datePicker10.Location = new System.Drawing.Point(229, 3); - this.datePicker10.Name = "datePicker10"; - this.datePicker10.PlaceholderText = "yyyy-MM-dd HH:mm:ss"; - this.datePicker10.Size = new System.Drawing.Size(220, 32); - this.datePicker10.TabIndex = 2; - this.datePicker10.WaveSize = 0; - // - // flowPanel4 - // - this.flowPanel4.Controls.Add(this.datePicker_badge); - this.flowPanel4.Location = new System.Drawing.Point(3, 201); - this.flowPanel4.Name = "flowPanel4"; - this.flowPanel4.Size = new System.Drawing.Size(694, 38); - this.flowPanel4.TabIndex = 30; - 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.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, 171); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(694, 24); - this.label6.TabIndex = 29; - this.label6.Text = "日期徽标"; - // // flowPanel2 // this.flowPanel2.Controls.Add(this.datePicker8); @@ -239,7 +134,7 @@ this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(694, 24); this.label4.TabIndex = 35; - this.label4.Text = "图标显示"; + this.label4.Text = "标签显示"; // // flowPanel1 // @@ -329,6 +224,111 @@ this.label3.TabIndex = 33; this.label3.Text = "显示位置"; // + // flowPanel4 + // + this.flowPanel4.Controls.Add(this.datePicker_badge); + this.flowPanel4.Location = new System.Drawing.Point(3, 201); + this.flowPanel4.Name = "flowPanel4"; + this.flowPanel4.Size = new System.Drawing.Size(694, 38); + this.flowPanel4.TabIndex = 30; + 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.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, 171); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(694, 24); + this.label6.TabIndex = 29; + this.label6.Text = "日期徽标"; + // + // flowPanel3 + // + this.flowPanel3.Controls.Add(this.datePicker10); + this.flowPanel3.Controls.Add(this.datePicker7); + this.flowPanel3.Controls.Add(this.datePicker11); + this.flowPanel3.Location = new System.Drawing.Point(3, 127); + this.flowPanel3.Name = "flowPanel3"; + this.flowPanel3.Size = new System.Drawing.Size(694, 38); + this.flowPanel3.TabIndex = 16; + this.flowPanel3.Text = "flowPanel3"; + // + // datePicker10 + // + this.datePicker10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.datePicker10.Format = "yyyy-MM-dd HH:mm:ss"; + this.datePicker10.Location = new System.Drawing.Point(229, 3); + this.datePicker10.Name = "datePicker10"; + this.datePicker10.PlaceholderText = "yyyy-MM-dd HH:mm:ss"; + this.datePicker10.Size = new System.Drawing.Size(220, 32); + this.datePicker10.TabIndex = 2; + this.datePicker10.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; + // + // 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, 97); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(694, 24); + this.label5.TabIndex = 15; + this.label5.Text = "日期格式化"; + // + // 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 = 10; + // + // 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 = 9; + 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 = 8; + this.label1.Text = "DatePicker 日期选择器"; + // // DatePickerDemo // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; @@ -336,10 +336,10 @@ this.Name = "DatePickerDemo"; this.Size = new System.Drawing.Size(700, 471); this.stackPanel1.ResumeLayout(false); - this.flowPanel3.ResumeLayout(false); - this.flowPanel4.ResumeLayout(false); this.flowPanel2.ResumeLayout(false); this.flowPanel1.ResumeLayout(false); + this.flowPanel4.ResumeLayout(false); + this.flowPanel3.ResumeLayout(false); this.ResumeLayout(false); } diff --git a/Views/SelectDemo.Designer.cs b/Views/SelectDemo.Designer.cs index dc5bc90..ab3a772 100644 --- a/Views/SelectDemo.Designer.cs +++ b/Views/SelectDemo.Designer.cs @@ -30,43 +30,43 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectDemo)); this.stackPanel1 = new AntdUI.StackPanel(); - this.divider1 = new AntdUI.Divider(); - this.label2 = new AntdUI.Label(); - this.label1 = new AntdUI.Label(); - this.label3 = new AntdUI.Label(); - this.flowPanel1 = new AntdUI.FlowPanel(); - this.select4 = new AntdUI.Select(); - this.select3 = new AntdUI.Select(); - this.select2 = new AntdUI.Select(); - this.select1 = new AntdUI.Select(); - this.label4 = new AntdUI.Label(); - this.flowPanel2 = new AntdUI.FlowPanel(); - this.select5 = new AntdUI.Select(); - this.select6 = new AntdUI.Select(); - this.select7 = new AntdUI.Select(); + this.flowPanel6 = new AntdUI.FlowPanel(); + this.select_custom = new AntdUI.Select(); + this.label8 = new AntdUI.Label(); + this.flowPanel5 = new AntdUI.FlowPanel(); + this.select15 = new AntdUI.Select(); + this.select16 = new AntdUI.Select(); + this.label7 = new AntdUI.Label(); this.flowPanel4 = new AntdUI.FlowPanel(); this.select12 = new AntdUI.Select(); this.select11 = new AntdUI.Select(); this.select13 = new AntdUI.Select(); this.label6 = new AntdUI.Label(); + this.flowPanel2 = new AntdUI.FlowPanel(); this.select8 = new AntdUI.Select(); this.select9 = new AntdUI.Select(); this.select10 = new AntdUI.Select(); - this.label7 = new AntdUI.Label(); - this.flowPanel5 = new AntdUI.FlowPanel(); - this.select16 = new AntdUI.Select(); - this.select15 = new AntdUI.Select(); - this.select17 = new AntdUI.Select(); - this.label8 = new AntdUI.Label(); - this.flowPanel6 = new AntdUI.FlowPanel(); - this.select_custom = new AntdUI.Select(); + this.select7 = new AntdUI.Select(); + this.select6 = new AntdUI.Select(); + this.select5 = new AntdUI.Select(); + this.label4 = new AntdUI.Label(); + this.flowPanel1 = new AntdUI.FlowPanel(); this.select18 = new AntdUI.Select(); + this.select17 = new AntdUI.Select(); + this.select3 = new AntdUI.Select(); + this.select2 = new AntdUI.Select(); + this.select1 = new AntdUI.Select(); + this.select4 = new AntdUI.Select(); + this.label3 = new AntdUI.Label(); + this.divider1 = new AntdUI.Divider(); + this.label2 = new AntdUI.Label(); + this.label1 = new AntdUI.Label(); this.stackPanel1.SuspendLayout(); - this.flowPanel1.SuspendLayout(); - this.flowPanel2.SuspendLayout(); - this.flowPanel4.SuspendLayout(); - this.flowPanel5.SuspendLayout(); this.flowPanel6.SuspendLayout(); + this.flowPanel5.SuspendLayout(); + this.flowPanel4.SuspendLayout(); + this.flowPanel2.SuspendLayout(); + this.flowPanel1.SuspendLayout(); this.SuspendLayout(); // // stackPanel1 @@ -92,6 +92,421 @@ this.stackPanel1.Text = "stackPanel1"; this.stackPanel1.Vertical = true; // + // flowPanel6 + // + this.flowPanel6.Controls.Add(this.select_custom); + this.flowPanel6.Gap = 6; + this.flowPanel6.Location = new System.Drawing.Point(3, 423); + this.flowPanel6.Name = "flowPanel6"; + this.flowPanel6.Size = new System.Drawing.Size(694, 38); + this.flowPanel6.TabIndex = 28; + this.flowPanel6.Text = "flowPanel6"; + // + // select_custom + // + this.select_custom.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select_custom.ListAutoWidth = true; + this.select_custom.Location = new System.Drawing.Point(3, 3); + this.select_custom.MaxCount = 6; + this.select_custom.Name = "select_custom"; + this.select_custom.PlaceholderText = ""; + this.select_custom.Placement = AntdUI.TAlignFrom.TL; + this.select_custom.Size = new System.Drawing.Size(100, 32); + this.select_custom.TabIndex = 3; + this.select_custom.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, 393); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(694, 24); + this.label8.TabIndex = 27; + this.label8.Text = "自定义样式"; + // + // flowPanel5 + // + this.flowPanel5.Controls.Add(this.select15); + this.flowPanel5.Controls.Add(this.select16); + this.flowPanel5.Gap = 6; + this.flowPanel5.Location = new System.Drawing.Point(3, 349); + this.flowPanel5.Name = "flowPanel5"; + this.flowPanel5.Size = new System.Drawing.Size(694, 38); + this.flowPanel5.TabIndex = 26; + this.flowPanel5.Text = "flowPanel5"; + // + // select15 + // + this.select15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select15.Items.AddRange(new object[] { + "Jack", + "Lucy", + "图标", + "Tom", + "Jerry"}); + this.select15.Location = new System.Drawing.Point(115, 3); + this.select15.Name = "select15"; + this.select15.PlaceholderText = "图标"; + this.select15.PrefixSvg = resources.GetString("select15.PrefixSvg"); + this.select15.Size = new System.Drawing.Size(100, 32); + this.select15.SuffixSvg = resources.GetString("select15.SuffixSvg"); + this.select15.TabIndex = 5; + this.select15.WaveSize = 0; + // + // select16 + // + this.select16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select16.Items.AddRange(new object[] { + "Jack", + "Lucy", + "文本", + "Tom", + "Jerry"}); + this.select16.Location = new System.Drawing.Point(3, 3); + this.select16.Name = "select16"; + this.select16.PlaceholderText = "文本"; + this.select16.PrefixText = "+"; + this.select16.Size = new System.Drawing.Size(100, 32); + this.select16.SuffixText = "$"; + this.select16.TabIndex = 4; + this.select16.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, 319); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(694, 24); + this.label7.TabIndex = 25; + this.label7.Text = "前/后标签"; + // + // flowPanel4 + // + this.flowPanel4.Controls.Add(this.select12); + this.flowPanel4.Controls.Add(this.select11); + this.flowPanel4.Controls.Add(this.select13); + this.flowPanel4.Gap = 6; + this.flowPanel4.Location = new System.Drawing.Point(3, 275); + this.flowPanel4.Name = "flowPanel4"; + this.flowPanel4.Size = new System.Drawing.Size(694, 38); + this.flowPanel4.TabIndex = 24; + this.flowPanel4.Text = "flowPanel4"; + // + // select12 + // + this.select12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select12.Items.AddRange(new object[] { + "Jack", + "Lucy", + "5", + "Tom", + "Jerry"}); + this.select12.Location = new System.Drawing.Point(227, 3); + this.select12.MaxCount = 5; + this.select12.Name = "select12"; + this.select12.PlaceholderText = "5"; + this.select12.Size = new System.Drawing.Size(100, 32); + this.select12.TabIndex = 6; + this.select12.WaveSize = 0; + // + // select11 + // + this.select11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select11.Items.AddRange(new object[] { + "Jack", + "Lucy", + "4", + "Tom", + "Jerry"}); + this.select11.Location = new System.Drawing.Point(115, 3); + this.select11.Name = "select11"; + this.select11.PlaceholderText = "4"; + this.select11.Size = new System.Drawing.Size(100, 32); + this.select11.TabIndex = 5; + this.select11.WaveSize = 0; + // + // select13 + // + this.select13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select13.Items.AddRange(new object[] { + "Jack", + "Lucy", + "3", + "Tom", + "Jerry"}); + this.select13.Location = new System.Drawing.Point(3, 3); + this.select13.MaxCount = 3; + this.select13.Name = "select13"; + this.select13.PlaceholderText = "3"; + this.select13.Size = new System.Drawing.Size(100, 32); + this.select13.TabIndex = 4; + this.select13.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, 245); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(694, 24); + this.label6.TabIndex = 23; + this.label6.Text = "显示数量"; + // + // flowPanel2 + // + this.flowPanel2.Controls.Add(this.select8); + this.flowPanel2.Controls.Add(this.select9); + this.flowPanel2.Controls.Add(this.select10); + this.flowPanel2.Controls.Add(this.select7); + this.flowPanel2.Controls.Add(this.select6); + this.flowPanel2.Controls.Add(this.select5); + this.flowPanel2.Gap = 6; + 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 = 15; + this.flowPanel2.Text = "flowPanel2"; + // + // select8 + // + this.select8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select8.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "TL", + "Tom", + "Jerry"}); + this.select8.ListAutoWidth = true; + this.select8.Location = new System.Drawing.Point(563, 3); + this.select8.Name = "select8"; + this.select8.PlaceholderText = "TL"; + this.select8.Placement = AntdUI.TAlignFrom.TL; + this.select8.Size = new System.Drawing.Size(100, 32); + this.select8.TabIndex = 12; + this.select8.WaveSize = 0; + // + // select9 + // + this.select9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select9.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "Top", + "Tom", + "Jerry"}); + this.select9.ListAutoWidth = true; + this.select9.Location = new System.Drawing.Point(451, 3); + this.select9.Name = "select9"; + this.select9.PlaceholderText = "Top"; + this.select9.Placement = AntdUI.TAlignFrom.Top; + this.select9.Size = new System.Drawing.Size(100, 32); + this.select9.TabIndex = 11; + this.select9.WaveSize = 0; + // + // select10 + // + this.select10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select10.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "TR", + "Tom", + "Jerry"}); + this.select10.ListAutoWidth = true; + this.select10.Location = new System.Drawing.Point(339, 3); + this.select10.Name = "select10"; + this.select10.PlaceholderText = "TR"; + this.select10.Placement = AntdUI.TAlignFrom.TR; + this.select10.Size = new System.Drawing.Size(100, 32); + this.select10.TabIndex = 10; + this.select10.WaveSize = 0; + // + // select7 + // + this.select7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select7.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "BR", + "Tom", + "Jerry"}); + this.select7.ListAutoWidth = true; + this.select7.Location = new System.Drawing.Point(227, 3); + this.select7.Name = "select7"; + this.select7.PlaceholderText = "BR"; + this.select7.Placement = AntdUI.TAlignFrom.BR; + this.select7.Size = new System.Drawing.Size(100, 32); + this.select7.TabIndex = 6; + this.select7.WaveSize = 0; + // + // select6 + // + this.select6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select6.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "Bottom", + "Tom", + "Jerry"}); + this.select6.ListAutoWidth = true; + this.select6.Location = new System.Drawing.Point(115, 3); + this.select6.Name = "select6"; + this.select6.PlaceholderText = "Bottom"; + this.select6.Placement = AntdUI.TAlignFrom.Bottom; + this.select6.Size = new System.Drawing.Size(100, 32); + this.select6.TabIndex = 5; + this.select6.WaveSize = 0; + // + // select5 + // + this.select5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select5.Items.AddRange(new object[] { + "Jack Jack Jack Jack Jack", + "Lucy", + "BL", + "Tom", + "Jerry"}); + this.select5.ListAutoWidth = true; + this.select5.Location = new System.Drawing.Point(3, 3); + this.select5.Name = "select5"; + this.select5.PlaceholderText = "BL"; + this.select5.Size = new System.Drawing.Size(100, 32); + this.select5.TabIndex = 4; + this.select5.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 = 14; + this.label4.Text = "弹出位置"; + // + // flowPanel1 + // + this.flowPanel1.Controls.Add(this.select18); + this.flowPanel1.Controls.Add(this.select17); + this.flowPanel1.Controls.Add(this.select3); + this.flowPanel1.Controls.Add(this.select2); + this.flowPanel1.Controls.Add(this.select1); + this.flowPanel1.Controls.Add(this.select4); + this.flowPanel1.Gap = 6; + this.flowPanel1.Location = new System.Drawing.Point(3, 127); + this.flowPanel1.Name = "flowPanel1"; + this.flowPanel1.Size = new System.Drawing.Size(694, 38); + this.flowPanel1.TabIndex = 13; + this.flowPanel1.Text = "flowPanel1"; + // + // select18 + // + this.select18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select18.Items.AddRange(new object[] { + "Jack", + "Lucy", + "不显示箭头", + "Tom", + "Jerry"}); + this.select18.Location = new System.Drawing.Point(563, 3); + this.select18.Name = "select18"; + this.select18.PlaceholderText = "不显示箭头"; + this.select18.ShowIcon = false; + this.select18.Size = new System.Drawing.Size(100, 32); + this.select18.TabIndex = 8; + this.select18.WaveSize = 0; + // + // select17 + // + this.select17.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select17.Items.AddRange(new object[] { + "Jack", + "Lucy", + "超容器显示全部文字可设置自动宽度", + "Tom", + "Jerry"}); + this.select17.ListAutoWidth = true; + this.select17.Location = new System.Drawing.Point(451, 3); + this.select17.Name = "select17"; + this.select17.PlaceholderText = "超容器文字"; + this.select17.Size = new System.Drawing.Size(100, 32); + this.select17.TabIndex = 7; + this.select17.WaveSize = 0; + // + // select3 + // + this.select3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select3.Items.AddRange(new object[] { + "Jack", + "Lucy", + "圆形样式", + "Tom", + "Jerry"}); + this.select3.Location = new System.Drawing.Point(339, 3); + this.select3.Name = "select3"; + this.select3.PlaceholderText = "圆形样式"; + this.select3.Round = true; + this.select3.Size = new System.Drawing.Size(100, 32); + this.select3.TabIndex = 6; + this.select3.WaveSize = 0; + // + // select2 + // + this.select2.AllowClear = true; + this.select2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select2.Items.AddRange(new object[] { + "Jack", + "Lucy", + "支持清除", + "Tom", + "Jerry"}); + this.select2.Location = new System.Drawing.Point(227, 3); + this.select2.Name = "select2"; + this.select2.PlaceholderText = "支持清除"; + this.select2.Size = new System.Drawing.Size(100, 32); + this.select2.TabIndex = 5; + this.select2.WaveSize = 0; + // + // select1 + // + this.select1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select1.Items.AddRange(new object[] { + "Jack", + "Lucy", + "默认支持输入匹配", + "Tom", + "Jerry"}); + this.select1.Location = new System.Drawing.Point(115, 3); + this.select1.Name = "select1"; + this.select1.PlaceholderText = "默认支持输入匹配"; + this.select1.Size = new System.Drawing.Size(100, 32); + this.select1.TabIndex = 4; + this.select1.WaveSize = 0; + // + // select4 + // + this.select4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.select4.Items.AddRange(new object[] { + "Jack", + "Lucy", + "列表模式", + "Tom", + "Jerry"}); + this.select4.List = true; + this.select4.Location = new System.Drawing.Point(3, 3); + this.select4.Name = "select4"; + this.select4.PlaceholderText = "列表样式"; + this.select4.Size = new System.Drawing.Size(100, 32); + this.select4.TabIndex = 3; + this.select4.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, 97); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(694, 24); + this.label3.TabIndex = 12; + this.label3.Text = "基本用法"; + // // divider1 // this.divider1.Location = new System.Drawing.Point(3, 79); @@ -117,467 +532,6 @@ this.label1.TabIndex = 5; this.label1.Text = "Select 选择器"; // - // 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, 97); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(694, 24); - this.label3.TabIndex = 12; - this.label3.Text = "基本用法"; - // - // flowPanel1 - // - this.flowPanel1.Controls.Add(this.select18); - this.flowPanel1.Controls.Add(this.select17); - this.flowPanel1.Controls.Add(this.select3); - this.flowPanel1.Controls.Add(this.select2); - this.flowPanel1.Controls.Add(this.select1); - this.flowPanel1.Controls.Add(this.select4); - this.flowPanel1.Gap = 6; - this.flowPanel1.Location = new System.Drawing.Point(3, 127); - this.flowPanel1.Name = "flowPanel1"; - this.flowPanel1.Size = new System.Drawing.Size(694, 38); - this.flowPanel1.TabIndex = 13; - this.flowPanel1.Text = "flowPanel1"; - // - // select4 - // - this.select4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select4.Items.AddRange(new object[] { - "Jack", - "Lucy", - "列表模式", - "Tom", - "Jerry"}); - this.select4.List = true; - this.select4.Location = new System.Drawing.Point(3, 3); - this.select4.Name = "select4"; - this.select4.PlaceholderText = "列表样式"; - this.select4.SelectedIndex = 2; - this.select4.SelectedValue = "列表模式"; - this.select4.Size = new System.Drawing.Size(100, 32); - this.select4.TabIndex = 3; - this.select4.Text = "列表模式"; - this.select4.WaveSize = 0; - // - // select3 - // - this.select3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select3.Items.AddRange(new object[] { - "Jack", - "Lucy", - "圆形样式", - "Tom", - "Jerry"}); - this.select3.Location = new System.Drawing.Point(339, 3); - this.select3.Name = "select3"; - this.select3.PlaceholderText = "圆形"; - this.select3.Round = true; - this.select3.SelectedIndex = 2; - this.select3.SelectedValue = "圆形样式"; - this.select3.Size = new System.Drawing.Size(100, 32); - this.select3.TabIndex = 6; - this.select3.Text = "圆形样式"; - this.select3.WaveSize = 0; - // - // select2 - // - this.select2.AllowClear = true; - this.select2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select2.Items.AddRange(new object[] { - "Jack", - "Lucy", - "支持清除", - "Tom", - "Jerry"}); - this.select2.Location = new System.Drawing.Point(227, 3); - this.select2.Name = "select2"; - this.select2.PlaceholderText = "支持清除"; - this.select2.SelectedIndex = 2; - this.select2.SelectedValue = "支持清除"; - this.select2.Size = new System.Drawing.Size(100, 32); - this.select2.TabIndex = 5; - this.select2.Text = "支持清除"; - this.select2.WaveSize = 0; - // - // select1 - // - this.select1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select1.Items.AddRange(new object[] { - "Jack", - "Lucy", - "支持输入匹配", - "Tom", - "Jerry"}); - this.select1.Location = new System.Drawing.Point(115, 3); - this.select1.Name = "select1"; - this.select1.SelectedIndex = 2; - this.select1.SelectedValue = "支持输入匹配"; - this.select1.Size = new System.Drawing.Size(100, 32); - this.select1.TabIndex = 4; - this.select1.Text = "支持输入匹配"; - this.select1.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 = 14; - this.label4.Text = "弹出位置"; - // - // flowPanel2 - // - this.flowPanel2.Controls.Add(this.select8); - this.flowPanel2.Controls.Add(this.select9); - this.flowPanel2.Controls.Add(this.select10); - this.flowPanel2.Controls.Add(this.select7); - this.flowPanel2.Controls.Add(this.select6); - this.flowPanel2.Controls.Add(this.select5); - this.flowPanel2.Gap = 6; - 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 = 15; - this.flowPanel2.Text = "flowPanel2"; - // - // select5 - // - this.select5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select5.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "BL", - "Tom", - "Jerry"}); - this.select5.ListAutoWidth = true; - this.select5.Location = new System.Drawing.Point(3, 3); - this.select5.Name = "select5"; - this.select5.PlaceholderText = "BL"; - this.select5.SelectedIndex = 2; - this.select5.SelectedValue = "BL"; - this.select5.Size = new System.Drawing.Size(100, 32); - this.select5.TabIndex = 4; - this.select5.Text = "BL"; - this.select5.WaveSize = 0; - // - // select6 - // - this.select6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select6.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "Bottom", - "Tom", - "Jerry"}); - this.select6.ListAutoWidth = true; - this.select6.Location = new System.Drawing.Point(115, 3); - this.select6.Name = "select6"; - this.select6.PlaceholderText = "Bottom"; - this.select6.Placement = AntdUI.TAlignFrom.Bottom; - this.select6.SelectedIndex = 2; - this.select6.SelectedValue = "Bottom"; - this.select6.Size = new System.Drawing.Size(100, 32); - this.select6.TabIndex = 5; - this.select6.Text = "Bottom"; - this.select6.WaveSize = 0; - // - // select7 - // - this.select7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select7.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "BR", - "Tom", - "Jerry"}); - this.select7.ListAutoWidth = true; - this.select7.Location = new System.Drawing.Point(227, 3); - this.select7.Name = "select7"; - this.select7.PlaceholderText = "BR"; - this.select7.Placement = AntdUI.TAlignFrom.BR; - this.select7.SelectedIndex = 2; - this.select7.SelectedValue = "BR"; - this.select7.Size = new System.Drawing.Size(100, 32); - this.select7.TabIndex = 6; - this.select7.Text = "BR"; - this.select7.WaveSize = 0; - // - // flowPanel4 - // - this.flowPanel4.Controls.Add(this.select12); - this.flowPanel4.Controls.Add(this.select11); - this.flowPanel4.Controls.Add(this.select13); - this.flowPanel4.Gap = 6; - this.flowPanel4.Location = new System.Drawing.Point(3, 275); - this.flowPanel4.Name = "flowPanel4"; - this.flowPanel4.Size = new System.Drawing.Size(694, 38); - this.flowPanel4.TabIndex = 24; - this.flowPanel4.Text = "flowPanel4"; - // - // select12 - // - this.select12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select12.Items.AddRange(new object[] { - "Jack", - "Lucy", - "5", - "Tom", - "Jerry"}); - this.select12.Location = new System.Drawing.Point(227, 3); - this.select12.MaxCount = 5; - this.select12.Name = "select12"; - this.select12.SelectedIndex = 2; - this.select12.SelectedValue = "5"; - this.select12.Size = new System.Drawing.Size(100, 32); - this.select12.TabIndex = 6; - this.select12.Text = "5"; - this.select12.WaveSize = 0; - // - // select11 - // - this.select11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select11.Items.AddRange(new object[] { - "Jack", - "Lucy", - "4", - "Tom", - "Jerry"}); - this.select11.Location = new System.Drawing.Point(115, 3); - this.select11.Name = "select11"; - this.select11.SelectedIndex = 2; - this.select11.SelectedValue = "4"; - this.select11.Size = new System.Drawing.Size(100, 32); - this.select11.TabIndex = 5; - this.select11.Text = "4"; - this.select11.WaveSize = 0; - // - // select13 - // - this.select13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select13.Items.AddRange(new object[] { - "Jack", - "Lucy", - "3", - "Tom", - "Jerry"}); - this.select13.Location = new System.Drawing.Point(3, 3); - this.select13.MaxCount = 3; - this.select13.Name = "select13"; - this.select13.SelectedIndex = 2; - this.select13.SelectedValue = "3"; - this.select13.Size = new System.Drawing.Size(100, 32); - this.select13.TabIndex = 4; - this.select13.Text = "3"; - this.select13.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, 245); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(694, 24); - this.label6.TabIndex = 23; - this.label6.Text = "显示数量"; - // - // select8 - // - this.select8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select8.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "TL", - "Tom", - "Jerry"}); - this.select8.ListAutoWidth = true; - this.select8.Location = new System.Drawing.Point(563, 3); - this.select8.Name = "select8"; - this.select8.PlaceholderText = "TL"; - this.select8.Placement = AntdUI.TAlignFrom.TL; - this.select8.SelectedIndex = 2; - this.select8.SelectedValue = "TL"; - this.select8.Size = new System.Drawing.Size(100, 32); - this.select8.TabIndex = 12; - this.select8.Text = "TL"; - this.select8.WaveSize = 0; - // - // select9 - // - this.select9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select9.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "Top", - "Tom", - "Jerry"}); - this.select9.ListAutoWidth = true; - this.select9.Location = new System.Drawing.Point(451, 3); - this.select9.Name = "select9"; - this.select9.PlaceholderText = "Top"; - this.select9.Placement = AntdUI.TAlignFrom.Top; - this.select9.SelectedIndex = 2; - this.select9.SelectedValue = "Top"; - this.select9.Size = new System.Drawing.Size(100, 32); - this.select9.TabIndex = 11; - this.select9.Text = "Top"; - this.select9.WaveSize = 0; - // - // select10 - // - this.select10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select10.Items.AddRange(new object[] { - "Jack Jack Jack Jack Jack", - "Lucy", - "TR", - "Tom", - "Jerry"}); - this.select10.ListAutoWidth = true; - this.select10.Location = new System.Drawing.Point(339, 3); - this.select10.Name = "select10"; - this.select10.PlaceholderText = "TR"; - this.select10.Placement = AntdUI.TAlignFrom.TR; - this.select10.SelectedIndex = 2; - this.select10.SelectedValue = "TR"; - this.select10.Size = new System.Drawing.Size(100, 32); - this.select10.TabIndex = 10; - this.select10.Text = "TR"; - this.select10.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, 319); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(694, 24); - this.label7.TabIndex = 25; - this.label7.Text = "前/后标签"; - // - // flowPanel5 - // - this.flowPanel5.Controls.Add(this.select15); - this.flowPanel5.Controls.Add(this.select16); - this.flowPanel5.Gap = 6; - this.flowPanel5.Location = new System.Drawing.Point(3, 349); - this.flowPanel5.Name = "flowPanel5"; - this.flowPanel5.Size = new System.Drawing.Size(694, 38); - this.flowPanel5.TabIndex = 26; - this.flowPanel5.Text = "flowPanel5"; - // - // select16 - // - this.select16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select16.Items.AddRange(new object[] { - "Jack", - "Lucy", - "文本", - "Tom", - "Jerry"}); - this.select16.Location = new System.Drawing.Point(3, 3); - this.select16.Name = "select16"; - this.select16.PlaceholderText = "不显示"; - this.select16.PrefixText = "+"; - this.select16.SelectedIndex = 2; - this.select16.SelectedValue = "文本"; - this.select16.Size = new System.Drawing.Size(100, 32); - this.select16.SuffixText = "$"; - this.select16.TabIndex = 4; - this.select16.Text = "文本"; - this.select16.WaveSize = 0; - // - // select15 - // - this.select15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select15.Items.AddRange(new object[] { - "Jack", - "Lucy", - "图标", - "Tom", - "Jerry"}); - this.select15.Location = new System.Drawing.Point(115, 3); - this.select15.Name = "select15"; - this.select15.PlaceholderText = "不显示"; - this.select15.PrefixSvg = resources.GetString("select15.PrefixSvg"); - this.select15.SelectedIndex = 2; - this.select15.SelectedValue = "图标"; - this.select15.Size = new System.Drawing.Size(100, 32); - this.select15.SuffixSvg = resources.GetString("select15.SuffixSvg"); - this.select15.TabIndex = 5; - this.select15.Text = "图标"; - this.select15.WaveSize = 0; - // - // select17 - // - this.select17.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select17.Items.AddRange(new object[] { - "Jack", - "Lucy", - "超容器显示全部文字可设置自动宽度", - "Tom", - "Jerry"}); - this.select17.ListAutoWidth = true; - this.select17.Location = new System.Drawing.Point(451, 3); - this.select17.Name = "select17"; - this.select17.SelectedIndex = 2; - this.select17.SelectedValue = "超容器显示全部文字可设置自动宽度"; - this.select17.Size = new System.Drawing.Size(100, 32); - this.select17.TabIndex = 7; - this.select17.Text = "超容器显示全部文字可设置自动宽度"; - this.select17.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, 393); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(694, 24); - this.label8.TabIndex = 27; - this.label8.Text = "自定义样式"; - // - // flowPanel6 - // - this.flowPanel6.Controls.Add(this.select_custom); - this.flowPanel6.Gap = 6; - this.flowPanel6.Location = new System.Drawing.Point(3, 423); - this.flowPanel6.Name = "flowPanel6"; - this.flowPanel6.Size = new System.Drawing.Size(694, 38); - this.flowPanel6.TabIndex = 28; - this.flowPanel6.Text = "flowPanel6"; - // - // select_custom - // - this.select_custom.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select_custom.ListAutoWidth = true; - this.select_custom.Location = new System.Drawing.Point(3, 3); - this.select_custom.MaxCount = 6; - this.select_custom.Name = "select_custom"; - this.select_custom.PlaceholderText = ""; - this.select_custom.Placement = AntdUI.TAlignFrom.TL; - this.select_custom.Size = new System.Drawing.Size(100, 32); - this.select_custom.TabIndex = 3; - this.select_custom.WaveSize = 0; - // - // select18 - // - this.select18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.select18.Items.AddRange(new object[] { - "Jack", - "Lucy", - "不显示箭头", - "Tom", - "Jerry"}); - this.select18.Location = new System.Drawing.Point(563, 3); - this.select18.Name = "select18"; - this.select18.PlaceholderText = "不显示箭头"; - this.select18.SelectedIndex = 2; - this.select18.SelectedValue = "不显示箭头"; - this.select18.ShowIcon = false; - this.select18.Size = new System.Drawing.Size(100, 32); - this.select18.TabIndex = 8; - this.select18.Text = "不显示箭头"; - this.select18.WaveSize = 0; - // // SelectDemo // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; @@ -585,11 +539,11 @@ this.Name = "SelectDemo"; this.Size = new System.Drawing.Size(700, 553); this.stackPanel1.ResumeLayout(false); - this.flowPanel1.ResumeLayout(false); - this.flowPanel2.ResumeLayout(false); - this.flowPanel4.ResumeLayout(false); - this.flowPanel5.ResumeLayout(false); this.flowPanel6.ResumeLayout(false); + this.flowPanel5.ResumeLayout(false); + this.flowPanel4.ResumeLayout(false); + this.flowPanel2.ResumeLayout(false); + this.flowPanel1.ResumeLayout(false); this.ResumeLayout(false); } diff --git a/Views/SelectDemo.cs b/Views/SelectDemo.cs index a3fc382..9a9090b 100644 --- a/Views/SelectDemo.cs +++ b/Views/SelectDemo.cs @@ -49,8 +49,6 @@ namespace AntdUIDemo.Views SubText = "子文本" } }); - - select_custom.SelectedIndex = 0; } } } diff --git a/Views/SpinDemo.Designer.cs b/Views/SpinDemo.Designer.cs index 25ae4dc..c23d0eb 100644 --- a/Views/SpinDemo.Designer.cs +++ b/Views/SpinDemo.Designer.cs @@ -29,20 +29,20 @@ private void InitializeComponent() { this.stackPanel1 = new AntdUI.StackPanel(); + this.flowPanel1 = new AntdUI.FlowPanel(); + this.label_spin = new AntdUI.Label(); this.flowPanel = new AntdUI.FlowPanel(); + this.button_window = new AntdUI.Button(); + this.button_custom = new AntdUI.Button(); + this.button_base = new AntdUI.Button(); + this.button_control = new AntdUI.Button(); this.label4 = new AntdUI.Label(); this.divider1 = new AntdUI.Divider(); this.label2 = new AntdUI.Label(); this.label1 = new AntdUI.Label(); - this.flowPanel1 = new AntdUI.FlowPanel(); - this.label_spin = new AntdUI.Label(); - this.button_control = new AntdUI.Button(); - this.button_window = new AntdUI.Button(); - this.button_custom = new AntdUI.Button(); - this.button_base = new AntdUI.Button(); this.stackPanel1.SuspendLayout(); - this.flowPanel.SuspendLayout(); this.flowPanel1.SuspendLayout(); + this.flowPanel.SuspendLayout(); this.SuspendLayout(); // // stackPanel1 @@ -61,6 +61,25 @@ this.stackPanel1.Text = "stackPanel1"; this.stackPanel1.Vertical = true; // + // flowPanel1 + // + this.flowPanel1.Controls.Add(this.label_spin); + this.flowPanel1.Location = new System.Drawing.Point(3, 171); + this.flowPanel1.Name = "flowPanel1"; + this.flowPanel1.Size = new System.Drawing.Size(694, 38); + this.flowPanel1.TabIndex = 51; + this.flowPanel1.Text = "flowPanel1"; + // + // label_spin + // + this.label_spin.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label_spin.Location = new System.Drawing.Point(3, 3); + this.label_spin.Name = "label_spin"; + this.label_spin.Size = new System.Drawing.Size(338, 32); + this.label_spin.TabIndex = 1; + this.label_spin.Text = "这是一个在FlowPanel里的Label控件"; + this.label_spin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // flowPanel // this.flowPanel.Controls.Add(this.button_window); @@ -73,6 +92,50 @@ this.flowPanel.TabIndex = 50; this.flowPanel.Text = "flowPanel1"; // + // button_window + // + this.button_window.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button_window.Location = new System.Drawing.Point(261, 3); + this.button_window.Name = "button_window"; + this.button_window.Size = new System.Drawing.Size(80, 32); + this.button_window.TabIndex = 8; + this.button_window.Text = "整个窗口"; + this.button_window.Type = AntdUI.TTypeMini.Primary; + this.button_window.WaveSize = 0; + // + // button_custom + // + this.button_custom.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button_custom.Location = new System.Drawing.Point(175, 3); + this.button_custom.Name = "button_custom"; + this.button_custom.Size = new System.Drawing.Size(80, 32); + this.button_custom.TabIndex = 7; + this.button_custom.Text = "当前窗口"; + this.button_custom.Type = AntdUI.TTypeMini.Primary; + this.button_custom.WaveSize = 0; + // + // button_base + // + this.button_base.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button_base.Location = new System.Drawing.Point(89, 3); + this.button_base.Name = "button_base"; + this.button_base.Size = new System.Drawing.Size(80, 32); + this.button_base.TabIndex = 6; + this.button_base.Text = "容器"; + this.button_base.Type = AntdUI.TTypeMini.Primary; + this.button_base.WaveSize = 0; + // + // button_control + // + this.button_control.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button_control.Location = new System.Drawing.Point(3, 3); + this.button_control.Name = "button_control"; + this.button_control.Size = new System.Drawing.Size(80, 32); + this.button_control.TabIndex = 5; + this.button_control.Text = "控件"; + this.button_control.Type = AntdUI.TTypeMini.Primary; + this.button_control.WaveSize = 0; + // // label4 // this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); @@ -107,69 +170,6 @@ this.label1.TabIndex = 46; this.label1.Text = "Spin 加载中"; // - // flowPanel1 - // - this.flowPanel1.Controls.Add(this.label_spin); - this.flowPanel1.Location = new System.Drawing.Point(3, 171); - this.flowPanel1.Name = "flowPanel1"; - this.flowPanel1.Size = new System.Drawing.Size(694, 38); - this.flowPanel1.TabIndex = 51; - this.flowPanel1.Text = "flowPanel1"; - // - // label_spin - // - this.label_spin.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label_spin.Location = new System.Drawing.Point(3, 3); - this.label_spin.Name = "label_spin"; - this.label_spin.Size = new System.Drawing.Size(166, 32); - this.label_spin.TabIndex = 1; - this.label_spin.Text = "这是一个Label控件"; - this.label_spin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // button_control - // - this.button_control.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button_control.Location = new System.Drawing.Point(3, 3); - this.button_control.Name = "button_control"; - this.button_control.Size = new System.Drawing.Size(80, 32); - this.button_control.TabIndex = 5; - this.button_control.Text = "控件"; - this.button_control.Type = AntdUI.TTypeMini.Primary; - this.button_control.WaveSize = 0; - // - // button_window - // - this.button_window.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button_window.Location = new System.Drawing.Point(261, 3); - this.button_window.Name = "button_window"; - this.button_window.Size = new System.Drawing.Size(80, 32); - this.button_window.TabIndex = 8; - this.button_window.Text = "整个窗口"; - this.button_window.Type = AntdUI.TTypeMini.Primary; - this.button_window.WaveSize = 0; - // - // button_custom - // - this.button_custom.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button_custom.Location = new System.Drawing.Point(175, 3); - this.button_custom.Name = "button_custom"; - this.button_custom.Size = new System.Drawing.Size(80, 32); - this.button_custom.TabIndex = 7; - this.button_custom.Text = "当前窗口"; - this.button_custom.Type = AntdUI.TTypeMini.Primary; - this.button_custom.WaveSize = 0; - // - // button_base - // - this.button_base.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button_base.Location = new System.Drawing.Point(89, 3); - this.button_base.Name = "button_base"; - this.button_base.Size = new System.Drawing.Size(80, 32); - this.button_base.TabIndex = 6; - this.button_base.Text = "容器"; - this.button_base.Type = AntdUI.TTypeMini.Primary; - this.button_base.WaveSize = 0; - // // SpinDemo // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; @@ -177,8 +177,8 @@ this.Name = "SpinDemo"; this.Size = new System.Drawing.Size(700, 469); this.stackPanel1.ResumeLayout(false); - this.flowPanel.ResumeLayout(false); this.flowPanel1.ResumeLayout(false); + this.flowPanel.ResumeLayout(false); this.ResumeLayout(false); } diff --git a/Views/SwitchDemo.Designer.cs b/Views/SwitchDemo.Designer.cs index a2efd16..acacb06 100644 --- a/Views/SwitchDemo.Designer.cs +++ b/Views/SwitchDemo.Designer.cs @@ -46,13 +46,20 @@ this.divider1 = new AntdUI.Divider(); this.label2 = new AntdUI.Label(); this.label1 = new AntdUI.Label(); + this.label5 = new AntdUI.Label(); + this.flowPanel3 = new AntdUI.FlowPanel(); + this.switch13 = new AntdUI.Switch(); + this.switch14 = new AntdUI.Switch(); this.stackPanel1.SuspendLayout(); this.flowPanel2.SuspendLayout(); this.flowPanel1.SuspendLayout(); + this.flowPanel3.SuspendLayout(); this.SuspendLayout(); // // stackPanel1 // + this.stackPanel1.Controls.Add(this.flowPanel3); + this.stackPanel1.Controls.Add(this.label5); this.stackPanel1.Controls.Add(this.flowPanel2); this.stackPanel1.Controls.Add(this.label4); this.stackPanel1.Controls.Add(this.flowPanel1); @@ -84,6 +91,7 @@ // switch6 // this.switch6.AutoCheck = true; + this.switch6.Checked = true; this.switch6.CheckedText = "True"; this.switch6.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); this.switch6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); @@ -99,7 +107,6 @@ // switch5 // this.switch5.AutoCheck = true; - this.switch5.Checked = true; this.switch5.CheckedText = "是"; this.switch5.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); this.switch5.FillHover = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(133)))), ((int)(((byte)(34))))); @@ -165,6 +172,7 @@ // switch9 // this.switch9.AutoCheck = true; + this.switch9.Checked = true; this.switch9.CheckedText = ""; this.switch9.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); this.switch9.FillHover = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(133)))), ((int)(((byte)(34))))); @@ -181,7 +189,6 @@ // switch10 // this.switch10.AutoCheck = true; - this.switch10.Checked = true; this.switch10.CheckedText = ""; this.switch10.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); this.switch10.FillHover = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(133)))), ((int)(((byte)(34))))); @@ -269,6 +276,47 @@ this.label1.TabIndex = 17; this.label1.Text = "Switch 开关"; // + // 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 = 24; + this.label5.Text = "禁用"; + // + // flowPanel3 + // + this.flowPanel3.Controls.Add(this.switch13); + this.flowPanel3.Controls.Add(this.switch14); + this.flowPanel3.Gap = 6; + 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 = 25; + this.flowPanel3.Text = "flowPanel3"; + // + // switch13 + // + this.switch13.AutoCheck = true; + this.switch13.Checked = true; + this.switch13.Enabled = false; + this.switch13.Location = new System.Drawing.Point(75, 3); + this.switch13.Name = "switch13"; + this.switch13.Size = new System.Drawing.Size(60, 32); + this.switch13.TabIndex = 4; + this.switch13.Text = "switch13"; + // + // switch14 + // + this.switch14.AutoCheck = true; + this.switch14.Enabled = false; + this.switch14.Location = new System.Drawing.Point(3, 3); + this.switch14.Name = "switch14"; + this.switch14.Size = new System.Drawing.Size(60, 32); + this.switch14.TabIndex = 3; + this.switch14.Text = "switch14"; + // // SwitchDemo // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; @@ -278,6 +326,7 @@ this.stackPanel1.ResumeLayout(false); this.flowPanel2.ResumeLayout(false); this.flowPanel1.ResumeLayout(false); + this.flowPanel3.ResumeLayout(false); this.ResumeLayout(false); } @@ -302,5 +351,9 @@ private AntdUI.Switch switch5; private AntdUI.Switch switch9; private AntdUI.Switch switch10; + private AntdUI.FlowPanel flowPanel3; + private AntdUI.Switch switch13; + private AntdUI.Switch switch14; + private AntdUI.Label label5; } } diff --git a/Views/TimePickerDemo.Designer.cs b/Views/TimePickerDemo.Designer.cs index 5112652..0eb67ed 100644 --- a/Views/TimePickerDemo.Designer.cs +++ b/Views/TimePickerDemo.Designer.cs @@ -30,35 +30,35 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TimePickerDemo)); this.stackPanel1 = new AntdUI.StackPanel(); + this.flowPanel4 = new AntdUI.FlowPanel(); + this.timePicker13 = new AntdUI.TimePicker(); + this.timePicker12 = new AntdUI.TimePicker(); + this.timePicker11 = new AntdUI.TimePicker(); + this.timePicker10 = new AntdUI.TimePicker(); + this.timePicker8 = new AntdUI.TimePicker(); + this.timePicker9 = new AntdUI.TimePicker(); + this.label6 = new AntdUI.Label(); + this.flowPanel3 = new AntdUI.FlowPanel(); + this.timePicker6 = new AntdUI.TimePicker(); + this.timePicker5 = new AntdUI.TimePicker(); + this.label5 = new AntdUI.Label(); + this.flowPanel2 = new AntdUI.FlowPanel(); + this.timePicker4 = new AntdUI.TimePicker(); + this.timePicker3 = new AntdUI.TimePicker(); + this.timePicker2 = new AntdUI.TimePicker(); + this.label4 = new AntdUI.Label(); + this.flowPanel1 = new AntdUI.FlowPanel(); + this.timePicker7 = new AntdUI.TimePicker(); + this.timePicker1 = new AntdUI.TimePicker(); + this.label3 = new AntdUI.Label(); this.divider1 = new AntdUI.Divider(); this.label2 = new AntdUI.Label(); this.label1 = new AntdUI.Label(); - this.label3 = new AntdUI.Label(); - this.flowPanel1 = new AntdUI.FlowPanel(); - this.timePicker1 = new AntdUI.TimePicker(); - this.label4 = new AntdUI.Label(); - this.flowPanel2 = new AntdUI.FlowPanel(); - this.timePicker2 = new AntdUI.TimePicker(); - this.timePicker3 = new AntdUI.TimePicker(); - this.timePicker4 = new AntdUI.TimePicker(); - this.label5 = new AntdUI.Label(); - this.flowPanel3 = new AntdUI.FlowPanel(); - this.timePicker5 = new AntdUI.TimePicker(); - this.timePicker6 = new AntdUI.TimePicker(); - this.timePicker7 = new AntdUI.TimePicker(); - this.label6 = new AntdUI.Label(); - this.flowPanel4 = new AntdUI.FlowPanel(); - this.timePicker9 = new AntdUI.TimePicker(); - this.timePicker8 = new AntdUI.TimePicker(); - this.timePicker10 = new AntdUI.TimePicker(); - this.timePicker11 = new AntdUI.TimePicker(); - this.timePicker12 = new AntdUI.TimePicker(); - this.timePicker13 = new AntdUI.TimePicker(); this.stackPanel1.SuspendLayout(); - this.flowPanel1.SuspendLayout(); - this.flowPanel2.SuspendLayout(); - this.flowPanel3.SuspendLayout(); this.flowPanel4.SuspendLayout(); + this.flowPanel3.SuspendLayout(); + this.flowPanel2.SuspendLayout(); + this.flowPanel1.SuspendLayout(); this.SuspendLayout(); // // stackPanel1 @@ -82,6 +82,262 @@ this.stackPanel1.Text = "stackPanel1"; this.stackPanel1.Vertical = true; // + // flowPanel4 + // + this.flowPanel4.Controls.Add(this.timePicker13); + this.flowPanel4.Controls.Add(this.timePicker12); + this.flowPanel4.Controls.Add(this.timePicker11); + this.flowPanel4.Controls.Add(this.timePicker10); + this.flowPanel4.Controls.Add(this.timePicker8); + this.flowPanel4.Controls.Add(this.timePicker9); + this.flowPanel4.Gap = 6; + 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 = 30; + this.flowPanel4.Text = "flowPanel4"; + // + // timePicker13 + // + this.timePicker13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker13.Location = new System.Drawing.Point(513, 3); + this.timePicker13.Name = "timePicker13"; + this.timePicker13.PlaceholderText = "请选择时间"; + this.timePicker13.Placement = AntdUI.TAlignFrom.TL; + this.timePicker13.Size = new System.Drawing.Size(90, 32); + this.timePicker13.TabIndex = 5; + this.timePicker13.Text = "08:00:00"; + this.timePicker13.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker13.WaveSize = 0; + // + // timePicker12 + // + this.timePicker12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker12.Location = new System.Drawing.Point(411, 3); + this.timePicker12.Name = "timePicker12"; + this.timePicker12.PlaceholderText = "请选择时间"; + this.timePicker12.Placement = AntdUI.TAlignFrom.Top; + this.timePicker12.Size = new System.Drawing.Size(90, 32); + this.timePicker12.TabIndex = 4; + this.timePicker12.Text = "08:00:00"; + this.timePicker12.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker12.WaveSize = 0; + // + // timePicker11 + // + this.timePicker11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker11.Location = new System.Drawing.Point(309, 3); + this.timePicker11.Name = "timePicker11"; + this.timePicker11.PlaceholderText = "请选择时间"; + this.timePicker11.Placement = AntdUI.TAlignFrom.TR; + this.timePicker11.Size = new System.Drawing.Size(90, 32); + this.timePicker11.TabIndex = 3; + this.timePicker11.Text = "08:00:00"; + this.timePicker11.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker11.WaveSize = 0; + // + // timePicker10 + // + this.timePicker10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker10.Location = new System.Drawing.Point(207, 3); + this.timePicker10.Name = "timePicker10"; + this.timePicker10.PlaceholderText = "请选择时间"; + this.timePicker10.Placement = AntdUI.TAlignFrom.BR; + this.timePicker10.Size = new System.Drawing.Size(90, 32); + this.timePicker10.TabIndex = 2; + this.timePicker10.Text = "08:00:00"; + this.timePicker10.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker10.WaveSize = 0; + // + // timePicker8 + // + this.timePicker8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker8.Location = new System.Drawing.Point(105, 3); + this.timePicker8.Name = "timePicker8"; + this.timePicker8.PlaceholderText = "请选择时间"; + this.timePicker8.Placement = AntdUI.TAlignFrom.Bottom; + this.timePicker8.Size = new System.Drawing.Size(90, 32); + this.timePicker8.TabIndex = 1; + this.timePicker8.Text = "08:00:00"; + this.timePicker8.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker8.WaveSize = 0; + // + // timePicker9 + // + this.timePicker9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker9.Location = new System.Drawing.Point(3, 3); + this.timePicker9.Name = "timePicker9"; + this.timePicker9.PlaceholderText = "请选择时间"; + this.timePicker9.Size = new System.Drawing.Size(90, 32); + this.timePicker9.TabIndex = 0; + this.timePicker9.Text = "08:00:00"; + this.timePicker9.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker9.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, 319); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(694, 24); + this.label6.TabIndex = 29; + this.label6.Text = "弹出位置"; + // + // flowPanel3 + // + this.flowPanel3.Controls.Add(this.timePicker6); + this.flowPanel3.Controls.Add(this.timePicker5); + this.flowPanel3.Gap = 6; + 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 = 28; + this.flowPanel3.Text = "flowPanel3"; + // + // timePicker6 + // + this.timePicker6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker6.Format = "hh:mm:ss"; + this.timePicker6.Location = new System.Drawing.Point(215, 3); + this.timePicker6.Name = "timePicker6"; + this.timePicker6.PlaceholderText = "12小时计时"; + this.timePicker6.Size = new System.Drawing.Size(200, 32); + this.timePicker6.TabIndex = 1; + this.timePicker6.Text = "08:00:00"; + this.timePicker6.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker6.WaveSize = 0; + // + // timePicker5 + // + this.timePicker5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker5.Format = "HH:mm"; + this.timePicker5.Location = new System.Drawing.Point(3, 3); + this.timePicker5.Name = "timePicker5"; + this.timePicker5.PlaceholderText = "时分"; + this.timePicker5.Size = new System.Drawing.Size(200, 32); + this.timePicker5.TabIndex = 0; + this.timePicker5.Text = "08:00"; + this.timePicker5.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker5.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 = 27; + this.label5.Text = "时间格式化"; + // + // flowPanel2 + // + this.flowPanel2.Controls.Add(this.timePicker4); + this.flowPanel2.Controls.Add(this.timePicker3); + this.flowPanel2.Controls.Add(this.timePicker2); + this.flowPanel2.Gap = 6; + 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 = 26; + this.flowPanel2.Text = "flowPanel2"; + // + // timePicker4 + // + this.timePicker4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker4.Location = new System.Drawing.Point(427, 3); + this.timePicker4.Name = "timePicker4"; + this.timePicker4.PlaceholderText = "文字"; + this.timePicker4.PrefixText = "+"; + this.timePicker4.ShowIcon = false; + this.timePicker4.Size = new System.Drawing.Size(200, 32); + this.timePicker4.SuffixText = "时分秒"; + this.timePicker4.TabIndex = 2; + this.timePicker4.Text = "08:00:00"; + this.timePicker4.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker4.WaveSize = 0; + // + // timePicker3 + // + this.timePicker3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker3.Location = new System.Drawing.Point(215, 3); + this.timePicker3.Name = "timePicker3"; + this.timePicker3.PlaceholderText = "Svg图标"; + this.timePicker3.PrefixSvg = resources.GetString("timePicker3.PrefixSvg"); + this.timePicker3.Size = new System.Drawing.Size(200, 32); + this.timePicker3.SuffixSvg = resources.GetString("timePicker3.SuffixSvg"); + this.timePicker3.TabIndex = 1; + this.timePicker3.Text = "08:00:00"; + this.timePicker3.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker3.WaveSize = 0; + // + // timePicker2 + // + this.timePicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker2.Location = new System.Drawing.Point(3, 3); + this.timePicker2.Name = "timePicker2"; + this.timePicker2.PlaceholderText = "无图标"; + this.timePicker2.ShowIcon = false; + this.timePicker2.Size = new System.Drawing.Size(200, 32); + this.timePicker2.TabIndex = 0; + this.timePicker2.Text = "08:00:00"; + this.timePicker2.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker2.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 = 25; + this.label4.Text = "前/后标签"; + // + // flowPanel1 + // + this.flowPanel1.Controls.Add(this.timePicker7); + this.flowPanel1.Controls.Add(this.timePicker1); + this.flowPanel1.Gap = 6; + this.flowPanel1.Location = new System.Drawing.Point(3, 127); + this.flowPanel1.Name = "flowPanel1"; + this.flowPanel1.Size = new System.Drawing.Size(694, 38); + this.flowPanel1.TabIndex = 24; + this.flowPanel1.Text = "flowPanel1"; + // + // timePicker7 + // + this.timePicker7.AllowClear = true; + this.timePicker7.DropDownArrow = true; + this.timePicker7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker7.Location = new System.Drawing.Point(215, 3); + this.timePicker7.Name = "timePicker7"; + this.timePicker7.PlaceholderText = "支持清除"; + this.timePicker7.Size = new System.Drawing.Size(200, 32); + this.timePicker7.TabIndex = 1; + this.timePicker7.Text = "08:00:00"; + this.timePicker7.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker7.WaveSize = 0; + // + // timePicker1 + // + this.timePicker1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.timePicker1.Location = new System.Drawing.Point(3, 3); + this.timePicker1.Name = "timePicker1"; + this.timePicker1.PlaceholderText = "请选择时间"; + this.timePicker1.Size = new System.Drawing.Size(200, 32); + this.timePicker1.TabIndex = 0; + this.timePicker1.Text = "08:00:00"; + this.timePicker1.Value = System.TimeSpan.Parse("08:00:00"); + this.timePicker1.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, 97); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(694, 24); + this.label3.TabIndex = 23; + this.label3.Text = "基本用法"; + // // divider1 // this.divider1.Location = new System.Drawing.Point(3, 79); @@ -107,262 +363,6 @@ this.label1.TabIndex = 20; this.label1.Text = "TimePicker 时间选择框"; // - // 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, 97); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(694, 24); - this.label3.TabIndex = 23; - this.label3.Text = "基本用法"; - // - // flowPanel1 - // - this.flowPanel1.Controls.Add(this.timePicker7); - this.flowPanel1.Controls.Add(this.timePicker1); - this.flowPanel1.Gap = 6; - this.flowPanel1.Location = new System.Drawing.Point(3, 127); - this.flowPanel1.Name = "flowPanel1"; - this.flowPanel1.Size = new System.Drawing.Size(694, 38); - this.flowPanel1.TabIndex = 24; - this.flowPanel1.Text = "flowPanel1"; - // - // timePicker1 - // - this.timePicker1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker1.Location = new System.Drawing.Point(3, 3); - this.timePicker1.Name = "timePicker1"; - this.timePicker1.PlaceholderText = "请选择时间"; - this.timePicker1.Size = new System.Drawing.Size(200, 32); - this.timePicker1.TabIndex = 0; - this.timePicker1.Text = "08:00:00"; - this.timePicker1.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker1.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 = 25; - this.label4.Text = "前/后图标"; - // - // flowPanel2 - // - this.flowPanel2.Controls.Add(this.timePicker4); - this.flowPanel2.Controls.Add(this.timePicker3); - this.flowPanel2.Controls.Add(this.timePicker2); - this.flowPanel2.Gap = 6; - 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 = 26; - this.flowPanel2.Text = "flowPanel2"; - // - // timePicker2 - // - this.timePicker2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker2.Location = new System.Drawing.Point(3, 3); - this.timePicker2.Name = "timePicker2"; - this.timePicker2.PlaceholderText = "无图标"; - this.timePicker2.ShowIcon = false; - this.timePicker2.Size = new System.Drawing.Size(200, 32); - this.timePicker2.TabIndex = 0; - this.timePicker2.Text = "08:00:00"; - this.timePicker2.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker2.WaveSize = 0; - // - // timePicker3 - // - this.timePicker3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker3.Location = new System.Drawing.Point(215, 3); - this.timePicker3.Name = "timePicker3"; - this.timePicker3.PlaceholderText = "Svg图标"; - this.timePicker3.PrefixSvg = resources.GetString("timePicker3.PrefixSvg"); - this.timePicker3.Size = new System.Drawing.Size(200, 32); - this.timePicker3.SuffixSvg = resources.GetString("timePicker3.SuffixSvg"); - this.timePicker3.TabIndex = 1; - this.timePicker3.Text = "08:00:00"; - this.timePicker3.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker3.WaveSize = 0; - // - // timePicker4 - // - this.timePicker4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker4.Location = new System.Drawing.Point(427, 3); - this.timePicker4.Name = "timePicker4"; - this.timePicker4.PlaceholderText = "文字"; - this.timePicker4.PrefixText = "+"; - this.timePicker4.ShowIcon = false; - this.timePicker4.Size = new System.Drawing.Size(200, 32); - this.timePicker4.SuffixText = "时分秒"; - this.timePicker4.TabIndex = 2; - this.timePicker4.Text = "08:00:00"; - this.timePicker4.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker4.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 = 27; - this.label5.Text = "时间格式化"; - // - // flowPanel3 - // - this.flowPanel3.Controls.Add(this.timePicker6); - this.flowPanel3.Controls.Add(this.timePicker5); - this.flowPanel3.Gap = 6; - 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 = 28; - this.flowPanel3.Text = "flowPanel3"; - // - // timePicker5 - // - this.timePicker5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker5.Format = "HH:mm"; - this.timePicker5.Location = new System.Drawing.Point(3, 3); - this.timePicker5.Name = "timePicker5"; - this.timePicker5.PlaceholderText = "时分"; - this.timePicker5.Size = new System.Drawing.Size(200, 32); - this.timePicker5.TabIndex = 0; - this.timePicker5.Text = "08:00"; - this.timePicker5.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker5.WaveSize = 0; - // - // timePicker6 - // - this.timePicker6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker6.Format = "hh:mm:ss"; - this.timePicker6.Location = new System.Drawing.Point(215, 3); - this.timePicker6.Name = "timePicker6"; - this.timePicker6.PlaceholderText = "12小时计时"; - this.timePicker6.Size = new System.Drawing.Size(200, 32); - this.timePicker6.TabIndex = 1; - this.timePicker6.Text = "08:00:00"; - this.timePicker6.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker6.WaveSize = 0; - // - // timePicker7 - // - this.timePicker7.AllowClear = true; - this.timePicker7.DropDownArrow = true; - this.timePicker7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker7.Location = new System.Drawing.Point(215, 3); - this.timePicker7.Name = "timePicker7"; - this.timePicker7.PlaceholderText = "支持清除"; - this.timePicker7.Size = new System.Drawing.Size(200, 32); - this.timePicker7.TabIndex = 1; - this.timePicker7.Text = "08:00:00"; - this.timePicker7.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker7.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, 319); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(694, 24); - this.label6.TabIndex = 29; - this.label6.Text = "弹出位置"; - // - // flowPanel4 - // - this.flowPanel4.Controls.Add(this.timePicker13); - this.flowPanel4.Controls.Add(this.timePicker12); - this.flowPanel4.Controls.Add(this.timePicker11); - this.flowPanel4.Controls.Add(this.timePicker10); - this.flowPanel4.Controls.Add(this.timePicker8); - this.flowPanel4.Controls.Add(this.timePicker9); - this.flowPanel4.Gap = 6; - 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 = 30; - this.flowPanel4.Text = "flowPanel4"; - // - // timePicker9 - // - this.timePicker9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker9.Location = new System.Drawing.Point(3, 3); - this.timePicker9.Name = "timePicker9"; - this.timePicker9.PlaceholderText = "请选择时间"; - this.timePicker9.Size = new System.Drawing.Size(90, 32); - this.timePicker9.TabIndex = 0; - this.timePicker9.Text = "08:00:00"; - this.timePicker9.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker9.WaveSize = 0; - // - // timePicker8 - // - this.timePicker8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker8.Location = new System.Drawing.Point(105, 3); - this.timePicker8.Name = "timePicker8"; - this.timePicker8.PlaceholderText = "请选择时间"; - this.timePicker8.Placement = AntdUI.TAlignFrom.Bottom; - this.timePicker8.Size = new System.Drawing.Size(90, 32); - this.timePicker8.TabIndex = 1; - this.timePicker8.Text = "08:00:00"; - this.timePicker8.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker8.WaveSize = 0; - // - // timePicker10 - // - this.timePicker10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker10.Location = new System.Drawing.Point(207, 3); - this.timePicker10.Name = "timePicker10"; - this.timePicker10.PlaceholderText = "请选择时间"; - this.timePicker10.Placement = AntdUI.TAlignFrom.BR; - this.timePicker10.Size = new System.Drawing.Size(90, 32); - this.timePicker10.TabIndex = 2; - this.timePicker10.Text = "08:00:00"; - this.timePicker10.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker10.WaveSize = 0; - // - // timePicker11 - // - this.timePicker11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker11.Location = new System.Drawing.Point(309, 3); - this.timePicker11.Name = "timePicker11"; - this.timePicker11.PlaceholderText = "请选择时间"; - this.timePicker11.Placement = AntdUI.TAlignFrom.TR; - this.timePicker11.Size = new System.Drawing.Size(90, 32); - this.timePicker11.TabIndex = 3; - this.timePicker11.Text = "08:00:00"; - this.timePicker11.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker11.WaveSize = 0; - // - // timePicker12 - // - this.timePicker12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker12.Location = new System.Drawing.Point(411, 3); - this.timePicker12.Name = "timePicker12"; - this.timePicker12.PlaceholderText = "请选择时间"; - this.timePicker12.Placement = AntdUI.TAlignFrom.Top; - this.timePicker12.Size = new System.Drawing.Size(90, 32); - this.timePicker12.TabIndex = 4; - this.timePicker12.Text = "08:00:00"; - this.timePicker12.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker12.WaveSize = 0; - // - // timePicker13 - // - this.timePicker13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.timePicker13.Location = new System.Drawing.Point(513, 3); - this.timePicker13.Name = "timePicker13"; - this.timePicker13.PlaceholderText = "请选择时间"; - this.timePicker13.Placement = AntdUI.TAlignFrom.TL; - this.timePicker13.Size = new System.Drawing.Size(90, 32); - this.timePicker13.TabIndex = 5; - this.timePicker13.Text = "08:00:00"; - this.timePicker13.Value = System.TimeSpan.Parse("08:00:00"); - this.timePicker13.WaveSize = 0; - // // TimePickerDemo // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; @@ -370,10 +370,10 @@ this.Name = "TimePickerDemo"; this.Size = new System.Drawing.Size(700, 466); this.stackPanel1.ResumeLayout(false); - this.flowPanel1.ResumeLayout(false); - this.flowPanel2.ResumeLayout(false); - this.flowPanel3.ResumeLayout(false); this.flowPanel4.ResumeLayout(false); + this.flowPanel3.ResumeLayout(false); + this.flowPanel2.ResumeLayout(false); + this.flowPanel1.ResumeLayout(false); this.ResumeLayout(false); }