Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d1cf5a5a
由
HZH
编写于
2019-09-16 17:39:56 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
treeview支持复选框
1 个父辈
385f3f0a
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
358 行增加
和
331 行删除
HZH_Controls/HZH_Controls/Controls/List/TreeViewEx.cs
HZH_Controls/HZH_Controls/Controls/List/UCListView.cs
HZH_Controls/Test/Form1.Designer.cs
HZH_Controls/Test/Form1.cs
HZH_Controls/HZH_Controls/Controls/List/TreeViewEx.cs
查看文件 @
d1cf5a5
...
...
@@ -19,6 +19,7 @@ using System.Collections.Generic;
using
System.ComponentModel
;
using
System.Diagnostics
;
using
System.Drawing
;
using
System.Drawing.Drawing2D
;
using
System.Linq
;
using
System.Runtime.InteropServices
;
using
System.Text
;
...
...
@@ -506,12 +507,14 @@ namespace HZH_Controls.Controls
{
try
{
if
(
e
.
Node
==
null
||
!
this
.
_isShowByCustomModel
||
(
e
.
Node
.
Bounds
.
Width
<=
0
&&
e
.
Node
.
Bounds
.
Height
<=
0
&&
e
.
Node
.
Bounds
.
X
<=
0
&&
e
.
Node
.
Bounds
.
Y
<=
0
))
{
e
.
DrawDefault
=
true
;
}
else
{
e
.
Graphics
.
SetGDIHigh
();
if
(
base
.
Nodes
.
IndexOf
(
e
.
Node
)
==
0
)
{
this
.
blnHasVBar
=
this
.
IsVerticalScrollBarVisible
();
...
...
@@ -526,21 +529,46 @@ namespace HZH_Controls.Controls
this
.
treeFontSize
=
this
.
GetFontSize
(
font
,
e
.
Graphics
);
}
bool
flag
=
false
;
int
num
=
0
;
if
(
base
.
ImageList
!=
null
&&
base
.
ImageList
.
Images
.
Count
>
0
&&
e
.
Node
.
ImageIndex
>=
0
&&
e
.
Node
.
ImageIndex
<
base
.
ImageList
.
Images
.
Count
)
{
flag
=
true
;
num
=
(
e
.
Bounds
.
Height
-
base
.
ImageList
.
ImageSize
.
Height
)
/
2
;
}
int
intLeft
=
0
;
if
(
CheckBoxes
)
{
intLeft
=
20
;
}
intLeft
+=
e
.
Node
.
Level
*
20
;
if
((
e
.
State
==
TreeNodeStates
.
Selected
||
e
.
State
==
TreeNodeStates
.
Focused
||
e
.
State
==
(
TreeNodeStates
.
Focused
|
TreeNodeStates
.
Selected
))
&&
(
this
.
_parentNodeCanSelect
||
e
.
Node
.
Nodes
.
Count
<=
0
))
{
e
.
Graphics
.
FillRectangle
(
new
SolidBrush
(
this
.
m_nodeSelectedColor
),
new
Rectangle
(
new
Point
(
0
,
e
.
Node
.
Bounds
.
Y
),
new
Size
(
base
.
Width
,
e
.
Node
.
Bounds
.
Height
)));
e
.
Graphics
.
DrawString
(
e
.
Node
.
Text
,
font
,
new
SolidBrush
(
this
.
m_nodeSelectedForeColor
),
(
float
)
e
.
Bounds
.
X
,
(
float
)
e
.
Bounds
.
Y
+
((
float
)
this
.
_nodeHeight
-
this
.
treeFontSize
.
Height
)
/
2f
);
e
.
Graphics
.
DrawString
(
e
.
Node
.
Text
,
font
,
new
SolidBrush
(
this
.
m_nodeSelectedForeColor
),
(
float
)
e
.
Bounds
.
X
+
intLeft
,
(
float
)
e
.
Bounds
.
Y
+
((
float
)
this
.
_nodeHeight
-
this
.
treeFontSize
.
Height
)
/
2f
);
}
else
{
e
.
Graphics
.
FillRectangle
(
new
SolidBrush
(
this
.
_nodeBackgroundColor
),
new
Rectangle
(
new
Point
(
0
,
e
.
Node
.
Bounds
.
Y
),
new
Size
(
base
.
Width
,
e
.
Node
.
Bounds
.
Height
)));
e
.
Graphics
.
DrawString
(
e
.
Node
.
Text
,
font
,
new
SolidBrush
(
this
.
_nodeForeColor
),
(
float
)
e
.
Bounds
.
X
,
(
float
)
e
.
Bounds
.
Y
+
((
float
)
this
.
_nodeHeight
-
this
.
treeFontSize
.
Height
)
/
2f
);
e
.
Graphics
.
DrawString
(
e
.
Node
.
Text
,
font
,
new
SolidBrush
(
this
.
_nodeForeColor
),
(
float
)
e
.
Bounds
.
X
+
intLeft
,
(
float
)
e
.
Bounds
.
Y
+
((
float
)
this
.
_nodeHeight
-
this
.
treeFontSize
.
Height
)
/
2f
);
}
if
(
CheckBoxes
)
{
Rectangle
rectCheck
=
new
Rectangle
(
e
.
Bounds
.
X
+
3
+
e
.
Node
.
Level
*
20
,
e
.
Bounds
.
Y
+
(
e
.
Bounds
.
Height
-
16
)
/
2
,
16
,
16
);
GraphicsPath
pathCheck
=
rectCheck
.
CreateRoundedRectanglePath
(
3
);
e
.
Graphics
.
FillPath
(
new
SolidBrush
(
Color
.
FromArgb
(
247
,
247
,
247
)),
pathCheck
);
if
(
e
.
Node
.
Checked
)
{
e
.
Graphics
.
DrawLines
(
new
Pen
(
new
SolidBrush
(
m_nodeSelectedColor
),
2
),
new
Point
[]
{
new
Point
(
rectCheck
.
Left
+
2
,
rectCheck
.
Top
+
8
),
new
Point
(
rectCheck
.
Left
+
6
,
rectCheck
.
Top
+
12
),
new
Point
(
rectCheck
.
Right
-
4
,
rectCheck
.
Top
+
4
)
});
}
e
.
Graphics
.
DrawPath
(
new
Pen
(
new
SolidBrush
(
Color
.
FromArgb
(
200
,
200
,
200
))),
pathCheck
);
}
if
(
flag
)
{
...
...
@@ -549,7 +577,7 @@ namespace HZH_Controls.Controls
{
num2
=
3
;
}
e
.
Graphics
.
DrawImage
(
base
.
ImageList
.
Images
[
e
.
Node
.
ImageIndex
],
new
Rectangle
(
new
Point
(
num2
,
e
.
Bounds
.
Y
+
num
),
base
.
ImageList
.
ImageSize
));
e
.
Graphics
.
DrawImage
(
base
.
ImageList
.
Images
[
e
.
Node
.
ImageIndex
],
new
Rectangle
(
new
Point
(
num2
+
intLeft
,
e
.
Bounds
.
Y
+
num
),
base
.
ImageList
.
ImageSize
));
}
if
(
this
.
_nodeIsShowSplitLine
)
{
...
...
HZH_Controls/HZH_Controls/Controls/List/UCListView.cs
查看文件 @
d1cf5a5
...
...
@@ -104,9 +104,7 @@ namespace HZH_Controls.Controls
}
}
}
/// <summary>
/// The m data source
/// </summary>
...
...
HZH_Controls/Test/Form1.Designer.cs
查看文件 @
d1cf5a5
...
...
@@ -40,49 +40,28 @@
this
.
button7
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button8
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox9
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox7
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox8
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
button9
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox10
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox11
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox12
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox13
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
button10
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
toolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripComboBox1
=
new
System
.
Windows
.
Forms
.
ToolStripComboBox
();
this
.
toolStripSeparator1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
toolStripTextBox1
=
new
System
.
Windows
.
Forms
.
ToolStripTextBox
();
this
.
button11
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button12
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button13
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button14
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
ucSplitLine_V1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_V
();
this
.
ucSplitLine_H1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_H
();
this
.
ucBtnsGroup2
=
new
HZH_Controls
.
Controls
.
UCBtnsGroup
();
this
.
ucBtnsGroup1
=
new
HZH_Controls
.
Controls
.
UCBtnsGroup
();
this
.
ucPagerControl21
=
new
HZH_Controls
.
Controls
.
UCPagerControl2
();
this
.
ucMenu1
=
new
HZH_Controls
.
Controls
.
UCMenu
();
this
.
ucComboxGrid1
=
new
HZH_Controls
.
Controls
.
UCComboxGrid
();
this
.
groupBox9
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucHorizontalList1
=
new
HZH_Controls
.
Controls
.
UCHorizontalList
();
this
.
groupBox7
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucDatePickerExt3
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt2
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt1
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucComboBox2
=
new
HZH_Controls
.
Controls
.
UCCombox
();
this
.
ucComboBox1
=
new
HZH_Controls
.
Controls
.
UCCombox
();
this
.
groupBox8
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucListExt1
=
new
HZH_Controls
.
Controls
.
UCListExt
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
treeViewEx1
=
new
HZH_Controls
.
Controls
.
TreeViewEx
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucTextBoxEx4
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx3
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx2
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx1
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucNumTextBox1
=
new
HZH_Controls
.
Controls
.
UCNumTextBox
();
this
.
textBoxTransparent1
=
new
HZH_Controls
.
Controls
.
TextBoxTransparent
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucCheckBox4
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox3
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox2
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
...
...
@@ -91,6 +70,7 @@
this
.
ucRadioButton3
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton2
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton1
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucDropDownBtn1
=
new
HZH_Controls
.
Controls
.
UCDropDownBtn
();
this
.
ucControlBase1
=
new
HZH_Controls
.
Controls
.
UCControlBase
();
this
.
ucBtnExt3
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
...
...
@@ -100,6 +80,26 @@
this
.
ucBtnFillet1
=
new
HZH_Controls
.
Controls
.
UCBtnFillet
();
this
.
ucBtnExt2
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
this
.
ucBtnExt1
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
this
.
button9
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox10
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucMenu1
=
new
HZH_Controls
.
Controls
.
UCMenu
();
this
.
groupBox11
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucPagerControl21
=
new
HZH_Controls
.
Controls
.
UCPagerControl2
();
this
.
groupBox12
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucBtnsGroup1
=
new
HZH_Controls
.
Controls
.
UCBtnsGroup
();
this
.
groupBox13
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucBtnsGroup2
=
new
HZH_Controls
.
Controls
.
UCBtnsGroup
();
this
.
button10
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
toolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripComboBox1
=
new
System
.
Windows
.
Forms
.
ToolStripComboBox
();
this
.
toolStripSeparator1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
toolStripTextBox1
=
new
System
.
Windows
.
Forms
.
ToolStripTextBox
();
this
.
button11
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button12
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button13
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button14
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
ucSplitLine_V1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_V
();
this
.
ucSplitLine_H1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_H
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox9
.
SuspendLayout
();
this
.
groupBox7
.
SuspendLayout
();
...
...
@@ -109,11 +109,11 @@
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
ucControlBase1
.
SuspendLayout
();
this
.
groupBox10
.
SuspendLayout
();
this
.
groupBox11
.
SuspendLayout
();
this
.
groupBox12
.
SuspendLayout
();
this
.
groupBox13
.
SuspendLayout
();
this
.
ucControlBase1
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// timer1
...
...
@@ -219,299 +219,6 @@
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"控件"
;
//
// groupBox9
//
this
.
groupBox9
.
Controls
.
Add
(
this
.
ucHorizontalList1
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
625
,
380
);
this
.
groupBox9
.
Name
=
"groupBox9"
;
this
.
groupBox9
.
Size
=
new
System
.
Drawing
.
Size
(
485
,
102
);
this
.
groupBox9
.
TabIndex
=
8
;
this
.
groupBox9
.
TabStop
=
false
;
this
.
groupBox9
.
Text
=
"横向列表"
;
//
// groupBox7
//
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt3
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt2
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt1
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
363
);
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
374
,
119
);
this
.
groupBox7
.
TabIndex
=
7
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
Text
=
"日历"
;
//
// groupBox6
//
this
.
groupBox6
.
Controls
.
Add
(
this
.
ucComboBox2
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
ucComboBox1
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
419
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
119
);
this
.
groupBox6
.
TabIndex
=
6
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"下拉列表"
;
//
// groupBox8
//
this
.
groupBox8
.
Controls
.
Add
(
this
.
ucListExt1
);
this
.
groupBox8
.
Location
=
new
System
.
Drawing
.
Point
(
876
,
30
);
this
.
groupBox8
.
Name
=
"groupBox8"
;
this
.
groupBox8
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
324
);
this
.
groupBox8
.
TabIndex
=
4
;
this
.
groupBox8
.
TabStop
=
false
;
this
.
groupBox8
.
Text
=
"列表"
;
//
// groupBox5
//
this
.
groupBox5
.
Controls
.
Add
(
this
.
treeViewEx1
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
625
,
30
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
327
);
this
.
groupBox5
.
TabIndex
=
4
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"树"
;
//
// groupBox4
//
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx4
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx3
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx1
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucNumTextBox1
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
textBoxTransparent1
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
397
,
30
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
327
);
this
.
groupBox4
.
TabIndex
=
2
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"文本框"
;
//
// groupBox3
//
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox4
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox3
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox2
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox1
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton4
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton3
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton2
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
30
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
149
,
327
);
this
.
groupBox3
.
TabIndex
=
1
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"单选/复选"
;
//
// groupBox2
//
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucDropDownBtn1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucControlBase1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnImg1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnFillet1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnExt2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnExt1
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
30
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
383
);
this
.
groupBox2
.
TabIndex
=
0
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"按钮"
;
//
// button9
//
this
.
button9
.
Location
=
new
System
.
Drawing
.
Point
(
963
,
12
);
this
.
button9
.
Name
=
"button9"
;
this
.
button9
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
this
.
button9
.
TabIndex
=
0
;
this
.
button9
.
Text
=
"更多控件"
;
this
.
button9
.
UseVisualStyleBackColor
=
true
;
this
.
button9
.
Click
+=
new
System
.
EventHandler
(
this
.
button9_Click
);
//
// groupBox10
//
this
.
groupBox10
.
Controls
.
Add
(
this
.
ucMenu1
);
this
.
groupBox10
.
Location
=
new
System
.
Drawing
.
Point
(
1162
,
88
);
this
.
groupBox10
.
Name
=
"groupBox10"
;
this
.
groupBox10
.
Size
=
new
System
.
Drawing
.
Size
(
200
,
490
);
this
.
groupBox10
.
TabIndex
=
3
;
this
.
groupBox10
.
TabStop
=
false
;
this
.
groupBox10
.
Text
=
"导航"
;
//
// groupBox11
//
this
.
groupBox11
.
Controls
.
Add
(
this
.
ucPagerControl21
);
this
.
groupBox11
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
629
);
this
.
groupBox11
.
Name
=
"groupBox11"
;
this
.
groupBox11
.
Size
=
new
System
.
Drawing
.
Size
(
715
,
61
);
this
.
groupBox11
.
TabIndex
=
5
;
this
.
groupBox11
.
TabStop
=
false
;
this
.
groupBox11
.
Text
=
"分页控件"
;
//
// groupBox12
//
this
.
groupBox12
.
Controls
.
Add
(
this
.
ucBtnsGroup1
);
this
.
groupBox12
.
Location
=
new
System
.
Drawing
.
Point
(
751
,
629
);
this
.
groupBox12
.
Name
=
"groupBox12"
;
this
.
groupBox12
.
Size
=
new
System
.
Drawing
.
Size
(
221
,
68
);
this
.
groupBox12
.
TabIndex
=
6
;
this
.
groupBox12
.
TabStop
=
false
;
this
.
groupBox12
.
Text
=
"单选按钮组"
;
//
// groupBox13
//
this
.
groupBox13
.
Controls
.
Add
(
this
.
ucBtnsGroup2
);
this
.
groupBox13
.
Location
=
new
System
.
Drawing
.
Point
(
994
,
629
);
this
.
groupBox13
.
Name
=
"groupBox13"
;
this
.
groupBox13
.
Size
=
new
System
.
Drawing
.
Size
(
367
,
68
);
this
.
groupBox13
.
TabIndex
=
6
;
this
.
groupBox13
.
TabStop
=
false
;
this
.
groupBox13
.
Text
=
"多选按钮组"
;
//
// button10
//
this
.
button10
.
Location
=
new
System
.
Drawing
.
Point
(
43
,
49
);
this
.
button10
.
Name
=
"button10"
;
this
.
button10
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
23
);
this
.
button10
.
TabIndex
=
0
;
this
.
button10
.
Text
=
"TestListView"
;
this
.
button10
.
UseVisualStyleBackColor
=
true
;
this
.
button10
.
Click
+=
new
System
.
EventHandler
(
this
.
button10_Click
);
//
// toolStripMenuItem1
//
this
.
toolStripMenuItem1
.
Name
=
"toolStripMenuItem1"
;
this
.
toolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
32
,
19
);
//
// toolStripComboBox1
//
this
.
toolStripComboBox1
.
Name
=
"toolStripComboBox1"
;
this
.
toolStripComboBox1
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
25
);
//
// toolStripSeparator1
//
this
.
toolStripSeparator1
.
Name
=
"toolStripSeparator1"
;
this
.
toolStripSeparator1
.
Size
=
new
System
.
Drawing
.
Size
(
6
,
6
);
//
// toolStripTextBox1
//
this
.
toolStripTextBox1
.
Name
=
"toolStripTextBox1"
;
this
.
toolStripTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
23
);
//
// button11
//
this
.
button11
.
Location
=
new
System
.
Drawing
.
Point
(
161
,
49
);
this
.
button11
.
Name
=
"button11"
;
this
.
button11
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button11
.
TabIndex
=
0
;
this
.
button11
.
Text
=
"仪表"
;
this
.
button11
.
UseVisualStyleBackColor
=
true
;
this
.
button11
.
Click
+=
new
System
.
EventHandler
(
this
.
button11_Click
);
//
// button12
//
this
.
button12
.
Location
=
new
System
.
Drawing
.
Point
(
241
,
49
);
this
.
button12
.
Name
=
"button12"
;
this
.
button12
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button12
.
TabIndex
=
0
;
this
.
button12
.
Text
=
"工业组件"
;
this
.
button12
.
UseVisualStyleBackColor
=
true
;
this
.
button12
.
Click
+=
new
System
.
EventHandler
(
this
.
button12_Click
);
//
// button13
//
this
.
button13
.
Location
=
new
System
.
Drawing
.
Point
(
332
,
50
);
this
.
button13
.
Name
=
"button13"
;
this
.
button13
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button13
.
TabIndex
=
0
;
this
.
button13
.
Text
=
"思维导图"
;
this
.
button13
.
UseVisualStyleBackColor
=
true
;
this
.
button13
.
Click
+=
new
System
.
EventHandler
(
this
.
button13_Click
);
//
// button14
//
this
.
button14
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
50
);
this
.
button14
.
Name
=
"button14"
;
this
.
button14
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button14
.
TabIndex
=
0
;
this
.
button14
.
Text
=
"图标"
;
this
.
button14
.
UseVisualStyleBackColor
=
true
;
this
.
button14
.
Click
+=
new
System
.
EventHandler
(
this
.
button14_Click
);
//
// ucSplitLine_V1
//
this
.
ucSplitLine_V1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))));
this
.
ucSplitLine_V1
.
Location
=
new
System
.
Drawing
.
Point
(
1149
,
12
);
this
.
ucSplitLine_V1
.
Name
=
"ucSplitLine_V1"
;
this
.
ucSplitLine_V1
.
Size
=
new
System
.
Drawing
.
Size
(
1
,
100
);
this
.
ucSplitLine_V1
.
TabIndex
=
9
;
this
.
ucSplitLine_V1
.
TabStop
=
false
;
//
// ucSplitLine_H1
//
this
.
ucSplitLine_H1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))));
this
.
ucSplitLine_H1
.
Location
=
new
System
.
Drawing
.
Point
(
1177
,
22
);
this
.
ucSplitLine_H1
.
Name
=
"ucSplitLine_H1"
;
this
.
ucSplitLine_H1
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
1
);
this
.
ucSplitLine_H1
.
TabIndex
=
8
;
this
.
ucSplitLine_H1
.
TabStop
=
false
;
//
// ucBtnsGroup2
//
this
.
ucBtnsGroup2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucBtnsGroup2
.
DataSource
=
((
System
.
Collections
.
Generic
.
Dictionary
<
string
,
string
>)(
resources
.
GetObject
(
"ucBtnsGroup2.DataSource"
)));
this
.
ucBtnsGroup2
.
IsMultiple
=
false
;
this
.
ucBtnsGroup2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
ucBtnsGroup2
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
0
,
50
);
this
.
ucBtnsGroup2
.
Name
=
"ucBtnsGroup2"
;
this
.
ucBtnsGroup2
.
SelectItem
=
((
System
.
Collections
.
Generic
.
List
<
string
>)(
resources
.
GetObject
(
"ucBtnsGroup2.SelectItem"
)));
this
.
ucBtnsGroup2
.
Size
=
new
System
.
Drawing
.
Size
(
355
,
50
);
this
.
ucBtnsGroup2
.
TabIndex
=
0
;
//
// ucBtnsGroup1
//
this
.
ucBtnsGroup1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucBtnsGroup1
.
DataSource
=
((
System
.
Collections
.
Generic
.
Dictionary
<
string
,
string
>)(
resources
.
GetObject
(
"ucBtnsGroup1.DataSource"
)));
this
.
ucBtnsGroup1
.
IsMultiple
=
false
;
this
.
ucBtnsGroup1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
ucBtnsGroup1
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
0
,
50
);
this
.
ucBtnsGroup1
.
Name
=
"ucBtnsGroup1"
;
this
.
ucBtnsGroup1
.
SelectItem
=
((
System
.
Collections
.
Generic
.
List
<
string
>)(
resources
.
GetObject
(
"ucBtnsGroup1.SelectItem"
)));
this
.
ucBtnsGroup1
.
Size
=
new
System
.
Drawing
.
Size
(
194
,
50
);
this
.
ucBtnsGroup1
.
TabIndex
=
0
;
//
// ucPagerControl21
//
this
.
ucPagerControl21
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucPagerControl21
.
DataSource
=
((
System
.
Collections
.
Generic
.
List
<
object
>)(
resources
.
GetObject
(
"ucPagerControl21.DataSource"
)));
this
.
ucPagerControl21
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ucPagerControl21
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
ucPagerControl21
.
Name
=
"ucPagerControl21"
;
this
.
ucPagerControl21
.
PageCount
=
0
;
this
.
ucPagerControl21
.
PageIndex
=
1
;
this
.
ucPagerControl21
.
PageSize
=
0
;
this
.
ucPagerControl21
.
Size
=
new
System
.
Drawing
.
Size
(
709
,
41
);
this
.
ucPagerControl21
.
StartIndex
=
0
;
this
.
ucPagerControl21
.
TabIndex
=
4
;
//
// ucMenu1
//
this
.
ucMenu1
.
AutoScroll
=
true
;
this
.
ucMenu1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
39
)))));
this
.
ucMenu1
.
ChildrenItemStyles
=
null
;
this
.
ucMenu1
.
ChildrenItemType
=
typeof
(
HZH_Controls
.
Controls
.
UCMenuChildrenItem
);
this
.
ucMenu1
.
DataSource
=
null
;
this
.
ucMenu1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ucMenu1
.
IsShowFirstItem
=
true
;
this
.
ucMenu1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
ucMenu1
.
MenuStyle
=
HZH_Controls
.
Controls
.
MenuStyle
.
Fill
;
this
.
ucMenu1
.
Name
=
"ucMenu1"
;
this
.
ucMenu1
.
ParentItemStyles
=
null
;
this
.
ucMenu1
.
ParentItemType
=
typeof
(
HZH_Controls
.
Controls
.
UCMenuParentItem
);
this
.
ucMenu1
.
Size
=
new
System
.
Drawing
.
Size
(
194
,
470
);
this
.
ucMenu1
.
TabIndex
=
0
;
//
// ucComboxGrid1
//
this
.
ucComboxGrid1
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
...
@@ -542,6 +249,16 @@
this
.
ucComboxGrid1
.
TextValue
=
null
;
this
.
ucComboxGrid1
.
TriangleColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
// groupBox9
//
this
.
groupBox9
.
Controls
.
Add
(
this
.
ucHorizontalList1
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
625
,
380
);
this
.
groupBox9
.
Name
=
"groupBox9"
;
this
.
groupBox9
.
Size
=
new
System
.
Drawing
.
Size
(
485
,
102
);
this
.
groupBox9
.
TabIndex
=
8
;
this
.
groupBox9
.
TabStop
=
false
;
this
.
groupBox9
.
Text
=
"横向列表"
;
//
// ucHorizontalList1
//
this
.
ucHorizontalList1
.
DataSource
=
null
;
...
...
@@ -552,6 +269,18 @@
this
.
ucHorizontalList1
.
Size
=
new
System
.
Drawing
.
Size
(
473
,
53
);
this
.
ucHorizontalList1
.
TabIndex
=
0
;
//
// groupBox7
//
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt3
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt2
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
ucDatePickerExt1
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
363
);
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
374
,
119
);
this
.
groupBox7
.
TabIndex
=
7
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
Text
=
"日历"
;
//
// ucDatePickerExt3
//
this
.
ucDatePickerExt3
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
...
@@ -612,6 +341,17 @@
this
.
ucDatePickerExt1
.
TimeFontSize
=
20
;
this
.
ucDatePickerExt1
.
TimeType
=
HZH_Controls
.
Controls
.
DateTimePickerType
.
DateTime
;
//
// groupBox6
//
this
.
groupBox6
.
Controls
.
Add
(
this
.
ucComboBox2
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
ucComboBox1
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
419
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
119
);
this
.
groupBox6
.
TabIndex
=
6
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"下拉列表"
;
//
// ucComboBox2
//
this
.
ucComboBox2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
...
@@ -662,6 +402,16 @@
this
.
ucComboBox1
.
TextValue
=
null
;
this
.
ucComboBox1
.
TriangleColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
//
// groupBox8
//
this
.
groupBox8
.
Controls
.
Add
(
this
.
ucListExt1
);
this
.
groupBox8
.
Location
=
new
System
.
Drawing
.
Point
(
876
,
30
);
this
.
groupBox8
.
Name
=
"groupBox8"
;
this
.
groupBox8
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
324
);
this
.
groupBox8
.
TabIndex
=
4
;
this
.
groupBox8
.
TabStop
=
false
;
this
.
groupBox8
.
Text
=
"列表"
;
//
// ucListExt1
//
this
.
ucListExt1
.
AutoScroll
=
true
;
...
...
@@ -682,10 +432,21 @@
this
.
ucListExt1
.
Title2Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14F
);
this
.
ucListExt1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
15F
);
//
// groupBox5
//
this
.
groupBox5
.
Controls
.
Add
(
this
.
treeViewEx1
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
625
,
30
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
327
);
this
.
groupBox5
.
TabIndex
=
4
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"树"
;
//
// treeViewEx1
//
this
.
treeViewEx1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
treeViewEx1
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
None
;
this
.
treeViewEx1
.
CheckBoxes
=
true
;
this
.
treeViewEx1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
treeViewEx1
.
DrawMode
=
System
.
Windows
.
Forms
.
TreeViewDrawMode
.
OwnerDrawAll
;
this
.
treeViewEx1
.
FullRowSelect
=
true
;
...
...
@@ -714,6 +475,21 @@
this
.
treeViewEx1
.
TipFont
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
12F
);
this
.
treeViewEx1
.
TipImage
=
((
System
.
Drawing
.
Image
)(
resources
.
GetObject
(
"treeViewEx1.TipImage"
)));
//
// groupBox4
//
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx4
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx3
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucTextBoxEx1
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
ucNumTextBox1
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
textBoxTransparent1
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
397
,
30
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
327
);
this
.
groupBox4
.
TabIndex
=
2
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"文本框"
;
//
// ucTextBoxEx4
//
this
.
ucTextBoxEx4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
...
@@ -934,6 +710,23 @@
this
.
textBoxTransparent1
.
TabIndex
=
0
;
this
.
textBoxTransparent1
.
Text
=
"这是一个透明文本框"
;
//
// groupBox3
//
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox4
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox3
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox2
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucCheckBox1
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton4
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton3
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton2
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
ucRadioButton1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
30
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
149
,
327
);
this
.
groupBox3
.
TabIndex
=
1
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"单选/复选"
;
//
// ucCheckBox4
//
this
.
ucCheckBox4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
...
@@ -1018,6 +811,21 @@
this
.
ucRadioButton1
.
TabIndex
=
0
;
this
.
ucRadioButton1
.
TextValue
=
"单选按钮1"
;
//
// groupBox2
//
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucDropDownBtn1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucControlBase1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnImg1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnFillet1
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnExt2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
ucBtnExt1
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
30
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
383
);
this
.
groupBox2
.
TabIndex
=
0
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"按钮"
;
//
// ucDropDownBtn1
//
this
.
ucDropDownBtn1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
...
@@ -1252,6 +1060,199 @@
this
.
ucBtnExt1
.
TipsColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
99
)))));
this
.
ucBtnExt1
.
TipsText
=
""
;
//
// button9
//
this
.
button9
.
Location
=
new
System
.
Drawing
.
Point
(
963
,
12
);
this
.
button9
.
Name
=
"button9"
;
this
.
button9
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
this
.
button9
.
TabIndex
=
0
;
this
.
button9
.
Text
=
"更多控件"
;
this
.
button9
.
UseVisualStyleBackColor
=
true
;
this
.
button9
.
Click
+=
new
System
.
EventHandler
(
this
.
button9_Click
);
//
// groupBox10
//
this
.
groupBox10
.
Controls
.
Add
(
this
.
ucMenu1
);
this
.
groupBox10
.
Location
=
new
System
.
Drawing
.
Point
(
1162
,
88
);
this
.
groupBox10
.
Name
=
"groupBox10"
;
this
.
groupBox10
.
Size
=
new
System
.
Drawing
.
Size
(
200
,
490
);
this
.
groupBox10
.
TabIndex
=
3
;
this
.
groupBox10
.
TabStop
=
false
;
this
.
groupBox10
.
Text
=
"导航"
;
//
// ucMenu1
//
this
.
ucMenu1
.
AutoScroll
=
true
;
this
.
ucMenu1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
39
)))));
this
.
ucMenu1
.
ChildrenItemStyles
=
null
;
this
.
ucMenu1
.
ChildrenItemType
=
typeof
(
HZH_Controls
.
Controls
.
UCMenuChildrenItem
);
this
.
ucMenu1
.
DataSource
=
null
;
this
.
ucMenu1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ucMenu1
.
IsShowFirstItem
=
true
;
this
.
ucMenu1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
ucMenu1
.
MenuStyle
=
HZH_Controls
.
Controls
.
MenuStyle
.
Fill
;
this
.
ucMenu1
.
Name
=
"ucMenu1"
;
this
.
ucMenu1
.
ParentItemStyles
=
null
;
this
.
ucMenu1
.
ParentItemType
=
typeof
(
HZH_Controls
.
Controls
.
UCMenuParentItem
);
this
.
ucMenu1
.
Size
=
new
System
.
Drawing
.
Size
(
194
,
470
);
this
.
ucMenu1
.
TabIndex
=
0
;
//
// groupBox11
//
this
.
groupBox11
.
Controls
.
Add
(
this
.
ucPagerControl21
);
this
.
groupBox11
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
629
);
this
.
groupBox11
.
Name
=
"groupBox11"
;
this
.
groupBox11
.
Size
=
new
System
.
Drawing
.
Size
(
715
,
61
);
this
.
groupBox11
.
TabIndex
=
5
;
this
.
groupBox11
.
TabStop
=
false
;
this
.
groupBox11
.
Text
=
"分页控件"
;
//
// ucPagerControl21
//
this
.
ucPagerControl21
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucPagerControl21
.
DataSource
=
((
System
.
Collections
.
Generic
.
List
<
object
>)(
resources
.
GetObject
(
"ucPagerControl21.DataSource"
)));
this
.
ucPagerControl21
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ucPagerControl21
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
ucPagerControl21
.
Name
=
"ucPagerControl21"
;
this
.
ucPagerControl21
.
PageCount
=
0
;
this
.
ucPagerControl21
.
PageIndex
=
1
;
this
.
ucPagerControl21
.
PageSize
=
0
;
this
.
ucPagerControl21
.
Size
=
new
System
.
Drawing
.
Size
(
709
,
41
);
this
.
ucPagerControl21
.
StartIndex
=
0
;
this
.
ucPagerControl21
.
TabIndex
=
4
;
//
// groupBox12
//
this
.
groupBox12
.
Controls
.
Add
(
this
.
ucBtnsGroup1
);
this
.
groupBox12
.
Location
=
new
System
.
Drawing
.
Point
(
751
,
629
);
this
.
groupBox12
.
Name
=
"groupBox12"
;
this
.
groupBox12
.
Size
=
new
System
.
Drawing
.
Size
(
221
,
68
);
this
.
groupBox12
.
TabIndex
=
6
;
this
.
groupBox12
.
TabStop
=
false
;
this
.
groupBox12
.
Text
=
"单选按钮组"
;
//
// ucBtnsGroup1
//
this
.
ucBtnsGroup1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucBtnsGroup1
.
DataSource
=
((
System
.
Collections
.
Generic
.
Dictionary
<
string
,
string
>)(
resources
.
GetObject
(
"ucBtnsGroup1.DataSource"
)));
this
.
ucBtnsGroup1
.
IsMultiple
=
false
;
this
.
ucBtnsGroup1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
ucBtnsGroup1
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
0
,
50
);
this
.
ucBtnsGroup1
.
Name
=
"ucBtnsGroup1"
;
this
.
ucBtnsGroup1
.
SelectItem
=
((
System
.
Collections
.
Generic
.
List
<
string
>)(
resources
.
GetObject
(
"ucBtnsGroup1.SelectItem"
)));
this
.
ucBtnsGroup1
.
Size
=
new
System
.
Drawing
.
Size
(
194
,
50
);
this
.
ucBtnsGroup1
.
TabIndex
=
0
;
//
// groupBox13
//
this
.
groupBox13
.
Controls
.
Add
(
this
.
ucBtnsGroup2
);
this
.
groupBox13
.
Location
=
new
System
.
Drawing
.
Point
(
994
,
629
);
this
.
groupBox13
.
Name
=
"groupBox13"
;
this
.
groupBox13
.
Size
=
new
System
.
Drawing
.
Size
(
367
,
68
);
this
.
groupBox13
.
TabIndex
=
6
;
this
.
groupBox13
.
TabStop
=
false
;
this
.
groupBox13
.
Text
=
"多选按钮组"
;
//
// ucBtnsGroup2
//
this
.
ucBtnsGroup2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucBtnsGroup2
.
DataSource
=
((
System
.
Collections
.
Generic
.
Dictionary
<
string
,
string
>)(
resources
.
GetObject
(
"ucBtnsGroup2.DataSource"
)));
this
.
ucBtnsGroup2
.
IsMultiple
=
false
;
this
.
ucBtnsGroup2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
ucBtnsGroup2
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
0
,
50
);
this
.
ucBtnsGroup2
.
Name
=
"ucBtnsGroup2"
;
this
.
ucBtnsGroup2
.
SelectItem
=
((
System
.
Collections
.
Generic
.
List
<
string
>)(
resources
.
GetObject
(
"ucBtnsGroup2.SelectItem"
)));
this
.
ucBtnsGroup2
.
Size
=
new
System
.
Drawing
.
Size
(
355
,
50
);
this
.
ucBtnsGroup2
.
TabIndex
=
0
;
//
// button10
//
this
.
button10
.
Location
=
new
System
.
Drawing
.
Point
(
43
,
49
);
this
.
button10
.
Name
=
"button10"
;
this
.
button10
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
23
);
this
.
button10
.
TabIndex
=
0
;
this
.
button10
.
Text
=
"TestListView"
;
this
.
button10
.
UseVisualStyleBackColor
=
true
;
this
.
button10
.
Click
+=
new
System
.
EventHandler
(
this
.
button10_Click
);
//
// toolStripMenuItem1
//
this
.
toolStripMenuItem1
.
Name
=
"toolStripMenuItem1"
;
this
.
toolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
32
,
19
);
//
// toolStripComboBox1
//
this
.
toolStripComboBox1
.
Name
=
"toolStripComboBox1"
;
this
.
toolStripComboBox1
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
25
);
//
// toolStripSeparator1
//
this
.
toolStripSeparator1
.
Name
=
"toolStripSeparator1"
;
this
.
toolStripSeparator1
.
Size
=
new
System
.
Drawing
.
Size
(
6
,
6
);
//
// toolStripTextBox1
//
this
.
toolStripTextBox1
.
Name
=
"toolStripTextBox1"
;
this
.
toolStripTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
23
);
//
// button11
//
this
.
button11
.
Location
=
new
System
.
Drawing
.
Point
(
161
,
49
);
this
.
button11
.
Name
=
"button11"
;
this
.
button11
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button11
.
TabIndex
=
0
;
this
.
button11
.
Text
=
"仪表"
;
this
.
button11
.
UseVisualStyleBackColor
=
true
;
this
.
button11
.
Click
+=
new
System
.
EventHandler
(
this
.
button11_Click
);
//
// button12
//
this
.
button12
.
Location
=
new
System
.
Drawing
.
Point
(
241
,
49
);
this
.
button12
.
Name
=
"button12"
;
this
.
button12
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button12
.
TabIndex
=
0
;
this
.
button12
.
Text
=
"工业组件"
;
this
.
button12
.
UseVisualStyleBackColor
=
true
;
this
.
button12
.
Click
+=
new
System
.
EventHandler
(
this
.
button12_Click
);
//
// button13
//
this
.
button13
.
Location
=
new
System
.
Drawing
.
Point
(
332
,
50
);
this
.
button13
.
Name
=
"button13"
;
this
.
button13
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button13
.
TabIndex
=
0
;
this
.
button13
.
Text
=
"思维导图"
;
this
.
button13
.
UseVisualStyleBackColor
=
true
;
this
.
button13
.
Click
+=
new
System
.
EventHandler
(
this
.
button13_Click
);
//
// button14
//
this
.
button14
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
50
);
this
.
button14
.
Name
=
"button14"
;
this
.
button14
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
23
);
this
.
button14
.
TabIndex
=
0
;
this
.
button14
.
Text
=
"图标"
;
this
.
button14
.
UseVisualStyleBackColor
=
true
;
this
.
button14
.
Click
+=
new
System
.
EventHandler
(
this
.
button14_Click
);
//
// ucSplitLine_V1
//
this
.
ucSplitLine_V1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))));
this
.
ucSplitLine_V1
.
Location
=
new
System
.
Drawing
.
Point
(
1149
,
12
);
this
.
ucSplitLine_V1
.
Name
=
"ucSplitLine_V1"
;
this
.
ucSplitLine_V1
.
Size
=
new
System
.
Drawing
.
Size
(
1
,
100
);
this
.
ucSplitLine_V1
.
TabIndex
=
9
;
this
.
ucSplitLine_V1
.
TabStop
=
false
;
//
// ucSplitLine_H1
//
this
.
ucSplitLine_H1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))),
((
int
)(((
byte
)(
232
)))));
this
.
ucSplitLine_H1
.
Location
=
new
System
.
Drawing
.
Point
(
1177
,
22
);
this
.
ucSplitLine_H1
.
Name
=
"ucSplitLine_H1"
;
this
.
ucSplitLine_H1
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
1
);
this
.
ucSplitLine_H1
.
TabIndex
=
8
;
this
.
ucSplitLine_H1
.
TabStop
=
false
;
//
// Form1
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
...
...
@@ -1291,11 +1292,11 @@
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
ucControlBase1
.
ResumeLayout
(
false
);
this
.
groupBox10
.
ResumeLayout
(
false
);
this
.
groupBox11
.
ResumeLayout
(
false
);
this
.
groupBox12
.
ResumeLayout
(
false
);
this
.
groupBox13
.
ResumeLayout
(
false
);
this
.
ucControlBase1
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
...
...
HZH_Controls/Test/Form1.cs
查看文件 @
d1cf5a5
...
...
@@ -24,10 +24,10 @@ namespace Test
{
for
(
int
i
=
0
;
i
<
3
;
i
++)
{
TreeNode
tn
=
new
TreeNode
(
"
父节点"
+
i
);
TreeNode
tn
=
new
TreeNode
(
"父节点"
+
i
);
for
(
int
j
=
0
;
j
<
3
;
j
++)
{
tn
.
Nodes
.
Add
(
"
子节点"
+
j
);
tn
.
Nodes
.
Add
(
"子节点"
+
j
);
}
this
.
treeViewEx1
.
Nodes
.
Add
(
tn
);
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论