Commit 217c5e6e HZH

更改控件颜色

1 个父辈 d39d81eb
...@@ -12,7 +12,7 @@ namespace HZH_Controls.Controls ...@@ -12,7 +12,7 @@ namespace HZH_Controls.Controls
{ {
public partial class UCCrumbNavigation : UserControl public partial class UCCrumbNavigation : UserControl
{ {
private Color m_navColor = Color.FromArgb(100, 100, 100); private Color m_navColor = Color.FromArgb(111, 122, 126);
public Color NavColor public Color NavColor
{ {
......
...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
// //
// lblTitle // lblTitle
// //
this.lblTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.lblTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.ForeColor = System.Drawing.Color.White;
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(0, 0);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(432, 34); this.lblTitle.Size = new System.Drawing.Size(253, 34);
this.lblTitle.TabIndex = 0; this.lblTitle.TabIndex = 0;
this.lblTitle.Text = "面板"; this.lblTitle.Text = "面板";
this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
this.IsRadius = true; this.IsRadius = true;
this.IsShowRect = true; this.IsShowRect = true;
this.Name = "UCPanelTitle"; this.Name = "UCPanelTitle";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.Size = new System.Drawing.Size(432, 301); this.Size = new System.Drawing.Size(253, 171);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
......
...@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls ...@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls
[Description("值改变事件"), Category("自定义")] [Description("值改变事件"), Category("自定义")]
public event EventHandler ValueChanged; public event EventHandler ValueChanged;
private Color m_backEllipseColor = Color.FromArgb(22, 160, 133); private Color m_backEllipseColor = Color.FromArgb(73, 119, 232);
/// <summary> /// <summary>
/// 圆背景色 /// 圆背景色
/// </summary> /// </summary>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.Transparent; this.BackColor = System.Drawing.Color.Transparent;
this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "UCStep"; this.Name = "UCStep";
this.Size = new System.Drawing.Size(239, 80); this.Size = new System.Drawing.Size(239, 80);
this.ResumeLayout(false); this.ResumeLayout(false);
......
...@@ -17,7 +17,7 @@ namespace HZH_Controls.Controls ...@@ -17,7 +17,7 @@ namespace HZH_Controls.Controls
[Description("步骤更改事件"), Category("自定义")] [Description("步骤更改事件"), Category("自定义")]
public event EventHandler IndexChecked; public event EventHandler IndexChecked;
private Color m_stepBackColor = Color.FromArgb(100, 100, 100); private Color m_stepBackColor = Color.FromArgb(180, 180, 180);
/// <summary> /// <summary>
/// 步骤背景色 /// 步骤背景色
/// </summary> /// </summary>
...@@ -32,7 +32,7 @@ namespace HZH_Controls.Controls ...@@ -32,7 +32,7 @@ namespace HZH_Controls.Controls
} }
} }
private Color m_stepForeColor = Color.FromArgb(255, 85, 51); private Color m_stepForeColor = Color.FromArgb(73, 119, 232);
/// <summary> /// <summary>
/// 步骤前景色 /// 步骤前景色
/// </summary> /// </summary>
...@@ -214,7 +214,7 @@ namespace HZH_Controls.Controls ...@@ -214,7 +214,7 @@ namespace HZH_Controls.Controls
{ {
if (m_stepIndex == i + 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((i + 1) * (m_stepWidth + intSplitWidth) - intSplitWidth / 2 + 10, y + ((m_stepWidth) / 2))); g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft + i * (m_stepWidth + intSplitWidth) + m_stepWidth - 3, y + ((m_stepWidth) / 2)), new Point((i + 1) * (m_stepWidth + intSplitWidth) - intSplitWidth / 2 + 1 + 6, 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((i + 1) * (m_stepWidth + intSplitWidth) + 10, 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((i + 1) * (m_stepWidth + intSplitWidth) + 10, y + ((m_stepWidth) / 2)));
} }
else else
......
...@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls ...@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls
{ {
[Description("选中改变事件"), Category("自定义")] [Description("选中改变事件"), Category("自定义")]
public event EventHandler CheckedChanged; public event EventHandler CheckedChanged;
private Color m_trueColor = Color.FromArgb(34, 163, 169); private Color m_trueColor = Color.FromArgb(73, 119, 232);
[Description("选中时颜色"), Category("自定义")] [Description("选中时颜色"), Category("自定义")]
public Color TrueColor public Color TrueColor
...@@ -28,7 +28,7 @@ namespace HZH_Controls.Controls ...@@ -28,7 +28,7 @@ namespace HZH_Controls.Controls
} }
} }
private Color m_falseColor = Color.FromArgb(111, 122, 126); private Color m_falseColor = Color.FromArgb(180, 180, 180);
[Description("没有选中时颜色"), Category("自定义")] [Description("没有选中时颜色"), Category("自定义")]
public Color FalseColor public Color FalseColor
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
this.ucProcessEllipse2 = new HZH_Controls.Controls.UCProcessEllipse(); this.ucProcessEllipse2 = new HZH_Controls.Controls.UCProcessEllipse();
this.ucProcessEllipse1 = new HZH_Controls.Controls.UCProcessEllipse(); this.ucProcessEllipse1 = new HZH_Controls.Controls.UCProcessEllipse();
this.ucPanelTitle1 = new HZH_Controls.Controls.UCPanelTitle(); this.ucPanelTitle1 = new HZH_Controls.Controls.UCPanelTitle();
this.ucStep1 = new HZH_Controls.Controls.UCStep();
this.ucStep2 = new HZH_Controls.Controls.UCStep(); this.ucStep2 = new HZH_Controls.Controls.UCStep();
this.ucStep1 = new HZH_Controls.Controls.UCStep();
this.SuspendLayout(); this.SuspendLayout();
// //
// timer1 // timer1
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
this.ucSwitch10.Texts = new string[] { this.ucSwitch10.Texts = new string[] {
"确定", "确定",
"取消"}; "取消"};
this.ucSwitch10.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch10.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch9 // ucSwitch9
// //
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
this.ucSwitch9.Texts = new string[] { this.ucSwitch9.Texts = new string[] {
"确定", "确定",
"取消"}; "取消"};
this.ucSwitch9.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch9.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch6 // ucSwitch6
// //
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
this.ucSwitch6.SwitchType = HZH_Controls.Controls.SwitchType.Quadrilateral; this.ucSwitch6.SwitchType = HZH_Controls.Controls.SwitchType.Quadrilateral;
this.ucSwitch6.TabIndex = 4; this.ucSwitch6.TabIndex = 4;
this.ucSwitch6.Texts = new string[0]; this.ucSwitch6.Texts = new string[0];
this.ucSwitch6.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch6.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch8 // ucSwitch8
// //
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
this.ucSwitch8.Texts = new string[] { this.ucSwitch8.Texts = new string[] {
"确定", "确定",
"取消"}; "取消"};
this.ucSwitch8.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch8.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch5 // ucSwitch5
// //
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
this.ucSwitch5.SwitchType = HZH_Controls.Controls.SwitchType.Quadrilateral; this.ucSwitch5.SwitchType = HZH_Controls.Controls.SwitchType.Quadrilateral;
this.ucSwitch5.TabIndex = 4; this.ucSwitch5.TabIndex = 4;
this.ucSwitch5.Texts = new string[0]; this.ucSwitch5.Texts = new string[0];
this.ucSwitch5.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch5.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch7 // ucSwitch7
// //
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
this.ucSwitch7.Texts = new string[] { this.ucSwitch7.Texts = new string[] {
"确定", "确定",
"取消"}; "取消"};
this.ucSwitch7.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch7.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch4 // ucSwitch4
// //
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
this.ucSwitch4.SwitchType = HZH_Controls.Controls.SwitchType.Ellipse; this.ucSwitch4.SwitchType = HZH_Controls.Controls.SwitchType.Ellipse;
this.ucSwitch4.TabIndex = 4; this.ucSwitch4.TabIndex = 4;
this.ucSwitch4.Texts = new string[0]; this.ucSwitch4.Texts = new string[0];
this.ucSwitch4.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch4.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch3 // ucSwitch3
// //
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
this.ucSwitch3.SwitchType = HZH_Controls.Controls.SwitchType.Ellipse; this.ucSwitch3.SwitchType = HZH_Controls.Controls.SwitchType.Ellipse;
this.ucSwitch3.TabIndex = 4; this.ucSwitch3.TabIndex = 4;
this.ucSwitch3.Texts = new string[0]; this.ucSwitch3.Texts = new string[0];
this.ucSwitch3.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch3.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch2 // ucSwitch2
// //
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
this.ucSwitch2.SwitchType = HZH_Controls.Controls.SwitchType.Line; this.ucSwitch2.SwitchType = HZH_Controls.Controls.SwitchType.Line;
this.ucSwitch2.TabIndex = 4; this.ucSwitch2.TabIndex = 4;
this.ucSwitch2.Texts = new string[0]; this.ucSwitch2.Texts = new string[0];
this.ucSwitch2.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch2.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucSwitch1 // ucSwitch1
// //
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
this.ucSwitch1.SwitchType = HZH_Controls.Controls.SwitchType.Line; this.ucSwitch1.SwitchType = HZH_Controls.Controls.SwitchType.Line;
this.ucSwitch1.TabIndex = 4; this.ucSwitch1.TabIndex = 4;
this.ucSwitch1.Texts = new string[0]; this.ucSwitch1.Texts = new string[0];
this.ucSwitch1.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(163)))), ((int)(((byte)(169))))); this.ucSwitch1.TrueColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
// //
// ucCrumbNavigation1 // ucCrumbNavigation1
// //
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
this.ucCrumbNavigation1.Location = new System.Drawing.Point(12, 557); this.ucCrumbNavigation1.Location = new System.Drawing.Point(12, 557);
this.ucCrumbNavigation1.MinimumSize = new System.Drawing.Size(0, 25); this.ucCrumbNavigation1.MinimumSize = new System.Drawing.Size(0, 25);
this.ucCrumbNavigation1.Name = "ucCrumbNavigation1"; this.ucCrumbNavigation1.Name = "ucCrumbNavigation1";
this.ucCrumbNavigation1.NavColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.ucCrumbNavigation1.NavColor = System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(122)))), ((int)(((byte)(126)))));
this.ucCrumbNavigation1.Navigations = new string[] { this.ucCrumbNavigation1.Navigations = new string[] {
"目录1", "目录1",
"目录2", "目录2",
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
// //
// ucProcessEllipse2 // ucProcessEllipse2
// //
this.ucProcessEllipse2.BackEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.ucProcessEllipse2.BackEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucProcessEllipse2.CoreEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); this.ucProcessEllipse2.CoreEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.ucProcessEllipse2.IsShowCoreEllipseBorder = true; this.ucProcessEllipse2.IsShowCoreEllipseBorder = true;
this.ucProcessEllipse2.Location = new System.Drawing.Point(202, 173); this.ucProcessEllipse2.Location = new System.Drawing.Point(202, 173);
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
// //
// ucProcessEllipse1 // ucProcessEllipse1
// //
this.ucProcessEllipse1.BackEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.ucProcessEllipse1.BackEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucProcessEllipse1.CoreEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); this.ucProcessEllipse1.CoreEllipseColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.ucProcessEllipse1.IsShowCoreEllipseBorder = true; this.ucProcessEllipse1.IsShowCoreEllipseBorder = true;
this.ucProcessEllipse1.Location = new System.Drawing.Point(12, 173); this.ucProcessEllipse1.Location = new System.Drawing.Point(12, 173);
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
// ucPanelTitle1 // ucPanelTitle1
// //
this.ucPanelTitle1.BackColor = System.Drawing.Color.Transparent; this.ucPanelTitle1.BackColor = System.Drawing.Color.Transparent;
this.ucPanelTitle1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.ucPanelTitle1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucPanelTitle1.ConerRadius = 10; this.ucPanelTitle1.ConerRadius = 10;
this.ucPanelTitle1.FillColor = System.Drawing.Color.White; this.ucPanelTitle1.FillColor = System.Drawing.Color.White;
this.ucPanelTitle1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.ucPanelTitle1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
...@@ -254,34 +254,12 @@ ...@@ -254,34 +254,12 @@
this.ucPanelTitle1.Location = new System.Drawing.Point(406, 14); this.ucPanelTitle1.Location = new System.Drawing.Point(406, 14);
this.ucPanelTitle1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.ucPanelTitle1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucPanelTitle1.Name = "ucPanelTitle1"; this.ucPanelTitle1.Name = "ucPanelTitle1";
this.ucPanelTitle1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(160)))), ((int)(((byte)(133))))); this.ucPanelTitle1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucPanelTitle1.RectWidth = 1; this.ucPanelTitle1.RectWidth = 1;
this.ucPanelTitle1.Size = new System.Drawing.Size(316, 182); this.ucPanelTitle1.Size = new System.Drawing.Size(316, 182);
this.ucPanelTitle1.TabIndex = 1; this.ucPanelTitle1.TabIndex = 1;
this.ucPanelTitle1.Title = "面板标题"; this.ucPanelTitle1.Title = "面板标题";
// //
// 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(12, -2);
this.ucStep1.Name = "ucStep1";
this.ucStep1.Size = new System.Drawing.Size(362, 77);
this.ucStep1.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.ucStep1.StepFontColor = System.Drawing.Color.White;
this.ucStep1.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(184)))), ((int)(((byte)(255)))));
this.ucStep1.StepIndex = 2;
this.ucStep1.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep1.StepWidth = 35;
this.ucStep1.TabIndex = 0;
//
// ucStep2 // ucStep2
// //
this.ucStep2.BackColor = System.Drawing.Color.Transparent; this.ucStep2.BackColor = System.Drawing.Color.Transparent;
...@@ -291,9 +269,9 @@ ...@@ -291,9 +269,9 @@
this.ucStep2.Location = new System.Drawing.Point(12, 81); this.ucStep2.Location = new System.Drawing.Point(12, 81);
this.ucStep2.Name = "ucStep2"; this.ucStep2.Name = "ucStep2";
this.ucStep2.Size = new System.Drawing.Size(362, 86); this.ucStep2.Size = new System.Drawing.Size(362, 86);
this.ucStep2.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); this.ucStep2.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.ucStep2.StepFontColor = System.Drawing.Color.White; this.ucStep2.StepFontColor = System.Drawing.Color.White;
this.ucStep2.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.ucStep2.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucStep2.StepIndex = 2; this.ucStep2.StepIndex = 2;
this.ucStep2.Steps = new string[] { this.ucStep2.Steps = new string[] {
"step1", "step1",
...@@ -304,6 +282,28 @@ ...@@ -304,6 +282,28 @@
this.ucStep2.StepWidth = 35; this.ucStep2.StepWidth = 35;
this.ucStep2.TabIndex = 0; this.ucStep2.TabIndex = 0;
// //
// 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(12, -2);
this.ucStep1.Name = "ucStep1";
this.ucStep1.Size = new System.Drawing.Size(362, 77);
this.ucStep1.StepBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.ucStep1.StepFontColor = System.Drawing.Color.White;
this.ucStep1.StepForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(119)))), ((int)(((byte)(232)))));
this.ucStep1.StepIndex = 2;
this.ucStep1.Steps = new string[] {
"step1",
"step2",
"step3",
"step4",
"step5"};
this.ucStep1.StepWidth = 35;
this.ucStep1.TabIndex = 0;
//
// Form2 // Form2
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!