mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-24 22:50:45 +08:00
313 lines
13 KiB
C#
313 lines
13 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Demo.Controls
|
|
{
|
|
partial class Steps
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AntdUI.StepsItem stepsItem1 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem2 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem3 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem4 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem5 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem6 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem7 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem8 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem9 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem10 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem11 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem12 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem13 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem14 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem15 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem16 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem17 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem18 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem19 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem20 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem21 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem22 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem23 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem24 = new AntdUI.StepsItem();
|
|
AntdUI.StepsItem stepsItem25 = new AntdUI.StepsItem();
|
|
header1 = new AntdUI.PageHeader();
|
|
panel1 = new System.Windows.Forms.Panel();
|
|
switch1 = new AntdUI.Switch();
|
|
steps6 = new AntdUI.Steps();
|
|
steps5 = new AntdUI.Steps();
|
|
steps4 = new AntdUI.Steps();
|
|
steps3 = new AntdUI.Steps();
|
|
steps2 = new AntdUI.Steps();
|
|
steps1 = new AntdUI.Steps();
|
|
panel1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// header1
|
|
//
|
|
header1.Description = "引导用户按照流程完成任务的导航条。";
|
|
header1.Dock = DockStyle.Top;
|
|
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
|
header1.LocalizationDescription = "Steps.Description";
|
|
header1.LocalizationText = "Steps.Text";
|
|
header1.Location = new Point(0, 0);
|
|
header1.Name = "header1";
|
|
header1.Padding = new Padding(0, 0, 0, 10);
|
|
header1.Size = new Size(1300, 74);
|
|
header1.TabIndex = 0;
|
|
header1.Text = "Steps 步骤条";
|
|
header1.UseTitleFont = true;
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.AutoScroll = true;
|
|
panel1.Controls.Add(switch1);
|
|
panel1.Controls.Add(steps6);
|
|
panel1.Controls.Add(steps5);
|
|
panel1.Controls.Add(steps4);
|
|
panel1.Controls.Add(steps3);
|
|
panel1.Controls.Add(steps2);
|
|
panel1.Controls.Add(steps1);
|
|
panel1.Dock = DockStyle.Fill;
|
|
panel1.Location = new Point(0, 74);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(1300, 602);
|
|
panel1.TabIndex = 7;
|
|
//
|
|
// switch1
|
|
//
|
|
switch1.Checked = true;
|
|
switch1.CheckedText = "当前里程碑处理中";
|
|
switch1.LocalizationCheckedText = "Steps.CurrentCompleted";
|
|
switch1.LocalizationUnCheckedText = "Steps.CurrentProcessing";
|
|
switch1.Location = new Point(3, 161);
|
|
switch1.Name = "switch1";
|
|
switch1.Size = new Size(230, 44);
|
|
switch1.TabIndex = 35;
|
|
switch1.UnCheckedText = "当前里程碑已完成";
|
|
switch1.CheckedChanged += switch1_CheckedChanged;
|
|
//
|
|
// steps6
|
|
//
|
|
steps6.Current = 2;
|
|
steps6.Dock = DockStyle.Left;
|
|
stepsItem1.Description = "你想干嘛";
|
|
stepsItem1.Title = "Step 1";
|
|
stepsItem2.Description = "包裹大概是被偷了";
|
|
stepsItem2.Title = "Step 2";
|
|
stepsItem3.Title = "Step 3";
|
|
stepsItem4.Description = "哈哈哈";
|
|
stepsItem4.Title = "Step 4";
|
|
stepsItem5.Description = "开心超人";
|
|
stepsItem5.SubTitle = "终局";
|
|
stepsItem5.Title = "Step 5";
|
|
steps6.Items.Add(stepsItem1);
|
|
steps6.Items.Add(stepsItem2);
|
|
steps6.Items.Add(stepsItem3);
|
|
steps6.Items.Add(stepsItem4);
|
|
steps6.Items.Add(stepsItem5);
|
|
steps6.Location = new Point(766, 185);
|
|
steps6.Name = "steps6";
|
|
steps6.Padding = new Padding(10, 0, 0, 0);
|
|
steps6.Size = new Size(202, 417);
|
|
steps6.Status = AntdUI.TStepState.Finish;
|
|
steps6.TabIndex = 32;
|
|
steps6.Text = "steps4";
|
|
steps6.Vertical = true;
|
|
steps6.Click += Steps_Click;
|
|
//
|
|
// steps5
|
|
//
|
|
steps5.Current = 2;
|
|
steps5.Dock = DockStyle.Left;
|
|
stepsItem6.Description = "你想干嘛";
|
|
stepsItem6.Icon = Properties.Resources.img1;
|
|
stepsItem6.Title = "Step 1";
|
|
stepsItem7.Description = "包裹大概是被偷了";
|
|
stepsItem7.Title = "Step 2";
|
|
stepsItem8.Title = "Step 3";
|
|
stepsItem9.Description = "哈哈哈";
|
|
stepsItem9.Title = "Step 4";
|
|
stepsItem10.SubTitle = "星球大战";
|
|
stepsItem10.Title = "Step 5";
|
|
steps5.Items.Add(stepsItem6);
|
|
steps5.Items.Add(stepsItem7);
|
|
steps5.Items.Add(stepsItem8);
|
|
steps5.Items.Add(stepsItem9);
|
|
steps5.Items.Add(stepsItem10);
|
|
steps5.Location = new Point(544, 185);
|
|
steps5.Name = "steps5";
|
|
steps5.Padding = new Padding(10, 0, 0, 0);
|
|
steps5.Size = new Size(222, 417);
|
|
steps5.TabIndex = 33;
|
|
steps5.Text = "steps4";
|
|
steps5.Vertical = true;
|
|
steps5.Click += Steps_Click;
|
|
//
|
|
// steps4
|
|
//
|
|
steps4.Current = 1;
|
|
steps4.Dock = DockStyle.Left;
|
|
stepsItem11.Description = "准备发车";
|
|
stepsItem11.IconSvg = "FieldTimeOutlined";
|
|
stepsItem11.MilestoneTimePoint = new System.DateTime(2025, 7, 13, 6, 30, 0, 0);
|
|
stepsItem11.SubTitle = "机场南站";
|
|
stepsItem11.Title = "发车";
|
|
stepsItem12.Description = "即将到站";
|
|
stepsItem12.IconSvg = "AimOutlined";
|
|
stepsItem12.MilestoneTimePoint = new System.DateTime(2025, 7, 13, 6, 55, 25, 0);
|
|
stepsItem12.SubTitle = "前海站";
|
|
stepsItem12.Title = "进站";
|
|
stepsItem13.Description = "还有一站";
|
|
stepsItem13.IconSvg = "HeatMapOutlined";
|
|
stepsItem13.MilestoneTimePoint = new System.DateTime(2025, 7, 13, 7, 15, 10, 0);
|
|
stepsItem13.SubTitle = "南山科技园";
|
|
stepsItem13.Title = "下一站";
|
|
stepsItem14.Description = "还有两站";
|
|
stepsItem14.IconSvg = "CompassOutlined";
|
|
stepsItem14.MilestoneTimePoint = new System.DateTime(2025, 7, 13, 7, 40, 10, 0);
|
|
stepsItem14.SubTitle = "福田CBD";
|
|
stepsItem14.Title = "终点站";
|
|
steps4.Items.Add(stepsItem11);
|
|
steps4.Items.Add(stepsItem12);
|
|
steps4.Items.Add(stepsItem13);
|
|
steps4.Items.Add(stepsItem14);
|
|
steps4.Location = new Point(222, 185);
|
|
steps4.MilestoneMode = true;
|
|
steps4.MilestoneTimeFormat = "HH:mm tt";
|
|
steps4.MilestoneTimelineThickness = 12;
|
|
steps4.MilestoneType = AntdUI.TMilestoneType.Time;
|
|
steps4.Name = "steps4";
|
|
steps4.Padding = new Padding(10, 0, 0, 0);
|
|
steps4.Size = new Size(322, 417);
|
|
steps4.Status = AntdUI.TStepState.Wait;
|
|
steps4.TabIndex = 34;
|
|
steps4.Text = "steps4";
|
|
steps4.Vertical = true;
|
|
steps4.Click += Steps_Click;
|
|
//
|
|
// steps3
|
|
//
|
|
steps3.Current = 1;
|
|
steps3.Dock = DockStyle.Left;
|
|
stepsItem15.Description = "你想干嘛";
|
|
stepsItem15.Title = "Step 1";
|
|
stepsItem16.Description = "包裹大概是被偷了";
|
|
stepsItem16.Title = "Step 2";
|
|
stepsItem17.Description = "退退退退退";
|
|
stepsItem17.SubTitle = "¥60.0";
|
|
stepsItem17.Title = "Step 3";
|
|
stepsItem18.Description = "哈哈哈";
|
|
stepsItem18.Title = "END";
|
|
steps3.Items.Add(stepsItem15);
|
|
steps3.Items.Add(stepsItem16);
|
|
steps3.Items.Add(stepsItem17);
|
|
steps3.Items.Add(stepsItem18);
|
|
steps3.Location = new Point(0, 185);
|
|
steps3.Name = "steps3";
|
|
steps3.Padding = new Padding(10, 0, 0, 0);
|
|
steps3.Size = new Size(222, 417);
|
|
steps3.Status = AntdUI.TStepState.Error;
|
|
steps3.TabIndex = 31;
|
|
steps3.Text = "steps3";
|
|
steps3.Vertical = true;
|
|
steps3.Click += Steps_Click;
|
|
//
|
|
// steps2
|
|
//
|
|
steps2.Current = 1;
|
|
steps2.Dock = DockStyle.Top;
|
|
stepsItem19.Description = "正式立项";
|
|
stepsItem19.IconSvg = "AntDesignOutlined";
|
|
stepsItem19.MilestoneTimePoint = new System.DateTime(2025, 1, 1, 10, 50, 25, 0);
|
|
stepsItem19.Title = "出发";
|
|
stepsItem20.Description = "项目开发完成";
|
|
stepsItem20.IconSvg = "OpenAIOutlined";
|
|
stepsItem20.MilestoneTimePoint = new System.DateTime(2025, 5, 15, 16, 51, 35, 0);
|
|
stepsItem21.Description = "项目正式上线";
|
|
stepsItem21.IconSvg = "CloudUploadOutlined";
|
|
stepsItem21.MilestoneTimePoint = new System.DateTime(2025, 7, 15, 10, 51, 35, 0);
|
|
stepsItem22.Description = "项目完成";
|
|
stepsItem22.IconSvg = "DockerOutlined";
|
|
stepsItem22.MilestoneTimePoint = new System.DateTime(2025, 12, 1, 10, 51, 35, 0);
|
|
stepsItem22.Title = "到达";
|
|
steps2.Items.Add(stepsItem19);
|
|
steps2.Items.Add(stepsItem20);
|
|
steps2.Items.Add(stepsItem21);
|
|
steps2.Items.Add(stepsItem22);
|
|
steps2.Location = new Point(0, 77);
|
|
steps2.MilestoneMode = true;
|
|
steps2.MilestoneTimeFormat = "yy-MM-dd";
|
|
steps2.Name = "steps2";
|
|
steps2.Padding = new Padding(4, 0, 4, 4);
|
|
steps2.Size = new Size(1300, 108);
|
|
steps2.TabIndex = 29;
|
|
steps2.Text = "steps2";
|
|
steps2.Click += Steps_Click;
|
|
//
|
|
// steps1
|
|
//
|
|
steps1.Current = 1;
|
|
steps1.Dock = DockStyle.Top;
|
|
stepsItem23.Description = "This is a description.";
|
|
stepsItem23.Title = "Finished";
|
|
stepsItem24.Description = "This is a description.";
|
|
stepsItem24.SubTitle = "Left 00:00:08";
|
|
stepsItem24.Title = "In Progress";
|
|
stepsItem25.Description = "This is a description.";
|
|
stepsItem25.Title = "Waiting";
|
|
steps1.Items.Add(stepsItem23);
|
|
steps1.Items.Add(stepsItem24);
|
|
steps1.Items.Add(stepsItem25);
|
|
steps1.Location = new Point(0, 0);
|
|
steps1.Name = "steps1";
|
|
steps1.Size = new Size(1300, 77);
|
|
steps1.TabIndex = 28;
|
|
steps1.Text = "steps1";
|
|
steps1.Click += Steps_Click;
|
|
//
|
|
// Steps
|
|
//
|
|
Controls.Add(panel1);
|
|
Controls.Add(header1);
|
|
Font = new Font("Microsoft YaHei UI", 12F);
|
|
Name = "Steps";
|
|
Size = new Size(1300, 676);
|
|
panel1.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private AntdUI.PageHeader header1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private AntdUI.Steps steps1;
|
|
private AntdUI.Steps steps2;
|
|
private AntdUI.Steps steps6;
|
|
private AntdUI.Steps steps5;
|
|
private AntdUI.Steps steps4;
|
|
private AntdUI.Steps steps3;
|
|
private AntdUI.Switch switch1;
|
|
}
|
|
} |