Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 217c5e6e
由
HZH
编写于
2019-08-20 09:31:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
更改控件颜色
1 个父辈
d39d81eb
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
12 行增加
和
11 行删除
HZH_Controls/HZH_Controls/Controls/Navigation/UCCrumbNavigation.cs
HZH_Controls/HZH_Controls/Controls/Panel/UCPanelTitle.Designer.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessEllipse.cs
HZH_Controls/HZH_Controls/Controls/Step/UCStep.Designer.cs
HZH_Controls/HZH_Controls/Controls/Step/UCStep.cs
HZH_Controls/HZH_Controls/Controls/Switch/UCSwitch.cs
HZH_Controls/Test/Form2.Designer.cs
HZH_Controls/HZH_Controls/Controls/Navigation/UCCrumbNavigation.cs
查看文件 @
217c5e6
...
...
@@ -12,7 +12,7 @@ namespace HZH_Controls.Controls
{
public
partial
class
UCCrumbNavigation
:
UserControl
{
private
Color
m_navColor
=
Color
.
FromArgb
(
1
00
,
100
,
100
);
private
Color
m_navColor
=
Color
.
FromArgb
(
1
11
,
122
,
126
);
public
Color
NavColor
{
...
...
HZH_Controls/HZH_Controls/Controls/Panel/UCPanelTitle.Designer.cs
查看文件 @
217c5e6
...
...
@@ -33,12 +33,12 @@
//
// 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
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lblTitle
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
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
.
Text
=
"面板"
;
this
.
lblTitle
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
...
...
@@ -53,8 +53,8 @@
this
.
IsRadius
=
true
;
this
.
IsShowRect
=
true
;
this
.
Name
=
"UCPanelTitle"
;
this
.
RectColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
22
)))),
((
int
)(((
byte
)(
160
)))),
((
int
)(((
byte
)(
133
)))));
this
.
Size
=
new
System
.
Drawing
.
Size
(
432
,
30
1
);
this
.
RectColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
73
)))),
((
int
)(((
byte
)(
119
)))),
((
int
)(((
byte
)(
232
)))));
this
.
Size
=
new
System
.
Drawing
.
Size
(
253
,
17
1
);
this
.
ResumeLayout
(
false
);
}
...
...
HZH_Controls/HZH_Controls/Controls/Process/UCProcessEllipse.cs
查看文件 @
217c5e6
...
...
@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls
[
Description
(
"值改变事件"
),
Category
(
"自定义"
)]
public
event
EventHandler
ValueChanged
;
private
Color
m_backEllipseColor
=
Color
.
FromArgb
(
22
,
160
,
133
);
private
Color
m_backEllipseColor
=
Color
.
FromArgb
(
73
,
119
,
232
);
/// <summary>
/// 圆背景色
/// </summary>
...
...
HZH_Controls/HZH_Controls/Controls/Step/UCStep.Designer.cs
查看文件 @
217c5e6
...
...
@@ -34,6 +34,7 @@
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
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
.
Size
=
new
System
.
Drawing
.
Size
(
239
,
80
);
this
.
ResumeLayout
(
false
);
...
...
HZH_Controls/HZH_Controls/Controls/Step/UCStep.cs
查看文件 @
217c5e6
...
...
@@ -17,7 +17,7 @@ namespace HZH_Controls.Controls
[
Description
(
"步骤更改事件"
),
Category
(
"自定义"
)]
public
event
EventHandler
IndexChecked
;
private
Color
m_stepBackColor
=
Color
.
FromArgb
(
1
00
,
100
,
10
0
);
private
Color
m_stepBackColor
=
Color
.
FromArgb
(
1
80
,
180
,
18
0
);
/// <summary>
/// 步骤背景色
/// </summary>
...
...
@@ -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>
...
...
@@ -214,7 +214,7 @@ namespace HZH_Controls.Controls
{
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
+
1
0
,
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
)));
}
else
...
...
HZH_Controls/HZH_Controls/Controls/Switch/UCSwitch.cs
查看文件 @
217c5e6
...
...
@@ -15,7 +15,7 @@ namespace HZH_Controls.Controls
{
[
Description
(
"选中改变事件"
),
Category
(
"自定义"
)]
public
event
EventHandler
CheckedChanged
;
private
Color
m_trueColor
=
Color
.
FromArgb
(
34
,
163
,
169
);
private
Color
m_trueColor
=
Color
.
FromArgb
(
73
,
119
,
232
);
[
Description
(
"选中时颜色"
),
Category
(
"自定义"
)]
public
Color
TrueColor
...
...
@@ -28,7 +28,7 @@ namespace HZH_Controls.Controls
}
}
private
Color
m_falseColor
=
Color
.
FromArgb
(
1
11
,
122
,
126
);
private
Color
m_falseColor
=
Color
.
FromArgb
(
1
80
,
180
,
180
);
[
Description
(
"没有选中时颜色"
),
Category
(
"自定义"
)]
public
Color
FalseColor
...
...
HZH_Controls/Test/Form2.Designer.cs
查看文件 @
217c5e6
此文件的差异被折叠,
点击展开。
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论