Commit 93c5d1c2 kwwwvagaa GitHub 提交于

Merge pull request #14 from LeoYoungHub/master

Merge pull request #1 from kwwwvagaa/master
2 个父辈 befdafda 710ddb41
......@@ -25,310 +25,312 @@ using System.Drawing.Drawing2D;
namespace HZH_Controls.Controls
{
/// <summary>
/// Class UCStep.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
[DefaultEvent("IndexChecked")]
public partial class UCStep : UserControl
{
/// <summary>
/// Class UCStep.
/// Implements the <see cref="System.Windows.Forms.UserControl" />
/// </summary>
/// <seealso cref="System.Windows.Forms.UserControl" />
[DefaultEvent("IndexChecked")]
public partial class UCStep : UserControl
{
/// <summary>
/// Occurs when [index checked].
/// </summary>
[Description("步骤更改事件"), Category("自定义")]
public event EventHandler IndexChecked;
/// <summary>
/// Occurs when [index checked].
/// </summary>
[Description("步骤更改事件"), Category("自定义")]
public event EventHandler IndexChecked;
/// <summary>
/// The m step back color
/// </summary>
private Color m_stepBackColor = Color.FromArgb(189, 189, 189);
/// <summary>
/// 步骤背景色
/// </summary>
/// <value>The color of the step back.</value>
[Description("步骤背景色"), Category("自定义")]
public Color StepBackColor
{
get { return m_stepBackColor; }
set
{
m_stepBackColor = value;
Refresh();
}
}
/// <summary>
/// The m step back color
/// </summary>
private Color m_stepBackColor = Color.FromArgb(189, 189, 189);
/// <summary>
/// 步骤背景色
/// </summary>
/// <value>The color of the step back.</value>
[Description("步骤背景色"), Category("自定义")]
public Color StepBackColor
{
get { return m_stepBackColor; }
set
{
m_stepBackColor = value;
Refresh();
}
}
/// <summary>
/// The m step fore color
/// </summary>
private Color m_stepForeColor = Color.FromArgb(255, 77, 59);
/// <summary>
/// 步骤前景色
/// </summary>
/// <value>The color of the step fore.</value>
[Description("步骤前景色"), Category("自定义")]
public Color StepForeColor
{
get { return m_stepForeColor; }
set
{
m_stepForeColor = value;
Refresh();
}
}
/// <summary>
/// The m step fore color
/// </summary>
private Color m_stepForeColor = Color.FromArgb(255, 77, 59);
/// <summary>
/// 步骤前景色
/// </summary>
/// <value>The color of the step fore.</value>
[Description("步骤前景色"), Category("自定义")]
public Color StepForeColor
{
get { return m_stepForeColor; }
set
{
m_stepForeColor = value;
Refresh();
}
}
/// <summary>
/// The m step font color
/// </summary>
private Color m_stepFontColor = Color.White;
/// <summary>
/// 步骤文字颜色
/// </summary>
/// <value>The color of the step font.</value>
[Description("步骤文字景色"), Category("自定义")]
public Color StepFontColor
{
get { return m_stepFontColor; }
set
{
m_stepFontColor = value;
Refresh();
}
}
/// <summary>
/// The m step font color
/// </summary>
private Color m_stepFontColor = Color.White;
/// <summary>
/// 步骤文字颜色
/// </summary>
/// <value>The color of the step font.</value>
[Description("步骤文字景色"), Category("自定义")]
public Color StepFontColor
{
get { return m_stepFontColor; }
set
{
m_stepFontColor = value;
Refresh();
}
}
/// <summary>
/// The m step width
/// </summary>
private int m_stepWidth = 35;
/// <summary>
/// 步骤宽度
/// </summary>
/// <value>The width of the step.</value>
[Description("步骤宽度景色"), Category("自定义")]
public int StepWidth
{
get { return m_stepWidth; }
set
{
m_stepWidth = value;
Refresh();
}
}
/// <summary>
/// The m step width
/// </summary>
private int m_stepWidth = 35;
/// <summary>
/// 步骤宽度
/// </summary>
/// <value>The width of the step.</value>
[Description("步骤宽度景色"), Category("自定义")]
public int StepWidth
{
get { return m_stepWidth; }
set
{
m_stepWidth = value;
Refresh();
}
}
/// <summary>
/// The m steps
/// </summary>
private string[] m_steps = new string[] { "step1", "step2", "step3" };
/// <summary>
/// The m steps
/// </summary>
private string[] m_steps = new string[] { "step1", "step2", "step3" };
/// <summary>
/// Gets or sets the steps.
/// </summary>
/// <value>The steps.</value>
[Description("步骤"), Category("自定义")]
public string[] Steps
{
get { return m_steps; }
set
{
if (m_steps == null || m_steps.Length <= 1)
return;
m_steps = value;
Refresh();
}
}
/// <summary>
/// Gets or sets the steps.
/// </summary>
/// <value>The steps.</value>
[Description("步骤"), Category("自定义")]
public string[] Steps
{
get { return m_steps; }
set
{
if (m_steps == null || m_steps.Length < 1)
return;
m_steps = value;
Refresh();
}
}
/// <summary>
/// The m step index
/// </summary>
private int m_stepIndex = 0;
/// <summary>
/// The m step index
/// </summary>
private int m_stepIndex = 0;
/// <summary>
/// Gets or sets the index of the step.
/// </summary>
/// <value>The index of the step.</value>
[Description("步骤位置"), Category("自定义")]
public int StepIndex
{
get { return m_stepIndex; }
set
{
if (value > Steps.Length)
return;
m_stepIndex = value;
Refresh();
if (IndexChecked != null)
{
IndexChecked(this, null);
}
}
}
/// <summary>
/// Gets or sets the index of the step.
/// </summary>
/// <value>The index of the step.</value>
[Description("步骤位置"), Category("自定义")]
public int StepIndex
{
get { return m_stepIndex; }
set
{
if (value > Steps.Length)
return;
m_stepIndex = value;
Refresh();
if (IndexChecked != null)
{
IndexChecked(this, null);
}
}
}
/// <summary>
/// The m line width
/// </summary>
private int m_lineWidth = 2;
/// <summary>
/// The m line width
/// </summary>
private int m_lineWidth = 2;
/// <summary>
/// Gets or sets the width of the line.
/// </summary>
/// <value>The width of the line.</value>
[Description("连接线宽度,最小2"), Category("自定义")]
public int LineWidth
{
get { return m_lineWidth; }
set
{
if (value < 2)
return;
m_lineWidth = value;
Refresh();
}
}
/// <summary>
/// Gets or sets the width of the line.
/// </summary>
/// <value>The width of the line.</value>
[Description("连接线宽度,最小2"), Category("自定义")]
public int LineWidth
{
get { return m_lineWidth; }
set
{
if (value < 2)
return;
m_lineWidth = value;
Refresh();
}
}
/// <summary>
/// The m img completed
/// </summary>
private Image m_imgCompleted = null;
/// <summary>
/// Gets or sets the img completed.
/// </summary>
/// <value>The img completed.</value>
[Description("已完成步骤图片,当不为空时,已完成步骤将不再显示数字,建议24*24大小"), Category("自定义")]
public Image ImgCompleted
{
get { return m_imgCompleted; }
set
{
m_imgCompleted = value;
Refresh();
}
}
/// <summary>
/// The m img completed
/// </summary>
private Image m_imgCompleted = null;
/// <summary>
/// Gets or sets the img completed.
/// </summary>
/// <value>The img completed.</value>
[Description("已完成步骤图片,当不为空时,已完成步骤将不再显示数字,建议24*24大小"), Category("自定义")]
public Image ImgCompleted
{
get { return m_imgCompleted; }
set
{
m_imgCompleted = value;
Refresh();
}
}
/// <summary>
/// The m LST cache rect
/// </summary>
List<Rectangle> m_lstCacheRect = new List<Rectangle>();
/// <summary>
/// The m LST cache rect
/// </summary>
List<Rectangle> m_lstCacheRect = new List<Rectangle>();
/// <summary>
/// Initializes a new instance of the <see cref="UCStep" /> class.
/// </summary>
public UCStep()
{
InitializeComponent();
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.ResizeRedraw, true);
this.SetStyle(ControlStyles.Selectable, true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.MouseDown += UCStep_MouseDown;
}
/// <summary>
/// Initializes a new instance of the <see cref="UCStep" /> class.
/// </summary>
public UCStep()
{
InitializeComponent();
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.ResizeRedraw, true);
this.SetStyle(ControlStyles.Selectable, true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.MouseDown += UCStep_MouseDown;
}
/// <summary>
/// Handles the MouseDown event of the UCStep control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="MouseEventArgs" /> instance containing the event data.</param>
void UCStep_MouseDown(object sender, MouseEventArgs e)
{
var index = m_lstCacheRect.FindIndex(p => p.Contains(e.Location));
if (index >= 0)
{
StepIndex = index + 1;
}
}
/// <summary>
/// Handles the MouseDown event of the UCStep control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="MouseEventArgs" /> instance containing the event data.</param>
void UCStep_MouseDown(object sender, MouseEventArgs e)
{
var index = m_lstCacheRect.FindIndex(p => p.Contains(e.Location));
if (index >= 0)
{
StepIndex = index + 1;
}
}
/// <summary>
/// 引发 <see cref="E:System.Windows.Forms.Control.Paint" /> 事件。
/// </summary>
/// <param name="e">包含事件数据的 <see cref="T:System.Windows.Forms.PaintEventArgs" />。</param>
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
var g = e.Graphics;
g.SetGDIHigh();
/// <summary>
/// 引发 <see cref="E:System.Windows.Forms.Control.Paint" /> 事件。
/// </summary>
/// <param name="e">包含事件数据的 <see cref="T:System.Windows.Forms.PaintEventArgs" />。</param>
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
var g = e.Graphics;
g.SetGDIHigh();
if (m_steps != null && m_steps.Length > 0)
{
System.Drawing.SizeF sizeFirst = g.MeasureString(m_steps[0], this.Font);
int y = (this.Height - m_stepWidth - 10 - (int)sizeFirst.Height) / 2;
if (y < 0)
y = 0;
if (m_steps != null && m_steps.Length > 0)
{
System.Drawing.SizeF sizeFirst = g.MeasureString(m_steps[0], this.Font);
int y = (this.Height - m_stepWidth - 10 - (int)sizeFirst.Height) / 2;
if (y < 0)
y = 0;
int intTxtY = y + m_stepWidth + 10;
int intLeft = 0;
if (sizeFirst.Width > m_stepWidth)
{
intLeft = (int)(sizeFirst.Width - m_stepWidth) / 2 + 1;
}
int intTxtY = y + m_stepWidth + 10;
int intLeft = 0;
if (sizeFirst.Width > m_stepWidth)
{
intLeft = (int)(sizeFirst.Width - m_stepWidth) / 2 + 1;
}
int intRight = 0;
System.Drawing.SizeF sizeEnd = g.MeasureString(m_steps[m_steps.Length - 1], this.Font);
if (sizeEnd.Width > m_stepWidth)
{
intRight = (int)(sizeEnd.Width - m_stepWidth) / 2 + 1;
}
int intRight = 0;
System.Drawing.SizeF sizeEnd = g.MeasureString(m_steps[m_steps.Length - 1], this.Font);
if (sizeEnd.Width > m_stepWidth)
{
intRight = (int)(sizeEnd.Width - m_stepWidth) / 2 + 1;
}
int intSplitWidth = 20;
intSplitWidth = (this.Width - m_steps.Length - (m_steps.Length * m_stepWidth) - intRight - intLeft) / (m_steps.Length - 1);
if (intSplitWidth < 20)
intSplitWidth = 20;
m_lstCacheRect = new List<Rectangle>();
for (int i = 0; i < m_steps.Length; i++)
{
#region 画圆,横线
Rectangle rectEllipse = new Rectangle(new Point(intLeft + i * (m_stepWidth + intSplitWidth), y), new Size(m_stepWidth, m_stepWidth));
m_lstCacheRect.Add(rectEllipse);
g.FillEllipse(new SolidBrush(m_stepBackColor), rectEllipse);
int intSplitWidth = 20;
if (m_steps.Length > 1)
{
intSplitWidth = (this.Width - m_steps.Length - (m_steps.Length * m_stepWidth) - intRight - intLeft) / (m_steps.Length - 1);
}
m_lstCacheRect = new List<Rectangle>();
for (int i = 0; i < m_steps.Length; i++)
{
#region 画圆,横线
Rectangle rectEllipse = new Rectangle(new Point(intLeft + i * (m_stepWidth + intSplitWidth), y), new Size(m_stepWidth, m_stepWidth));
m_lstCacheRect.Add(rectEllipse);
g.FillEllipse(new SolidBrush(m_stepBackColor), rectEllipse);
if (m_stepIndex > i)
{
g.FillEllipse(new SolidBrush(m_stepForeColor), new Rectangle(new Point(intLeft + i * (m_stepWidth + intSplitWidth) + 2, y + 2), new Size(m_stepWidth - 4, m_stepWidth - 4)));
if (m_stepIndex > i)
{
g.FillEllipse(new SolidBrush(m_stepForeColor), new Rectangle(new Point(intLeft + i * (m_stepWidth + intSplitWidth) + 2, y + 2), new Size(m_stepWidth - 4, m_stepWidth - 4)));
}
if (m_stepIndex > i && m_imgCompleted != null)
{
g.DrawImage(m_imgCompleted, new Rectangle(new Point((intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - 24) / 2), y + (m_stepWidth - 24) / 2), new Size(24, 24)), 0, 0, m_imgCompleted.Width, m_imgCompleted.Height, GraphicsUnit.Pixel, null);
}
else
{
System.Drawing.SizeF _numSize = g.MeasureString((i + 1).ToString(), this.Font);
g.DrawString((i + 1).ToString(), Font, new SolidBrush(m_stepFontColor), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - (int)_numSize.Width) / 2 + 1, y + (m_stepWidth - (int)_numSize.Height) / 2 + 1));
}
#endregion
}
if (m_stepIndex > i && m_imgCompleted != null)
{
g.DrawImage(m_imgCompleted, new Rectangle(new Point((intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - 24) / 2), y + (m_stepWidth - 24) / 2), new Size(24, 24)), 0, 0, m_imgCompleted.Width, m_imgCompleted.Height, GraphicsUnit.Pixel, null);
}
else
{
System.Drawing.SizeF _numSize = g.MeasureString((i + 1).ToString(), this.Font);
g.DrawString((i + 1).ToString(), Font, new SolidBrush(m_stepFontColor), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - (int)_numSize.Width) / 2 + 1, y + (m_stepWidth - (int)_numSize.Height) / 2 + 1));
}
#endregion
System.Drawing.SizeF sizeTxt = g.MeasureString(m_steps[i], this.Font);
g.DrawString(m_steps[i], Font, new SolidBrush(m_stepIndex > i ? m_stepForeColor : m_stepBackColor), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - (int)sizeTxt.Width) / 2 + 1, intTxtY));
}
System.Drawing.SizeF sizeTxt = g.MeasureString(m_steps[i], this.Font);
g.DrawString(m_steps[i], Font, new SolidBrush(m_stepIndex > i ? m_stepForeColor : m_stepBackColor), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + (m_stepWidth - (int)sizeTxt.Width) / 2 + 1, intTxtY));
}
for (int i = 0; i < m_steps.Length; i++)
{
if (m_stepIndex > i)
{
if (i != m_steps.Length - 1)
{
if (m_stepIndex == i + 1)
{
g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth + intSplitWidth / 2, y + ((m_stepWidth) / 2)));
g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth + intSplitWidth / 2, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
else
{
g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
}
}
else
{
if (i != m_steps.Length - 1)
{
g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
}
}
}
for (int i = 0; i < m_steps.Length; i++)
{
if (m_stepIndex > i)
{
if (i != m_steps.Length - 1)
{
if (m_stepIndex == i + 1)
{
g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth + intSplitWidth / 2, y + ((m_stepWidth) / 2)));
g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth + intSplitWidth / 2, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
else
{
g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
}
}
else
{
if (i != m_steps.Length - 1)
{
g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point(intLeft + (i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
}
}
}
}
}
}
}
}
}
......@@ -28,160 +28,156 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestStep));
this.ucStep4 = new HZH_Controls.Controls.UCStep();
this.ucStep6 = new HZH_Controls.Controls.UCStep();
this.ucStep5 = new HZH_Controls.Controls.UCStep();
this.ucStep2 = new HZH_Controls.Controls.UCStep();
this.ucStep3 = new HZH_Controls.Controls.UCStep();
this.ucStep1 = new HZH_Controls.Controls.UCStep();
this.SuspendLayout();
//
// ucStep4
//
this.ucStep4.BackColor = System.Drawing.Color.Transparent;
this.ucStep4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep4.ImgCompleted = null;
this.ucStep4.LineWidth = 10;
this.ucStep4.Location = new System.Drawing.Point(409, 133);
this.ucStep4.Name = "ucStep4";
this.ucStep4.Size = new System.Drawing.Size(362, 86);
this.ucStep4.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep4.StepFontColor = System.Drawing.Color.White;
this.ucStep4.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep4.StepIndex = 2;
this.ucStep4.Steps = new string[] {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCTestStep));
this.ucStep4 = new HZH_Controls.Controls.UCStep();
this.ucStep6 = new HZH_Controls.Controls.UCStep();
this.ucStep5 = new HZH_Controls.Controls.UCStep();
this.ucStep2 = new HZH_Controls.Controls.UCStep();
this.ucStep3 = new HZH_Controls.Controls.UCStep();
this.ucStep1 = new HZH_Controls.Controls.UCStep();
this.SuspendLayout();
//
// ucStep4
//
this.ucStep4.BackColor = System.Drawing.Color.Transparent;
this.ucStep4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep4.ImgCompleted = null;
this.ucStep4.LineWidth = 10;
this.ucStep4.Location = new System.Drawing.Point(409, 133);
this.ucStep4.Name = "ucStep4";
this.ucStep4.Size = new System.Drawing.Size(362, 86);
this.ucStep4.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep4.StepFontColor = System.Drawing.Color.White;
this.ucStep4.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep4.StepIndex = 2;
this.ucStep4.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep4.StepWidth = 35;
this.ucStep4.TabIndex = 1;
//
// ucStep6
//
this.ucStep6.BackColor = System.Drawing.Color.Transparent;
this.ucStep6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep6.ImgCompleted = null;
this.ucStep6.LineWidth = 10;
this.ucStep6.Location = new System.Drawing.Point(29, 340);
this.ucStep6.Name = "ucStep6";
this.ucStep6.Size = new System.Drawing.Size(742, 109);
this.ucStep6.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep6.StepFontColor = System.Drawing.Color.White;
this.ucStep6.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep6.StepIndex = 2;
this.ucStep6.Steps = new string[] {
this.ucStep4.StepWidth = 35;
this.ucStep4.TabIndex = 1;
//
// ucStep6
//
this.ucStep6.BackColor = System.Drawing.Color.Transparent;
this.ucStep6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep6.ImgCompleted = null;
this.ucStep6.LineWidth = 10;
this.ucStep6.Location = new System.Drawing.Point(29, 340);
this.ucStep6.Name = "ucStep6";
this.ucStep6.Size = new System.Drawing.Size(742, 109);
this.ucStep6.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep6.StepFontColor = System.Drawing.Color.White;
this.ucStep6.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep6.StepIndex = 2;
this.ucStep6.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep6.StepWidth = 35;
this.ucStep6.TabIndex = 1;
//
// ucStep5
//
this.ucStep5.BackColor = System.Drawing.Color.Transparent;
this.ucStep5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep5.ImgCompleted = null;
this.ucStep5.LineWidth = 10;
this.ucStep5.Location = new System.Drawing.Point(29, 225);
this.ucStep5.Name = "ucStep5";
this.ucStep5.Size = new System.Drawing.Size(742, 109);
this.ucStep5.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep5.StepFontColor = System.Drawing.Color.White;
this.ucStep5.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep5.StepIndex = 2;
this.ucStep5.Steps = new string[] {
this.ucStep6.StepWidth = 35;
this.ucStep6.TabIndex = 1;
//
// ucStep5
//
this.ucStep5.BackColor = System.Drawing.Color.Transparent;
this.ucStep5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep5.ImgCompleted = null;
this.ucStep5.LineWidth = 10;
this.ucStep5.Location = new System.Drawing.Point(29, 225);
this.ucStep5.Name = "ucStep5";
this.ucStep5.Size = new System.Drawing.Size(742, 109);
this.ucStep5.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep5.StepFontColor = System.Drawing.Color.White;
this.ucStep5.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep5.StepIndex = 2;
this.ucStep5.Steps = new string[] {
"step1"};
this.ucStep5.StepWidth = 35;
this.ucStep5.TabIndex = 1;
//
// ucStep2
//
this.ucStep2.BackColor = System.Drawing.Color.Transparent;
this.ucStep2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep2.ImgCompleted = null;
this.ucStep2.LineWidth = 10;
this.ucStep2.Location = new System.Drawing.Point(29, 133);
this.ucStep2.Name = "ucStep2";
this.ucStep2.Size = new System.Drawing.Size(362, 86);
this.ucStep2.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep2.StepFontColor = System.Drawing.Color.White;
this.ucStep2.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep2.StepIndex = 2;
this.ucStep2.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep5.StepWidth = 35;
this.ucStep5.TabIndex = 1;
//
// ucStep2
//
this.ucStep2.BackColor = System.Drawing.Color.Transparent;
this.ucStep2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep2.ImgCompleted = null;
this.ucStep2.LineWidth = 10;
this.ucStep2.Location = new System.Drawing.Point(29, 133);
this.ucStep2.Name = "ucStep2";
this.ucStep2.Size = new System.Drawing.Size(362, 86);
this.ucStep2.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep2.StepFontColor = System.Drawing.Color.White;
this.ucStep2.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep2.StepIndex = 2;
this.ucStep2.Steps = new string[] {
this.ucStep2.StepWidth = 35;
this.ucStep2.TabIndex = 1;
//
// ucStep3
//
this.ucStep3.BackColor = System.Drawing.Color.Transparent;
this.ucStep3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep3.ImgCompleted = ((System.Drawing.Image)(resources.GetObject("ucStep3.ImgCompleted")));
this.ucStep3.LineWidth = 10;
this.ucStep3.Location = new System.Drawing.Point(409, 40);
this.ucStep3.Name = "ucStep3";
this.ucStep3.Size = new System.Drawing.Size(362, 77);
this.ucStep3.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep3.StepFontColor = System.Drawing.Color.White;
this.ucStep3.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep3.StepIndex = 2;
this.ucStep3.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep2.StepWidth = 35;
this.ucStep2.TabIndex = 1;
//
// ucStep3
//
this.ucStep3.BackColor = System.Drawing.Color.Transparent;
this.ucStep3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep3.ImgCompleted = ((System.Drawing.Image)(resources.GetObject("ucStep3.ImgCompleted")));
this.ucStep3.LineWidth = 10;
this.ucStep3.Location = new System.Drawing.Point(409, 40);
this.ucStep3.Name = "ucStep3";
this.ucStep3.Size = new System.Drawing.Size(362, 77);
this.ucStep3.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep3.StepFontColor = System.Drawing.Color.White;
this.ucStep3.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(144)))));
this.ucStep3.StepIndex = 2;
this.ucStep3.Steps = new string[] {
this.ucStep3.StepWidth = 35;
this.ucStep3.TabIndex = 2;
//
// ucStep1
//
this.ucStep1.BackColor = System.Drawing.Color.Transparent;
this.ucStep1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep1.ImgCompleted = ((System.Drawing.Image)(resources.GetObject("ucStep1.ImgCompleted")));
this.ucStep1.LineWidth = 10;
this.ucStep1.Location = new System.Drawing.Point(29, 40);
this.ucStep1.Name = "ucStep1";
this.ucStep1.Size = new System.Drawing.Size(362, 77);
this.ucStep1.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep1.StepFontColor = System.Drawing.Color.White;
this.ucStep1.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep1.StepIndex = 2;
this.ucStep1.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep3.StepWidth = 35;
this.ucStep3.TabIndex = 2;
//
// ucStep1
//
this.ucStep1.BackColor = System.Drawing.Color.Transparent;
this.ucStep1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.ucStep1.ImgCompleted = ((System.Drawing.Image)(resources.GetObject("ucStep1.ImgCompleted")));
this.ucStep1.LineWidth = 10;
this.ucStep1.Location = new System.Drawing.Point(29, 40);
this.ucStep1.Name = "ucStep1";
this.ucStep1.Size = new System.Drawing.Size(362, 77);
this.ucStep1.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(189)))), ((int)(((byte)(189)))));
this.ucStep1.StepFontColor = System.Drawing.Color.White;
this.ucStep1.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
this.ucStep1.StepIndex = 2;
this.ucStep1.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep1.StepWidth = 35;
this.ucStep1.TabIndex = 2;
//
// UCTestStep
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucStep4);
this.Controls.Add(this.ucStep6);
this.Controls.Add(this.ucStep5);
this.Controls.Add(this.ucStep2);
this.Controls.Add(this.ucStep3);
this.Controls.Add(this.ucStep1);
this.Name = "UCTestStep";
this.Size = new System.Drawing.Size(1280, 526);
this.ResumeLayout(false);
this.ucStep1.StepWidth = 35;
this.ucStep1.TabIndex = 2;
//
// UCTestStep
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.ucStep4);
this.Controls.Add(this.ucStep6);
this.Controls.Add(this.ucStep5);
this.Controls.Add(this.ucStep2);
this.Controls.Add(this.ucStep3);
this.Controls.Add(this.ucStep1);
this.Name = "UCTestStep";
this.Size = new System.Drawing.Size(1280, 526);
this.ResumeLayout(false);
}
......
......@@ -120,20 +120,20 @@
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ucStep3.ImgCompleted" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAACvSURBVEhL7ZLRDYMwDEQzQkfoaB2hIzBCNygbMEpHSu/IGZEIRa1x+4F40kmWY78AIp0ci5zz
VWU8kI/IC7moFYfkRtwlFCETrQ2DRvxAQjmftmXUiB9I/HIMdb8fzxG/HOHyU62K1XnLV3KD9fI2rNVr
uWukDwaHMl8xX6JsyW9a/wwsrP9ng+L9cgOLj7LfxSc3KCieTfbJDYqKryJGblBYvDOxcoPin8lP/kBK
b1p1tZEYIvwEAAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAK9JREFUSEvt
ktENgzAMRDNCR+hoHaEjMEI3KBswSkdK78gZkQhFrXH7gXjSSZZjvwAinRyLnPNVZTyQj8gLuagVh+RG
3CUUIROtDYNG/EBCOZ+2ZdSIH0j8cgx1vx/PEb8c4fJTrYrVectXcoP18jas1Wu5a6QPBocyXzFfomzJ
b1r/DCys/2eD4v1yA4uPst/FJzcoKJ5N9skNioqvIkZuUFi8M7Fyg+KfyU/+QEpvWnW1kRgi/AQAAAAA
SUVORK5CYII=
</value>
</data>
<data name="ucStep1.ImgCompleted" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAACvSURBVEhL7ZLRDYMwDEQzQkfoaB2hIzBCNygbMEpHSu/IGZEIRa1x+4F40kmWY78AIp0ci5zz
VWU8kI/IC7moFYfkRtwlFCETrQ2DRvxAQjmftmXUiB9I/HIMdb8fzxG/HOHyU62K1XnLV3KD9fI2rNVr
uWukDwaHMl8xX6JsyW9a/wwsrP9ng+L9cgOLj7LfxSc3KCieTfbJDYqKryJGblBYvDOxcoPin8lP/kBK
b1p1tZEYIvwEAAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAK9JREFUSEvt
ktENgzAMRDNCR+hoHaEjMEI3KBswSkdK78gZkQhFrXH7gXjSSZZjvwAinRyLnPNVZTyQj8gLuagVh+RG
3CUUIROtDYNG/EBCOZ+2ZdSIH0j8cgx1vx/PEb8c4fJTrYrVectXcoP18jas1Wu5a6QPBocyXzFfomzJ
b1r/DCys/2eD4v1yA4uPst/FJzcoKJ5N9skNioqvIkZuUFi8M7Fyg+KfyU/+QEpvWnW1kRgi/AQAAAAA
SUVORK5CYII=
</value>
</data>
</root>
\ No newline at end of file
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!