Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d4c50761
由
kwwwvagaa
编写于
2020-08-13 10:51:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加等待进度条
1 个父辈
db456457
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
274 行增加
和
165 行删除
HZH_Controls/HZH_Controls/Controls/Process/UCProcessRoll.cs
HZH_Controls/HZH_Controls/HZH_Controls.csproj
HZH_Controls/Test/UC/UCTestProcess.Designer.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessRoll.cs
0 → 100644
查看文件 @
d4c5076
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Windows.Forms
;
using
System.Drawing.Drawing2D
;
using
System.Drawing
;
using
System.ComponentModel
;
namespace
HZH_Controls.Controls
{
public
class
UCProcessRoll
:
Control
{
private
Color
rollColor
=
Color
.
FromArgb
(
0
,
122
,
204
);
[
Description
(
"滚动的颜色"
),
Category
(
"自定义"
)]
public
Color
RollColor
{
get
{
return
rollColor
;
}
set
{
rollColor
=
value
;
}
}
[
Description
(
"是否滚动"
),
Category
(
"自定义"
)]
public
bool
Roll
{
get
{
return
timer
.
Enabled
;
}
set
{
timer
.
Enabled
=
value
;
}
}
[
Description
(
"滚动间隔时间"
),
Category
(
"自定义"
)]
public
int
SplitTime
{
get
{
return
timer
.
Interval
;
}
set
{
timer
.
Interval
=
value
;
}
}
Timer
timer
=
new
Timer
();
public
UCProcessRoll
()
{
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
.
SizeChanged
+=
UCProcessRoll_SizeChanged
;
this
.
Size
=
new
Size
(
300
,
3
);
this
.
BackColor
=
Color
.
White
;
timer
.
Interval
=
30
;
timer
.
Tick
+=
timer_Tick
;
timer
.
Enabled
=
true
;
}
Rectangle
workRect
;
void
UCProcessRoll_SizeChanged
(
object
sender
,
EventArgs
e
)
{
workRect
=
new
Rectangle
(-
this
.
Width
/
3
,
0
,
this
.
Width
/
3
,
this
.
Height
);
}
protected
override
void
OnPaint
(
PaintEventArgs
e
)
{
base
.
OnPaint
(
e
);
var
g
=
e
.
Graphics
;
g
.
SetGDIHigh
();
var
r1
=
new
RectangleF
(
new
Point
(
workRect
.
Left
-
1
,
workRect
.
Top
),
new
Size
(
workRect
.
Width
/
3
+
1
,
workRect
.
Height
));
var
r2
=
new
RectangleF
(
new
Point
(
workRect
.
Right
-
workRect
.
Width
/
3
,
workRect
.
Top
),
new
Size
(
workRect
.
Width
/
3
,
workRect
.
Height
));
LinearGradientBrush
lgb1
=
new
LinearGradientBrush
(
r1
,
Color
.
FromArgb
(
0
,
rollColor
),
rollColor
,
0f
);
LinearGradientBrush
lgb2
=
new
LinearGradientBrush
(
r2
,
rollColor
,
Color
.
FromArgb
(
0
,
rollColor
),
0f
);
g
.
FillRectangle
(
lgb1
,
new
Rectangle
(
new
Point
(
workRect
.
Left
,
workRect
.
Top
),
new
Size
(
workRect
.
Width
/
3
,
workRect
.
Height
)));
g
.
FillRectangle
(
new
SolidBrush
(
rollColor
),
new
RectangleF
(
workRect
.
Left
+
workRect
.
Width
/
3
-
1
,
workRect
.
Top
,
workRect
.
Width
/
3
+
3
,
workRect
.
Height
));
g
.
FillRectangle
(
lgb2
,
r2
);
}
void
timer_Tick
(
object
sender
,
EventArgs
e
)
{
if
(
workRect
!=
null
)
{
workRect
=
new
Rectangle
(
workRect
.
Left
+
10
,
0
,
this
.
Width
/
3
,
this
.
Height
);
if
(
workRect
.
Left
>=
this
.
ClientRectangle
.
Right
)
{
workRect
=
new
Rectangle
(-
this
.
Width
/
3
,
0
,
this
.
Width
/
3
,
this
.
Height
);
}
Invalidate
();
}
}
}
}
HZH_Controls/HZH_Controls/HZH_Controls.csproj
查看文件 @
d4c5076
...
@@ -149,6 +149,9 @@
...
@@ -149,6 +149,9 @@
<Compile Include="Controls\Panel\UCPanelQuote.cs">
<Compile Include="Controls\Panel\UCPanelQuote.cs">
<SubType>Component</SubType>
<SubType>Component</SubType>
</Compile>
</Compile>
<Compile Include="Controls\Process\UCProcessRoll.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\Sampling\UCSampling.cs">
<Compile Include="Controls\Sampling\UCSampling.cs">
<SubType>UserControl</SubType>
<SubType>UserControl</SubType>
</Compile>
</Compile>
...
...
HZH_Controls/Test/UC/UCTestProcess.Designer.cs
查看文件 @
d4c5076
...
@@ -29,23 +29,79 @@
...
@@ -29,23 +29,79 @@
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
ucProcessRoll1
=
new
HZH_Controls
.
Controls
.
UCProcessRoll
();
this
.
ucProcessEllipse3
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessEllipse4
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessEllipse1
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessEllipse1
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessEllipse2
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessEllipse2
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessWave3
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave2
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave2
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave4
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave6
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave5
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave1
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave1
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessLineExt2
=
new
HZH_Controls
.
Controls
.
UCProcessLineExt
();
this
.
ucProcessLineExt1
=
new
HZH_Controls
.
Controls
.
UCProcessLineExt
();
this
.
ucProcessLineExt1
=
new
HZH_Controls
.
Controls
.
UCProcessLineExt
();
this
.
ucProcessLine1
=
new
HZH_Controls
.
Controls
.
UCProcessLine
();
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
ucProcessEllipse3
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
ucProcessLine2
=
new
HZH_Controls
.
Controls
.
UCProcessLine
();
this
.
ucProcessLine2
=
new
HZH_Controls
.
Controls
.
UCProcessLine
();
this
.
ucProcessLineExt2
=
new
HZH_Controls
.
Controls
.
UCProcessLineExt
();
this
.
ucProcessLine1
=
new
HZH_Controls
.
Controls
.
UCProcessLine
();
this
.
ucProcessWave3
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave4
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave5
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessWave6
=
new
HZH_Controls
.
Controls
.
UCProcessWave
();
this
.
ucProcessEllipse4
=
new
HZH_Controls
.
Controls
.
UCProcessEllipse
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// timer1
//
this
.
timer1
.
Enabled
=
true
;
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
//
// ucProcessRoll1
//
this
.
ucProcessRoll1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessRoll1
.
Location
=
new
System
.
Drawing
.
Point
(
34
,
658
);
this
.
ucProcessRoll1
.
Name
=
"ucProcessRoll1"
;
this
.
ucProcessRoll1
.
Roll
=
true
;
this
.
ucProcessRoll1
.
RollColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
0
)))),
((
int
)(((
byte
)(
122
)))),
((
int
)(((
byte
)(
204
)))));
this
.
ucProcessRoll1
.
Size
=
new
System
.
Drawing
.
Size
(
1057
,
3
);
this
.
ucProcessRoll1
.
SplitTime
=
10
;
this
.
ucProcessRoll1
.
TabIndex
=
28
;
this
.
ucProcessRoll1
.
Text
=
"ucProcessRoll1"
;
//
// ucProcessEllipse3
//
this
.
ucProcessEllipse3
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse3
.
CoreEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessEllipse3
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
23F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ucProcessEllipse3
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessEllipse3
.
IsShowCoreEllipseBorder
=
false
;
this
.
ucProcessEllipse3
.
Location
=
new
System
.
Drawing
.
Point
(
544
,
19
);
this
.
ucProcessEllipse3
.
MaxValue
=
100
;
this
.
ucProcessEllipse3
.
Name
=
"ucProcessEllipse3"
;
this
.
ucProcessEllipse3
.
ShowType
=
HZH_Controls
.
Controls
.
ShowType
.
Ring
;
this
.
ucProcessEllipse3
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessEllipse3
.
TabIndex
=
27
;
this
.
ucProcessEllipse3
.
Value
=
10
;
this
.
ucProcessEllipse3
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessEllipse3
.
ValueMargin
=
0
;
this
.
ucProcessEllipse3
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse3
.
ValueWidth
=
30
;
//
// ucProcessEllipse4
//
this
.
ucProcessEllipse4
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse4
.
CoreEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse4
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
23F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ucProcessEllipse4
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessEllipse4
.
IsShowCoreEllipseBorder
=
true
;
this
.
ucProcessEllipse4
.
Location
=
new
System
.
Drawing
.
Point
(
204
,
19
);
this
.
ucProcessEllipse4
.
MaxValue
=
100
;
this
.
ucProcessEllipse4
.
Name
=
"ucProcessEllipse4"
;
this
.
ucProcessEllipse4
.
ShowType
=
HZH_Controls
.
Controls
.
ShowType
.
Ring
;
this
.
ucProcessEllipse4
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessEllipse4
.
TabIndex
=
27
;
this
.
ucProcessEllipse4
.
Value
=
10
;
this
.
ucProcessEllipse4
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessEllipse4
.
ValueMargin
=
5
;
this
.
ucProcessEllipse4
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse4
.
ValueWidth
=
30
;
//
// ucProcessEllipse1
// ucProcessEllipse1
//
//
this
.
ucProcessEllipse1
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse1
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
...
@@ -84,6 +140,27 @@
...
@@ -84,6 +140,27 @@
this
.
ucProcessEllipse2
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse2
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse2
.
ValueWidth
=
30
;
this
.
ucProcessEllipse2
.
ValueWidth
=
30
;
//
//
// ucProcessWave3
//
this
.
ucProcessWave3
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave3
.
ConerRadius
=
0
;
this
.
ucProcessWave3
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave3
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave3
.
IsRadius
=
false
;
this
.
ucProcessWave3
.
IsRectangle
=
false
;
this
.
ucProcessWave3
.
IsShowRect
=
true
;
this
.
ucProcessWave3
.
Location
=
new
System
.
Drawing
.
Point
(
228
,
342
);
this
.
ucProcessWave3
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave3
.
MaxValue
=
100
;
this
.
ucProcessWave3
.
Name
=
"ucProcessWave3"
;
this
.
ucProcessWave3
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave3
.
RectWidth
=
4
;
this
.
ucProcessWave3
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessWave3
.
TabIndex
=
24
;
this
.
ucProcessWave3
.
Value
=
40
;
this
.
ucProcessWave3
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave2
// ucProcessWave2
//
//
this
.
ucProcessWave2
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave2
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
...
@@ -105,6 +182,69 @@
...
@@ -105,6 +182,69 @@
this
.
ucProcessWave2
.
Value
=
40
;
this
.
ucProcessWave2
.
Value
=
40
;
this
.
ucProcessWave2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessWave2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
//
// ucProcessWave4
//
this
.
ucProcessWave4
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave4
.
ConerRadius
=
0
;
this
.
ucProcessWave4
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave4
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave4
.
IsRadius
=
false
;
this
.
ucProcessWave4
.
IsRectangle
=
true
;
this
.
ucProcessWave4
.
IsShowRect
=
true
;
this
.
ucProcessWave4
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
342
);
this
.
ucProcessWave4
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave4
.
MaxValue
=
100
;
this
.
ucProcessWave4
.
Name
=
"ucProcessWave4"
;
this
.
ucProcessWave4
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave4
.
RectWidth
=
4
;
this
.
ucProcessWave4
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
150
);
this
.
ucProcessWave4
.
TabIndex
=
25
;
this
.
ucProcessWave4
.
Value
=
40
;
this
.
ucProcessWave4
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave6
//
this
.
ucProcessWave6
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave6
.
ConerRadius
=
0
;
this
.
ucProcessWave6
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave6
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave6
.
IsRadius
=
false
;
this
.
ucProcessWave6
.
IsRectangle
=
true
;
this
.
ucProcessWave6
.
IsShowRect
=
true
;
this
.
ucProcessWave6
.
Location
=
new
System
.
Drawing
.
Point
(
378
,
542
);
this
.
ucProcessWave6
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave6
.
MaxValue
=
100
;
this
.
ucProcessWave6
.
Name
=
"ucProcessWave6"
;
this
.
ucProcessWave6
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave6
.
RectWidth
=
4
;
this
.
ucProcessWave6
.
Size
=
new
System
.
Drawing
.
Size
(
285
,
94
);
this
.
ucProcessWave6
.
TabIndex
=
25
;
this
.
ucProcessWave6
.
Value
=
40
;
this
.
ucProcessWave6
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave5
//
this
.
ucProcessWave5
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave5
.
ConerRadius
=
0
;
this
.
ucProcessWave5
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave5
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave5
.
IsRadius
=
false
;
this
.
ucProcessWave5
.
IsRectangle
=
true
;
this
.
ucProcessWave5
.
IsShowRect
=
true
;
this
.
ucProcessWave5
.
Location
=
new
System
.
Drawing
.
Point
(
34
,
542
);
this
.
ucProcessWave5
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave5
.
MaxValue
=
100
;
this
.
ucProcessWave5
.
Name
=
"ucProcessWave5"
;
this
.
ucProcessWave5
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave5
.
RectWidth
=
4
;
this
.
ucProcessWave5
.
Size
=
new
System
.
Drawing
.
Size
(
295
,
94
);
this
.
ucProcessWave5
.
TabIndex
=
25
;
this
.
ucProcessWave5
.
Value
=
40
;
this
.
ucProcessWave5
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
// ucProcessWave1
// ucProcessWave1
//
//
this
.
ucProcessWave1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
...
@@ -126,6 +266,20 @@
...
@@ -126,6 +266,20 @@
this
.
ucProcessWave1
.
Value
=
40
;
this
.
ucProcessWave1
.
Value
=
40
;
this
.
ucProcessWave1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessWave1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
//
// ucProcessLineExt2
//
this
.
ucProcessLineExt2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucProcessLineExt2
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt2
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLineExt2
.
Location
=
new
System
.
Drawing
.
Point
(
363
,
251
);
this
.
ucProcessLineExt2
.
MaxValue
=
100
;
this
.
ucProcessLineExt2
.
Name
=
"ucProcessLineExt2"
;
this
.
ucProcessLineExt2
.
Size
=
new
System
.
Drawing
.
Size
(
269
,
50
);
this
.
ucProcessLineExt2
.
TabIndex
=
23
;
this
.
ucProcessLineExt2
.
Value
=
20
;
this
.
ucProcessLineExt2
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessLineExt1
// ucProcessLineExt1
//
//
this
.
ucProcessLineExt1
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucProcessLineExt1
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -140,46 +294,6 @@
...
@@ -140,46 +294,6 @@
this
.
ucProcessLineExt1
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt1
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessLineExt1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
//
// ucProcessLine1
//
this
.
ucProcessLine1
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLine1
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
10F
);
this
.
ucProcessLine1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
75
)))),
((
int
)(((
byte
)(
178
)))),
((
int
)(((
byte
)(
255
)))));
this
.
ucProcessLine1
.
Location
=
new
System
.
Drawing
.
Point
(
70
,
202
);
this
.
ucProcessLine1
.
MaxValue
=
150
;
this
.
ucProcessLine1
.
Name
=
"ucProcessLine1"
;
this
.
ucProcessLine1
.
Size
=
new
System
.
Drawing
.
Size
(
269
,
32
);
this
.
ucProcessLine1
.
TabIndex
=
22
;
this
.
ucProcessLine1
.
Text
=
"ucProcessLine1"
;
this
.
ucProcessLine1
.
Value
=
50
;
this
.
ucProcessLine1
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLine1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessLine1
.
ValueTextType
=
HZH_Controls
.
Controls
.
ValueTextType
.
Percent
;
//
// timer1
//
this
.
timer1
.
Enabled
=
true
;
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
//
// ucProcessEllipse3
//
this
.
ucProcessEllipse3
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse3
.
CoreEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessEllipse3
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
23F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ucProcessEllipse3
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessEllipse3
.
IsShowCoreEllipseBorder
=
false
;
this
.
ucProcessEllipse3
.
Location
=
new
System
.
Drawing
.
Point
(
544
,
19
);
this
.
ucProcessEllipse3
.
MaxValue
=
100
;
this
.
ucProcessEllipse3
.
Name
=
"ucProcessEllipse3"
;
this
.
ucProcessEllipse3
.
ShowType
=
HZH_Controls
.
Controls
.
ShowType
.
Ring
;
this
.
ucProcessEllipse3
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessEllipse3
.
TabIndex
=
27
;
this
.
ucProcessEllipse3
.
Value
=
10
;
this
.
ucProcessEllipse3
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessEllipse3
.
ValueMargin
=
0
;
this
.
ucProcessEllipse3
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse3
.
ValueWidth
=
30
;
//
// ucProcessLine2
// ucProcessLine2
//
//
this
.
ucProcessLine2
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLine2
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
...
@@ -196,127 +310,27 @@
...
@@ -196,127 +310,27 @@
this
.
ucProcessLine2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLine2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLine2
.
ValueTextType
=
HZH_Controls
.
Controls
.
ValueTextType
.
Percent
;
this
.
ucProcessLine2
.
ValueTextType
=
HZH_Controls
.
Controls
.
ValueTextType
.
Percent
;
//
//
// ucProcessLineExt2
// ucProcessLine1
//
this
.
ucProcessLineExt2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucProcessLineExt2
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt2
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLineExt2
.
Location
=
new
System
.
Drawing
.
Point
(
363
,
251
);
this
.
ucProcessLineExt2
.
MaxValue
=
100
;
this
.
ucProcessLineExt2
.
Name
=
"ucProcessLineExt2"
;
this
.
ucProcessLineExt2
.
Size
=
new
System
.
Drawing
.
Size
(
269
,
50
);
this
.
ucProcessLineExt2
.
TabIndex
=
23
;
this
.
ucProcessLineExt2
.
Value
=
20
;
this
.
ucProcessLineExt2
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLineExt2
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave3
//
this
.
ucProcessWave3
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave3
.
ConerRadius
=
0
;
this
.
ucProcessWave3
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave3
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave3
.
IsRadius
=
false
;
this
.
ucProcessWave3
.
IsRectangle
=
false
;
this
.
ucProcessWave3
.
IsShowRect
=
true
;
this
.
ucProcessWave3
.
Location
=
new
System
.
Drawing
.
Point
(
228
,
342
);
this
.
ucProcessWave3
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave3
.
MaxValue
=
100
;
this
.
ucProcessWave3
.
Name
=
"ucProcessWave3"
;
this
.
ucProcessWave3
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave3
.
RectWidth
=
4
;
this
.
ucProcessWave3
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessWave3
.
TabIndex
=
24
;
this
.
ucProcessWave3
.
Value
=
40
;
this
.
ucProcessWave3
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave4
//
this
.
ucProcessWave4
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave4
.
ConerRadius
=
0
;
this
.
ucProcessWave4
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave4
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave4
.
IsRadius
=
false
;
this
.
ucProcessWave4
.
IsRectangle
=
true
;
this
.
ucProcessWave4
.
IsShowRect
=
true
;
this
.
ucProcessWave4
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
342
);
this
.
ucProcessWave4
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave4
.
MaxValue
=
100
;
this
.
ucProcessWave4
.
Name
=
"ucProcessWave4"
;
this
.
ucProcessWave4
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave4
.
RectWidth
=
4
;
this
.
ucProcessWave4
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
150
);
this
.
ucProcessWave4
.
TabIndex
=
25
;
this
.
ucProcessWave4
.
Value
=
40
;
this
.
ucProcessWave4
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessWave5
//
this
.
ucProcessWave5
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave5
.
ConerRadius
=
0
;
this
.
ucProcessWave5
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave5
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave5
.
IsRadius
=
false
;
this
.
ucProcessWave5
.
IsRectangle
=
true
;
this
.
ucProcessWave5
.
IsShowRect
=
true
;
this
.
ucProcessWave5
.
Location
=
new
System
.
Drawing
.
Point
(
34
,
542
);
this
.
ucProcessWave5
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave5
.
MaxValue
=
100
;
this
.
ucProcessWave5
.
Name
=
"ucProcessWave5"
;
this
.
ucProcessWave5
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave5
.
RectWidth
=
4
;
this
.
ucProcessWave5
.
Size
=
new
System
.
Drawing
.
Size
(
295
,
94
);
this
.
ucProcessWave5
.
TabIndex
=
25
;
this
.
ucProcessWave5
.
Value
=
40
;
this
.
ucProcessWave5
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
// ucProcessWave6
//
this
.
ucProcessWave6
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessWave6
.
ConerRadius
=
0
;
this
.
ucProcessWave6
.
FillColor
=
System
.
Drawing
.
Color
.
Empty
;
this
.
ucProcessWave6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
30F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Pixel
);
this
.
ucProcessWave6
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave6
.
IsRadius
=
false
;
this
.
ucProcessWave6
.
IsRectangle
=
true
;
this
.
ucProcessWave6
.
IsShowRect
=
true
;
this
.
ucProcessWave6
.
Location
=
new
System
.
Drawing
.
Point
(
378
,
542
);
this
.
ucProcessWave6
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
5
,
4
,
5
);
this
.
ucProcessWave6
.
MaxValue
=
100
;
this
.
ucProcessWave6
.
Name
=
"ucProcessWave6"
;
this
.
ucProcessWave6
.
RectColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucProcessWave6
.
RectWidth
=
4
;
this
.
ucProcessWave6
.
Size
=
new
System
.
Drawing
.
Size
(
285
,
94
);
this
.
ucProcessWave6
.
TabIndex
=
25
;
this
.
ucProcessWave6
.
Value
=
40
;
this
.
ucProcessWave6
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
//
// ucProcessEllipse4
//
//
this
.
ucProcessEllipse4
.
BackEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLine1
.
BorderColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse4
.
CoreEllipseColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessLine1
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
10F
);
this
.
ucProcessEllipse4
.
Font
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
23F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ucProcessLine1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
75
)))),
((
int
)(((
byte
)(
178
)))),
((
int
)(((
byte
)(
255
)))));
this
.
ucProcessEllipse4
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLine1
.
Location
=
new
System
.
Drawing
.
Point
(
70
,
202
);
this
.
ucProcessEllipse4
.
IsShowCoreEllipseBorder
=
true
;
this
.
ucProcessLine1
.
MaxValue
=
150
;
this
.
ucProcessEllipse4
.
Location
=
new
System
.
Drawing
.
Point
(
204
,
19
);
this
.
ucProcessLine1
.
Name
=
"ucProcessLine1"
;
this
.
ucProcessEllipse4
.
MaxValue
=
100
;
this
.
ucProcessLine1
.
Size
=
new
System
.
Drawing
.
Size
(
269
,
32
);
this
.
ucProcessEllipse4
.
Name
=
"ucProcessEllipse4"
;
this
.
ucProcessLine1
.
TabIndex
=
22
;
this
.
ucProcessEllipse4
.
ShowType
=
HZH_Controls
.
Controls
.
ShowType
.
Ring
;
this
.
ucProcessLine1
.
Text
=
"ucProcessLine1"
;
this
.
ucProcessEllipse4
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
150
);
this
.
ucProcessLine1
.
Value
=
50
;
this
.
ucProcessEllipse4
.
TabIndex
=
27
;
this
.
ucProcessLine1
.
ValueBGColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucProcessEllipse4
.
Value
=
10
;
this
.
ucProcessLine1
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucProcessEllipse4
.
ValueColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
16
)))),
((
int
)(((
byte
)(
157
)))),
((
int
)(((
byte
)(
144
)))));
this
.
ucProcessLine1
.
ValueTextType
=
HZH_Controls
.
Controls
.
ValueTextType
.
Percent
;
this
.
ucProcessEllipse4
.
ValueMargin
=
5
;
this
.
ucProcessEllipse4
.
ValueType
=
HZH_Controls
.
Controls
.
ValueType
.
Percent
;
this
.
ucProcessEllipse4
.
ValueWidth
=
30
;
//
//
// UCTestProcess
// UCTestProcess
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
Controls
.
Add
(
this
.
ucProcessRoll1
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse3
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse3
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse4
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse4
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse1
);
this
.
Controls
.
Add
(
this
.
ucProcessEllipse1
);
...
@@ -332,7 +346,7 @@
...
@@ -332,7 +346,7 @@
this
.
Controls
.
Add
(
this
.
ucProcessLine2
);
this
.
Controls
.
Add
(
this
.
ucProcessLine2
);
this
.
Controls
.
Add
(
this
.
ucProcessLine1
);
this
.
Controls
.
Add
(
this
.
ucProcessLine1
);
this
.
Name
=
"UCTestProcess"
;
this
.
Name
=
"UCTestProcess"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
886
,
696
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
1125
,
696
);
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
}
...
@@ -354,5 +368,6 @@
...
@@ -354,5 +368,6 @@
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave5
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave5
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave6
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave6
;
private
HZH_Controls
.
Controls
.
UCProcessEllipse
ucProcessEllipse4
;
private
HZH_Controls
.
Controls
.
UCProcessEllipse
ucProcessEllipse4
;
private
HZH_Controls
.
Controls
.
UCProcessRoll
ucProcessRoll1
;
}
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论