Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6210ddd7
由
HZH
编写于
2019-08-29 15:36:50 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
add anchorTips
1 个父辈
d864f644
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
922 行增加
和
317 行删除
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.Designer.cs
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.cs
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.resx
HZH_Controls/HZH_Controls/HZH_Controls.csproj
HZH_Controls/Test/Form1.Designer.cs
HZH_Controls/Test/Form1.cs
HZH_Controls/Test/Form1.resx
HZH_Controls/Test/Form2.Designer.cs
HZH_Controls/Test/Form2.cs
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.Designer.cs
0 → 100644
查看文件 @
6210ddd
namespace
HZH_Controls.Forms
{
partial
class
FrmAnchorTips
{
/// <summary>
/// Required designer variable.
/// </summary>
private
System
.
ComponentModel
.
IContainer
components
=
null
;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected
override
void
Dispose
(
bool
disposing
)
{
if
(
disposing
&&
(
components
!=
null
))
{
components
.
Dispose
();
}
base
.
Dispose
(
disposing
);
}
#
region
Windows
Form
Designer
generated
code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private
void
InitializeComponent
()
{
this
.
SuspendLayout
();
//
// FrmAnchorTips
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
226
,
83
);
this
.
FormBorderStyle
=
System
.
Windows
.
Forms
.
FormBorderStyle
.
None
;
this
.
Name
=
"FrmAnchorTips"
;
this
.
StartPosition
=
System
.
Windows
.
Forms
.
FormStartPosition
.
Manual
;
this
.
Text
=
"FrmAnchorTips"
;
this
.
ResumeLayout
(
false
);
}
#
endregion
}
}
\ No newline at end of file
\ No newline at end of file
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.cs
0 → 100644
查看文件 @
6210ddd
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Data
;
using
System.Drawing
;
using
System.Drawing.Drawing2D
;
using
System.Linq
;
using
System.Runtime.InteropServices
;
using
System.Text
;
using
System.Windows.Forms
;
namespace
HZH_Controls.Forms
{
public
partial
class
FrmAnchorTips
:
Form
{
bool
haveHandle
=
false
;
#
region
构造函数
English
:
Constructor
/// <summary>
/// 功能描述:构造函数 English:Constructor
/// 作 者:HZH
/// 创建日期:2019-08-29 15:27:51
/// 任务编号:
/// </summary>
/// <param name="rectControl">停靠区域</param>
/// <param name="strMsg">消息</param>
/// <param name="location">显示方位</param>
/// <param name="background">背景色</param>
/// <param name="foreColor">文字颜色</param>
/// <param name="fontSize">文字大小</param>
/// <param name="autoCloseTime">自动关闭时间,当<=0时不自动关闭</param>
private
FrmAnchorTips
(
Rectangle
rectControl
,
string
strMsg
,
AnchorTipsLocation
location
=
AnchorTipsLocation
.
RIGHT
,
Color
?
background
=
null
,
Color
?
foreColor
=
null
,
int
fontSize
=
10
,
int
autoCloseTime
=
5000
)
{
InitializeComponent
();
Graphics
g
=
this
.
CreateGraphics
();
Font
_font
=
new
Font
(
"微软雅黑"
,
fontSize
);
Color
_background
=
background
==
null
?
Color
.
FromArgb
(
255
,
77
,
58
)
:
background
.
Value
;
Color
_foreColor
=
foreColor
==
null
?
Color
.
White
:
foreColor
.
Value
;
System
.
Drawing
.
SizeF
sizeText
=
g
.
MeasureString
(
strMsg
,
_font
);
g
.
Dispose
();
var
formSize
=
new
Size
((
int
)
sizeText
.
Width
+
20
,
(
int
)
sizeText
.
Height
+
20
);
if
(
formSize
.
Width
<
20
)
formSize
.
Width
=
20
;
if
(
formSize
.
Height
<
20
)
formSize
.
Height
=
20
;
if
(
location
==
AnchorTipsLocation
.
LEFT
||
location
==
AnchorTipsLocation
.
RIGHT
)
{
formSize
.
Width
+=
20
;
}
else
{
formSize
.
Height
+=
20
;
}
#
region
获取窗体
path
English
:
Get
the
form
path
GraphicsPath
path
=
new
GraphicsPath
();
Rectangle
rect
;
switch
(
location
)
{
case
AnchorTipsLocation
.
TOP
:
rect
=
new
Rectangle
(
1
,
1
,
formSize
.
Width
-
2
,
formSize
.
Height
-
20
-
1
);
this
.
Location
=
new
Point
(
rectControl
.
X
+
(
rectControl
.
Width
-
rect
.
Width
)
/
2
,
rectControl
.
Y
-
rect
.
Height
-
20
);
break
;
case
AnchorTipsLocation
.
RIGHT
:
rect
=
new
Rectangle
(
20
,
1
,
formSize
.
Width
-
20
-
1
,
formSize
.
Height
-
2
);
this
.
Location
=
new
Point
(
rectControl
.
Right
,
rectControl
.
Y
+
(
rectControl
.
Height
-
rect
.
Height
)
/
2
);
break
;
case
AnchorTipsLocation
.
BOTTOM
:
rect
=
new
Rectangle
(
1
,
20
,
formSize
.
Width
-
2
,
formSize
.
Height
-
20
-
1
);
this
.
Location
=
new
Point
(
rectControl
.
X
+
(
rectControl
.
Width
-
rect
.
Width
)
/
2
,
rectControl
.
Bottom
);
break
;
default
:
rect
=
new
Rectangle
(
1
,
1
,
formSize
.
Width
-
20
-
1
,
formSize
.
Height
-
2
);
this
.
Location
=
new
Point
(
rectControl
.
X
-
rect
.
Width
-
20
,
rectControl
.
Y
+
(
rectControl
.
Height
-
rect
.
Height
)
/
2
);
break
;
}
int
cornerRadius
=
2
;
path
.
AddArc
(
rect
.
X
,
rect
.
Y
,
cornerRadius
*
2
,
cornerRadius
*
2
,
180
,
90
);
//左上角
#
region
上边
if
(
location
==
AnchorTipsLocation
.
BOTTOM
)
{
path
.
AddLine
(
rect
.
X
+
cornerRadius
,
rect
.
Y
,
rect
.
Left
+
rect
.
Width
/
2
-
10
,
rect
.
Y
);
//上
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
-
10
,
rect
.
Y
,
rect
.
Left
+
rect
.
Width
/
2
,
rect
.
Y
-
19
);
//上
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
,
rect
.
Y
-
19
,
rect
.
Left
+
rect
.
Width
/
2
+
10
,
rect
.
Y
);
//上
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
+
10
,
rect
.
Y
,
rect
.
Right
-
cornerRadius
*
2
,
rect
.
Y
);
//上
}
else
{
path
.
AddLine
(
rect
.
X
+
cornerRadius
,
rect
.
Y
,
rect
.
Right
-
cornerRadius
*
2
,
rect
.
Y
);
//上
}
#
endregion
path
.
AddArc
(
rect
.
X
+
rect
.
Width
-
cornerRadius
*
2
,
rect
.
Y
,
cornerRadius
*
2
,
cornerRadius
*
2
,
270
,
90
);
//右上角
#
region
右边
if
(
location
==
AnchorTipsLocation
.
LEFT
)
{
path
.
AddLine
(
rect
.
Right
,
rect
.
Y
+
cornerRadius
*
2
,
rect
.
Right
,
rect
.
Y
+
rect
.
Height
/
2
-
10
);
//右
path
.
AddLine
(
rect
.
Right
,
rect
.
Y
+
rect
.
Height
/
2
-
10
,
rect
.
Right
+
19
,
rect
.
Y
+
rect
.
Height
/
2
);
//右
path
.
AddLine
(
rect
.
Right
+
19
,
rect
.
Y
+
rect
.
Height
/
2
,
rect
.
Right
,
rect
.
Y
+
rect
.
Height
/
2
+
10
);
//右
path
.
AddLine
(
rect
.
Right
,
rect
.
Y
+
rect
.
Height
/
2
+
10
,
rect
.
Right
,
rect
.
Y
+
rect
.
Height
-
cornerRadius
*
2
);
//右
}
else
{
path
.
AddLine
(
rect
.
Right
,
rect
.
Y
+
cornerRadius
*
2
,
rect
.
Right
,
rect
.
Y
+
rect
.
Height
-
cornerRadius
*
2
);
//右
}
#
endregion
path
.
AddArc
(
rect
.
X
+
rect
.
Width
-
cornerRadius
*
2
,
rect
.
Y
+
rect
.
Height
-
cornerRadius
*
2
,
cornerRadius
*
2
,
cornerRadius
*
2
,
0
,
90
);
//右下角
#
region
下边
if
(
location
==
AnchorTipsLocation
.
TOP
)
{
path
.
AddLine
(
rect
.
Right
-
cornerRadius
*
2
,
rect
.
Bottom
,
rect
.
Left
+
rect
.
Width
/
2
+
10
,
rect
.
Bottom
);
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
+
10
,
rect
.
Bottom
,
rect
.
Left
+
rect
.
Width
/
2
,
rect
.
Bottom
+
19
);
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
,
rect
.
Bottom
+
19
,
rect
.
Left
+
rect
.
Width
/
2
-
10
,
rect
.
Bottom
);
path
.
AddLine
(
rect
.
Left
+
rect
.
Width
/
2
-
10
,
rect
.
Bottom
,
rect
.
X
+
cornerRadius
*
2
,
rect
.
Bottom
);
}
else
{
path
.
AddLine
(
rect
.
Right
-
cornerRadius
*
2
,
rect
.
Bottom
,
rect
.
X
+
cornerRadius
*
2
,
rect
.
Bottom
);
}
#
endregion
path
.
AddArc
(
rect
.
X
,
rect
.
Bottom
-
cornerRadius
*
2
,
cornerRadius
*
2
,
cornerRadius
*
2
,
90
,
90
);
//左下角
#
region
左边
if
(
location
==
AnchorTipsLocation
.
RIGHT
)
{
path
.
AddLine
(
rect
.
Left
,
rect
.
Y
+
cornerRadius
*
2
,
rect
.
Left
,
rect
.
Y
+
rect
.
Height
/
2
-
10
);
//左
path
.
AddLine
(
rect
.
Left
,
rect
.
Y
+
rect
.
Height
/
2
-
10
,
rect
.
Left
-
19
,
rect
.
Y
+
rect
.
Height
/
2
);
//左
path
.
AddLine
(
rect
.
Left
-
19
,
rect
.
Y
+
rect
.
Height
/
2
,
rect
.
Left
,
rect
.
Y
+
rect
.
Height
/
2
+
10
);
//左
path
.
AddLine
(
rect
.
Left
,
rect
.
Y
+
rect
.
Height
/
2
+
10
,
rect
.
Left
,
rect
.
Y
+
rect
.
Height
-
cornerRadius
*
2
);
//左
}
else
{
path
.
AddLine
(
rect
.
X
,
rect
.
Bottom
-
cornerRadius
*
2
,
rect
.
X
,
rect
.
Y
+
cornerRadius
*
2
);
//左
}
#
endregion
path
.
CloseFigure
();
#
endregion
Bitmap
bit
=
new
Bitmap
(
formSize
.
Width
,
formSize
.
Height
);
this
.
Size
=
formSize
;
#
region
画图
English
:
Drawing
Graphics
gBit
=
Graphics
.
FromImage
(
bit
);
gBit
.
SetGDIHigh
();
gBit
.
FillPath
(
new
SolidBrush
(
_background
),
path
);
gBit
.
DrawString
(
strMsg
,
_font
,
new
SolidBrush
(
_foreColor
),
rect
.
Location
+
new
Size
(
10
,
10
));
gBit
.
Dispose
();
#
endregion
SetBits
(
bit
);
if
(
autoCloseTime
>
0
)
{
Timer
t
=
new
Timer
();
t
.
Interval
=
autoCloseTime
;
t
.
Tick
+=
(
a
,
b
)
=>
{
this
.
Close
();
};
t
.
Enabled
=
true
;
}
}
#
endregion
#
region
显示一个提示
English
:
Show
a
hint
/// <summary>
/// 功能描述:显示一个提示 English:Show a hint
/// 作 者:HZH
/// 创建日期:2019-08-29 15:28:58
/// 任务编号:
/// </summary>
/// <param name="parentControl">停靠控件</param>
/// <param name="strMsg">消息</param>
/// <param name="location">显示方位</param>
/// <param name="background">背景色</param>
/// <param name="foreColor">文字颜色</param>
/// <param name="deviation">偏移量</param>
/// <param name="fontSize">文字大小</param>
/// <param name="autoCloseTime">自动关闭时间,当<=0时不自动关闭</param>
public
static
FrmAnchorTips
ShowTips
(
Control
parentControl
,
string
strMsg
,
AnchorTipsLocation
location
=
AnchorTipsLocation
.
RIGHT
,
Color
?
background
=
null
,
Color
?
foreColor
=
null
,
Size
?
deviation
=
null
,
int
fontSize
=
10
,
int
autoCloseTime
=
5000
)
{
Point
p
;
if
(
parentControl
is
Form
)
{
p
=
parentControl
.
Location
;
}
else
{
p
=
parentControl
.
Parent
.
PointToScreen
(
parentControl
.
Location
);
}
if
(
deviation
!=
null
)
{
p
=
p
+
deviation
.
Value
;
}
return
ShowTips
(
parentControl
.
FindForm
(),
new
Rectangle
(
p
,
parentControl
.
Size
),
strMsg
,
location
,
background
,
foreColor
,
fontSize
,
autoCloseTime
);
}
#
endregion
#
region
显示一个提示
English
:
Show
a
hint
/// <summary>
/// 功能描述:显示一个提示 English:Show a hint
/// 作 者:HZH
/// 创建日期:2019-08-29 15:29:07
/// 任务编号:
/// </summary>
/// <param name="parentForm">父窗体</param>
/// <param name="rectControl">停靠区域</param>
/// <param name="strMsg">消息</param>
/// <param name="location">显示方位</param>
/// <param name="background">背景色</param>
/// <param name="foreColor">文字颜色</param>
/// <param name="fontSize">文字大小</param>
/// <param name="autoCloseTime">自动关闭时间,当<=0时不自动关闭</param>
/// <returns>返回值</returns>
public
static
FrmAnchorTips
ShowTips
(
Form
parentForm
,
Rectangle
rectControl
,
string
strMsg
,
AnchorTipsLocation
location
=
AnchorTipsLocation
.
RIGHT
,
Color
?
background
=
null
,
Color
?
foreColor
=
null
,
int
fontSize
=
10
,
int
autoCloseTime
=
5000
)
{
FrmAnchorTips
frm
=
new
FrmAnchorTips
(
rectControl
,
strMsg
,
location
,
background
,
foreColor
,
fontSize
,
autoCloseTime
);
frm
.
TopMost
=
true
;
frm
.
Show
(
parentForm
);
return
frm
;
}
#
endregion
#
region
Override
protected
override
void
OnClosing
(
CancelEventArgs
e
)
{
e
.
Cancel
=
true
;
base
.
OnClosing
(
e
);
haveHandle
=
false
;
this
.
Dispose
();
}
protected
override
void
OnHandleCreated
(
EventArgs
e
)
{
InitializeStyles
();
base
.
OnHandleCreated
(
e
);
haveHandle
=
true
;
}
protected
override
CreateParams
CreateParams
{
get
{
CreateParams
cParms
=
base
.
CreateParams
;
cParms
.
ExStyle
|=
0x00080000
;
// WS_EX_LAYERED
return
cParms
;
}
}
#
endregion
private
void
InitializeStyles
()
{
SetStyle
(
ControlStyles
.
AllPaintingInWmPaint
,
true
);
SetStyle
(
ControlStyles
.
UserPaint
,
true
);
UpdateStyles
();
}
#
region
根据图片显示窗体
English
:
Display
Forms
Based
on
Pictures
/// <summary>
/// 功能描述:根据图片显示窗体 English:Display Forms Based on Pictures
/// 作 者:HZH
/// 创建日期:2019-08-29 15:31:16
/// 任务编号:
/// </summary>
/// <param name="bitmap">bitmap</param>
private
void
SetBits
(
Bitmap
bitmap
)
{
if
(!
haveHandle
)
return
;
if
(!
Bitmap
.
IsCanonicalPixelFormat
(
bitmap
.
PixelFormat
)
||
!
Bitmap
.
IsAlphaPixelFormat
(
bitmap
.
PixelFormat
))
throw
new
ApplicationException
(
"The picture must be 32bit picture with alpha channel."
);
IntPtr
oldBits
=
IntPtr
.
Zero
;
IntPtr
screenDC
=
Win32
.
GetDC
(
IntPtr
.
Zero
);
IntPtr
hBitmap
=
IntPtr
.
Zero
;
IntPtr
memDc
=
Win32
.
CreateCompatibleDC
(
screenDC
);
try
{
Win32
.
Point
topLoc
=
new
Win32
.
Point
(
Left
,
Top
);
Win32
.
Size
bitMapSize
=
new
Win32
.
Size
(
bitmap
.
Width
,
bitmap
.
Height
);
Win32
.
BLENDFUNCTION
blendFunc
=
new
Win32
.
BLENDFUNCTION
();
Win32
.
Point
srcLoc
=
new
Win32
.
Point
(
0
,
0
);
hBitmap
=
bitmap
.
GetHbitmap
(
Color
.
FromArgb
(
0
));
oldBits
=
Win32
.
SelectObject
(
memDc
,
hBitmap
);
blendFunc
.
BlendOp
=
Win32
.
AC_SRC_OVER
;
blendFunc
.
SourceConstantAlpha
=
255
;
blendFunc
.
AlphaFormat
=
Win32
.
AC_SRC_ALPHA
;
blendFunc
.
BlendFlags
=
0
;
Win32
.
UpdateLayeredWindow
(
Handle
,
screenDC
,
ref
topLoc
,
ref
bitMapSize
,
memDc
,
ref
srcLoc
,
0
,
ref
blendFunc
,
Win32
.
ULW_ALPHA
);
}
finally
{
if
(
hBitmap
!=
IntPtr
.
Zero
)
{
Win32
.
SelectObject
(
memDc
,
oldBits
);
Win32
.
DeleteObject
(
hBitmap
);
}
Win32
.
ReleaseDC
(
IntPtr
.
Zero
,
screenDC
);
Win32
.
DeleteDC
(
memDc
);
}
}
#
endregion
}
public
enum
AnchorTipsLocation
{
LEFT
,
TOP
,
RIGHT
,
BOTTOM
}
class
Win32
{
[
StructLayout
(
LayoutKind
.
Sequential
)]
public
struct
Size
{
public
Int32
cx
;
public
Int32
cy
;
public
Size
(
Int32
x
,
Int32
y
)
{
cx
=
x
;
cy
=
y
;
}
}
[
StructLayout
(
LayoutKind
.
Sequential
,
Pack
=
1
)]
public
struct
BLENDFUNCTION
{
public
byte
BlendOp
;
public
byte
BlendFlags
;
public
byte
SourceConstantAlpha
;
public
byte
AlphaFormat
;
}
[
StructLayout
(
LayoutKind
.
Sequential
)]
public
struct
Point
{
public
Int32
x
;
public
Int32
y
;
public
Point
(
Int32
x
,
Int32
y
)
{
this
.
x
=
x
;
this
.
y
=
y
;
}
}
public
const
byte
AC_SRC_OVER
=
0
;
public
const
Int32
ULW_ALPHA
=
2
;
public
const
byte
AC_SRC_ALPHA
=
1
;
[
DllImport
(
"gdi32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
IntPtr
CreateCompatibleDC
(
IntPtr
hDC
);
[
DllImport
(
"user32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
IntPtr
GetDC
(
IntPtr
hWnd
);
[
DllImport
(
"gdi32.dll"
,
ExactSpelling
=
true
)]
public
static
extern
IntPtr
SelectObject
(
IntPtr
hDC
,
IntPtr
hObj
);
[
DllImport
(
"user32.dll"
,
ExactSpelling
=
true
)]
public
static
extern
int
ReleaseDC
(
IntPtr
hWnd
,
IntPtr
hDC
);
[
DllImport
(
"gdi32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
int
DeleteDC
(
IntPtr
hDC
);
[
DllImport
(
"gdi32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
int
DeleteObject
(
IntPtr
hObj
);
[
DllImport
(
"user32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
int
UpdateLayeredWindow
(
IntPtr
hwnd
,
IntPtr
hdcDst
,
ref
Point
pptDst
,
ref
Size
psize
,
IntPtr
hdcSrc
,
ref
Point
pptSrc
,
Int32
crKey
,
ref
BLENDFUNCTION
pblend
,
Int32
dwFlags
);
[
DllImport
(
"gdi32.dll"
,
ExactSpelling
=
true
,
SetLastError
=
true
)]
public
static
extern
IntPtr
ExtCreateRegion
(
IntPtr
lpXform
,
uint
nCount
,
IntPtr
rgnData
);
}
}
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.resx
0 → 100644
查看文件 @
6210ddd
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
\ No newline at end of file
HZH_Controls/HZH_Controls/HZH_Controls.csproj
查看文件 @
6210ddd
...
@@ -194,6 +194,12 @@
...
@@ -194,6 +194,12 @@
<Compile Include="Controls\Wave\UCWave.cs">
<Compile Include="Controls\Wave\UCWave.cs">
<SubType>Component</SubType>
<SubType>Component</SubType>
</Compile>
</Compile>
<Compile Include="Forms\FrmAnchorTips.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FrmAnchorTips.Designer.cs">
<DependentUpon>FrmAnchorTips.cs</DependentUpon>
</Compile>
<Compile Include="Helpers\ControlHelper.cs" />
<Compile Include="Helpers\ControlHelper.cs" />
<Compile Include="Controls\Btn\UCBtnExt.cs">
<Compile Include="Controls\Btn\UCBtnExt.cs">
<SubType>UserControl</SubType>
<SubType>UserControl</SubType>
...
@@ -561,6 +567,9 @@
...
@@ -561,6 +567,9 @@
<EmbeddedResource Include="Forms\FrmAnchor.resx">
<EmbeddedResource Include="Forms\FrmAnchor.resx">
<DependentUpon>FrmAnchor.cs</DependentUpon>
<DependentUpon>FrmAnchor.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FrmAnchorTips.resx">
<DependentUpon>FrmAnchorTips.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FrmBase.resx">
<EmbeddedResource Include="Forms\FrmBase.resx">
<DependentUpon>FrmBase.cs</DependentUpon>
<DependentUpon>FrmBase.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
...
...
HZH_Controls/Test/Form1.Designer.cs
查看文件 @
6210ddd
...
@@ -40,28 +40,41 @@
...
@@ -40,28 +40,41 @@
this
.
button7
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button7
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button8
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button8
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucComboxGrid1
=
new
HZH_Controls
.
Controls
.
ComboBox
.
UCComboxGrid
();
this
.
groupBox9
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox9
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucHorizontalList1
=
new
HZH_Controls
.
Controls
.
UCHorizontalList
();
this
.
groupBox7
=
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
.
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
.
ComboBox
.
UCComboxGrid
();
this
.
ucHorizontalList1
=
new
HZH_Controls
.
Controls
.
UCHorizontalList
();
this
.
ucDatePickerExt3
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt3
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt2
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt2
=
new
HZH_Controls
.
Controls
.
UCDatePickerExt
();
this
.
ucDatePickerExt1
=
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
.
ucComboBox2
=
new
HZH_Controls
.
Controls
.
UCCombox
();
this
.
ucComboBox1
=
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
.
ucListExt1
=
new
HZH_Controls
.
Controls
.
UCListExt
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
treeViewEx1
=
new
HZH_Controls
.
Controls
.
TreeViewEx
();
this
.
treeViewEx1
=
new
HZH_Controls
.
Controls
.
TreeViewEx
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucTextBoxEx4
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx4
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx3
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx3
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx2
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx2
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx1
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucTextBoxEx1
=
new
HZH_Controls
.
Controls
.
UCTextBoxEx
();
this
.
ucNumTextBox1
=
new
HZH_Controls
.
Controls
.
UCNumTextBox
();
this
.
ucNumTextBox1
=
new
HZH_Controls
.
Controls
.
UCNumTextBox
();
this
.
textBoxTransparent1
=
new
HZH_Controls
.
Controls
.
TextBoxTransparent
();
this
.
textBoxTransparent1
=
new
HZH_Controls
.
Controls
.
TextBoxTransparent
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
ucCheckBox4
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox4
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox3
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox3
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox2
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
this
.
ucCheckBox2
=
new
HZH_Controls
.
Controls
.
UCCheckBox
();
...
@@ -70,7 +83,6 @@
...
@@ -70,7 +83,6 @@
this
.
ucRadioButton3
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton3
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton2
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton2
=
new
HZH_Controls
.
Controls
.
UCRadioButton
();
this
.
ucRadioButton1
=
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
.
Btn
.
UCDropDownBtn
();
this
.
ucDropDownBtn1
=
new
HZH_Controls
.
Controls
.
Btn
.
UCDropDownBtn
();
this
.
ucControlBase1
=
new
HZH_Controls
.
Controls
.
UCControlBase
();
this
.
ucControlBase1
=
new
HZH_Controls
.
Controls
.
UCControlBase
();
this
.
ucBtnExt3
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
this
.
ucBtnExt3
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
...
@@ -80,18 +92,6 @@
...
@@ -80,18 +92,6 @@
this
.
ucBtnFillet1
=
new
HZH_Controls
.
Controls
.
UCBtnFillet
();
this
.
ucBtnFillet1
=
new
HZH_Controls
.
Controls
.
UCBtnFillet
();
this
.
ucBtnExt2
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
this
.
ucBtnExt2
=
new
HZH_Controls
.
Controls
.
UCBtnExt
();
this
.
ucBtnExt1
=
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
.
ucSplitLine_V1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_V
();
this
.
ucSplitLine_H1
=
new
HZH_Controls
.
Controls
.
UCSplitLine_H
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox9
.
SuspendLayout
();
this
.
groupBox9
.
SuspendLayout
();
this
.
groupBox7
.
SuspendLayout
();
this
.
groupBox7
.
SuspendLayout
();
...
@@ -101,11 +101,11 @@
...
@@ -101,11 +101,11 @@
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
ucControlBase1
.
SuspendLayout
();
this
.
groupBox10
.
SuspendLayout
();
this
.
groupBox10
.
SuspendLayout
();
this
.
groupBox11
.
SuspendLayout
();
this
.
groupBox11
.
SuspendLayout
();
this
.
groupBox12
.
SuspendLayout
();
this
.
groupBox12
.
SuspendLayout
();
this
.
groupBox13
.
SuspendLayout
();
this
.
groupBox13
.
SuspendLayout
();
this
.
ucControlBase1
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// timer1
// timer1
...
@@ -211,6 +211,239 @@
...
@@ -211,6 +211,239 @@
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"控件"
;
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
);
//
// 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
// ucComboxGrid1
//
//
this
.
ucComboxGrid1
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucComboxGrid1
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -240,16 +473,6 @@
...
@@ -240,16 +473,6 @@
this
.
ucComboxGrid1
.
TextField
=
"Name"
;
this
.
ucComboxGrid1
.
TextField
=
"Name"
;
this
.
ucComboxGrid1
.
TextValue
=
null
;
this
.
ucComboxGrid1
.
TextValue
=
null
;
//
//
// 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
// ucHorizontalList1
//
//
this
.
ucHorizontalList1
.
DataSource
=
null
;
this
.
ucHorizontalList1
.
DataSource
=
null
;
...
@@ -260,18 +483,6 @@
...
@@ -260,18 +483,6 @@
this
.
ucHorizontalList1
.
Size
=
new
System
.
Drawing
.
Size
(
473
,
53
);
this
.
ucHorizontalList1
.
Size
=
new
System
.
Drawing
.
Size
(
473
,
53
);
this
.
ucHorizontalList1
.
TabIndex
=
0
;
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
// ucDatePickerExt3
//
//
this
.
ucDatePickerExt3
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucDatePickerExt3
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -332,17 +543,6 @@
...
@@ -332,17 +543,6 @@
this
.
ucDatePickerExt1
.
TimeFontSize
=
20
;
this
.
ucDatePickerExt1
.
TimeFontSize
=
20
;
this
.
ucDatePickerExt1
.
TimeType
=
HZH_Controls
.
Controls
.
DateTimePickerType
.
DateTime
;
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
// ucComboBox2
//
//
this
.
ucComboBox2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucComboBox2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -391,16 +591,6 @@
...
@@ -391,16 +591,6 @@
this
.
ucComboBox1
.
TabIndex
=
5
;
this
.
ucComboBox1
.
TabIndex
=
5
;
this
.
ucComboBox1
.
TextValue
=
null
;
this
.
ucComboBox1
.
TextValue
=
null
;
//
//
// 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
// ucListExt1
//
//
this
.
ucListExt1
.
AutoScroll
=
true
;
this
.
ucListExt1
.
AutoScroll
=
true
;
...
@@ -421,16 +611,6 @@
...
@@ -421,16 +611,6 @@
this
.
ucListExt1
.
Title2Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14F
);
this
.
ucListExt1
.
Title2Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14F
);
this
.
ucListExt1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
15F
);
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
// treeViewEx1
//
//
this
.
treeViewEx1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
treeViewEx1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
@@ -463,21 +643,6 @@
...
@@ -463,21 +643,6 @@
this
.
treeViewEx1
.
TipFont
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
12F
);
this
.
treeViewEx1
.
TipFont
=
new
System
.
Drawing
.
Font
(
"Arial Unicode MS"
,
12F
);
this
.
treeViewEx1
.
TipImage
=
((
System
.
Drawing
.
Image
)(
resources
.
GetObject
(
"treeViewEx1.TipImage"
)));
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
// ucTextBoxEx4
//
//
this
.
ucTextBoxEx4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucTextBoxEx4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -694,23 +859,6 @@
...
@@ -694,23 +859,6 @@
this
.
textBoxTransparent1
.
TabIndex
=
0
;
this
.
textBoxTransparent1
.
TabIndex
=
0
;
this
.
textBoxTransparent1
.
Text
=
"这是一个透明文本框"
;
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
// ucCheckBox4
//
//
this
.
ucCheckBox4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucCheckBox4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -795,21 +943,6 @@
...
@@ -795,21 +943,6 @@
this
.
ucRadioButton1
.
TabIndex
=
0
;
this
.
ucRadioButton1
.
TabIndex
=
0
;
this
.
ucRadioButton1
.
TextValue
=
"单选按钮1"
;
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
// ucDropDownBtn1
//
//
this
.
ucDropDownBtn1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucDropDownBtn1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
@@ -840,6 +973,7 @@
...
@@ -840,6 +973,7 @@
this
.
ucDropDownBtn1
.
Size
=
new
System
.
Drawing
.
Size
(
143
,
39
);
this
.
ucDropDownBtn1
.
Size
=
new
System
.
Drawing
.
Size
(
143
,
39
);
this
.
ucDropDownBtn1
.
TabIndex
=
14
;
this
.
ucDropDownBtn1
.
TabIndex
=
14
;
this
.
ucDropDownBtn1
.
TabStop
=
false
;
this
.
ucDropDownBtn1
.
TabStop
=
false
;
this
.
ucDropDownBtn1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
ucDropDownBtn1
.
TipsText
=
""
;
this
.
ucDropDownBtn1
.
TipsText
=
""
;
this
.
ucDropDownBtn1
.
BtnClick
+=
new
System
.
EventHandler
(
this
.
ucDropDownBtn1_BtnClick
);
this
.
ucDropDownBtn1
.
BtnClick
+=
new
System
.
EventHandler
(
this
.
ucDropDownBtn1_BtnClick
);
//
//
...
@@ -962,6 +1096,7 @@
...
@@ -962,6 +1096,7 @@
this
.
ucBtnImg1
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
60
);
this
.
ucBtnImg1
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
60
);
this
.
ucBtnImg1
.
TabIndex
=
3
;
this
.
ucBtnImg1
.
TabIndex
=
3
;
this
.
ucBtnImg1
.
TabStop
=
false
;
this
.
ucBtnImg1
.
TabStop
=
false
;
this
.
ucBtnImg1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
ucBtnImg1
.
TipsText
=
""
;
this
.
ucBtnImg1
.
TipsText
=
""
;
//
//
// ucBtnFillet1
// ucBtnFillet1
...
@@ -1033,139 +1168,6 @@
...
@@ -1033,139 +1168,6 @@
this
.
ucBtnExt1
.
TabStop
=
false
;
this
.
ucBtnExt1
.
TabStop
=
false
;
this
.
ucBtnExt1
.
TipsText
=
""
;
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
);
//
// 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
// Form1
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
...
@@ -1201,11 +1203,11 @@
...
@@ -1201,11 +1203,11 @@
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
ucControlBase1
.
ResumeLayout
(
false
);
this
.
groupBox10
.
ResumeLayout
(
false
);
this
.
groupBox10
.
ResumeLayout
(
false
);
this
.
groupBox11
.
ResumeLayout
(
false
);
this
.
groupBox11
.
ResumeLayout
(
false
);
this
.
groupBox12
.
ResumeLayout
(
false
);
this
.
groupBox12
.
ResumeLayout
(
false
);
this
.
groupBox13
.
ResumeLayout
(
false
);
this
.
groupBox13
.
ResumeLayout
(
false
);
this
.
ucControlBase1
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
}
...
...
HZH_Controls/Test/Form1.cs
查看文件 @
6210ddd
...
@@ -222,6 +222,6 @@ namespace Test
...
@@ -222,6 +222,6 @@ namespace Test
{
{
HZH_Controls
.
Forms
.
FrmTips
.
ShowTipsSuccess
(
this
,
sender
.
ToString
());
HZH_Controls
.
Forms
.
FrmTips
.
ShowTipsSuccess
(
this
,
sender
.
ToString
());
}
}
}
}
}
}
HZH_Controls/Test/Form1.resx
查看文件 @
6210ddd
...
@@ -120,6 +120,65 @@
...
@@ -120,6 +120,65 @@
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>17, 17</value>
</metadata>
</metadata>
<data name="ucBtnsGroup2.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAmgFtc2NvcmxpYiwgVmVyc2lvbj00LjAu
MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXSwgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5BQEAAAA2U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tT
eXN0ZW0uU3RyaW5nAwAAAAdWZXJzaW9uCENvbXBhcmVyCEhhc2hTaXplAAQACENTeXN0ZW0uQ29sbGVj
dGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nAwAAAAgC
AAAAAAAAAAkEAAAAAAAAAAUEAAAAQ1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVh
bGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcAAAAAAwAAAAs=
</value>
</data>
<data name="ucBtnsGroup2.SelectItem" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
</value>
</data>
<data name="ucBtnsGroup1.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAmgFtc2NvcmxpYiwgVmVyc2lvbj00LjAu
MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXSwgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5BQEAAAA2U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tT
eXN0ZW0uU3RyaW5nAwAAAAdWZXJzaW9uCENvbXBhcmVyCEhhc2hTaXplAAQACENTeXN0ZW0uQ29sbGVj
dGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nAwAAAAgC
AAAAAAAAAAkEAAAAAAAAAAUEAAAAQ1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVh
bGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcAAAAAAwAAAAs=
</value>
</data>
<data name="ucBtnsGroup1.SelectItem" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
</value>
</data>
<data name="ucPagerControl21.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLk9iamVjdAMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBQAACAgCAAAACQMAAAAAAAAAAAAAABADAAAAAAAAAAs=
</value>
</data>
<data name="treeViewEx1.LstTips" mimetype="application/x-microsoft.net.object.binary.base64">
<data name="treeViewEx1.LstTips" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
...
@@ -173,7 +232,7 @@
...
@@ -173,7 +232,7 @@
<data name="ucBtnImg1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="ucBtnImg1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
<value>
iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAAD
sMAAA7DAcdvqGQ
AAABnSURBVDhPYyAV/IcCKJc48Pz5tf//AwLAGCpEGPw/cwau
YQUAAAAJcEhZcwAAD
rwAAA68AZW8ckk
AAABnSURBVDhPYyAV/IcCKJc48Pz5tf//AwLAGCpEGPw/cwau
iWiN6Jr+p6UR1jjYNc2cSQVNQD5UCjcY5JpAgCxNIICiEYRJScSDRzMoK0GlCINRzUAMzHJQKcIAlLWQ
iWiN6Jr+p6UR1jjYNc2cSQVNQD5UCjcY5JpAgCxNIICiEYRJScSDRzMoK0GlCINRzUAMzHJQKcIAlLWQ
NUOFiQMIzQH/AUt/OaDjNm1jAAAAAElFTkSuQmCC
NUOFiQMIzQH/AUt/OaDjNm1jAAAAAElFTkSuQmCC
</value>
</value>
...
@@ -207,63 +266,4 @@
...
@@ -207,63 +266,4 @@
QmCC
QmCC
</value>
</value>
</data>
</data>
<data name="ucPagerControl21.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLk9iamVjdAMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBQAACAgCAAAACQMAAAAAAAAAAAAAABADAAAAAAAAAAs=
</value>
</data>
<data name="ucBtnsGroup1.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAmgFtc2NvcmxpYiwgVmVyc2lvbj00LjAu
MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXSwgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5BQEAAAA2U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tT
eXN0ZW0uU3RyaW5nAwAAAAdWZXJzaW9uCENvbXBhcmVyCEhhc2hTaXplAAQACENTeXN0ZW0uQ29sbGVj
dGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nAwAAAAgC
AAAAAAAAAAkEAAAAAAAAAAUEAAAAQ1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVh
bGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcAAAAAAwAAAAs=
</value>
</data>
<data name="ucBtnsGroup1.SelectItem" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
</value>
</data>
<data name="ucBtnsGroup2.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAmgFtc2NvcmxpYiwgVmVyc2lvbj00LjAu
MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXSwgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5BQEAAAA2U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tT
eXN0ZW0uU3RyaW5nAwAAAAdWZXJzaW9uCENvbXBhcmVyCEhhc2hTaXplAAQACENTeXN0ZW0uQ29sbGVj
dGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nAwAAAAgC
AAAAAAAAAAkEAAAAAAAAAAUEAAAAQ1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVh
bGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcAAAAAAwAAAAs=
</value>
</data>
<data name="ucBtnsGroup2.SelectItem" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
</value>
</data>
</root>
</root>
\ No newline at end of file
\ No newline at end of file
HZH_Controls/Test/Form2.Designer.cs
查看文件 @
6210ddd
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
this
.
ucPanelTitle1
=
new
HZH_Controls
.
Controls
.
UCPanelTitle
();
this
.
ucPanelTitle1
=
new
HZH_Controls
.
Controls
.
UCPanelTitle
();
this
.
ucStep2
=
new
HZH_Controls
.
Controls
.
UCStep
();
this
.
ucStep2
=
new
HZH_Controls
.
Controls
.
UCStep
();
this
.
ucStep1
=
new
HZH_Controls
.
Controls
.
UCStep
();
this
.
ucStep1
=
new
HZH_Controls
.
Controls
.
UCStep
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar1
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar1
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar2
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar2
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar3
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
trackBar3
)).
BeginInit
();
...
@@ -141,7 +142,7 @@
...
@@ -141,7 +142,7 @@
this
.
ucTrackBar1
.
DcimalDigits
=
0
;
this
.
ucTrackBar1
.
DcimalDigits
=
0
;
this
.
ucTrackBar1
.
LineColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucTrackBar1
.
LineColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
228
)))),
((
int
)(((
byte
)(
231
)))),
((
int
)(((
byte
)(
237
)))));
this
.
ucTrackBar1
.
LineWidth
=
10F
;
this
.
ucTrackBar1
.
LineWidth
=
10F
;
this
.
ucTrackBar1
.
Location
=
new
System
.
Drawing
.
Point
(
999
,
367
);
this
.
ucTrackBar1
.
Location
=
new
System
.
Drawing
.
Point
(
881
,
206
);
this
.
ucTrackBar1
.
MaxValue
=
100F
;
this
.
ucTrackBar1
.
MaxValue
=
100F
;
this
.
ucTrackBar1
.
MinValue
=
0F
;
this
.
ucTrackBar1
.
MinValue
=
0F
;
this
.
ucTrackBar1
.
Name
=
"ucTrackBar1"
;
this
.
ucTrackBar1
.
Name
=
"ucTrackBar1"
;
...
@@ -508,11 +509,22 @@
...
@@ -508,11 +509,22 @@
this
.
ucStep1
.
StepWidth
=
35
;
this
.
ucStep1
.
StepWidth
=
35
;
this
.
ucStep1
.
TabIndex
=
0
;
this
.
ucStep1
.
TabIndex
=
0
;
//
//
// button1
//
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
1087
,
412
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
56
);
this
.
button1
.
TabIndex
=
13
;
this
.
button1
.
Text
=
"FrmAnchorTips"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click_1
);
//
// Form2
// Form2
//
//
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
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1438
,
594
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1438
,
594
);
this
.
Controls
.
Add
(
this
.
button1
);
this
.
Controls
.
Add
(
this
.
ucTrackBar1
);
this
.
Controls
.
Add
(
this
.
ucTrackBar1
);
this
.
Controls
.
Add
(
this
.
ucProcessWave2
);
this
.
Controls
.
Add
(
this
.
ucProcessWave2
);
this
.
Controls
.
Add
(
this
.
ucProcessWave1
);
this
.
Controls
.
Add
(
this
.
ucProcessWave1
);
...
@@ -585,6 +597,7 @@
...
@@ -585,6 +597,7 @@
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave1
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave1
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave2
;
private
HZH_Controls
.
Controls
.
UCProcessWave
ucProcessWave2
;
private
HZH_Controls
.
Controls
.
UCTrackBar
ucTrackBar1
;
private
HZH_Controls
.
Controls
.
UCTrackBar
ucTrackBar1
;
private
System
.
Windows
.
Forms
.
Button
button1
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
HZH_Controls/Test/Form2.cs
查看文件 @
6210ddd
...
@@ -6,6 +6,7 @@ using System.Drawing;
...
@@ -6,6 +6,7 @@ using System.Drawing;
using
System.Linq
;
using
System.Linq
;
using
System.Text
;
using
System.Text
;
using
System.Windows.Forms
;
using
System.Windows.Forms
;
using
HZH_Controls.Forms
;
namespace
Test
namespace
Test
{
{
...
@@ -69,5 +70,13 @@ namespace Test
...
@@ -69,5 +70,13 @@ namespace Test
{
{
HZH_Controls
.
Forms
.
FrmTips
.
ShowTipsSuccess
(
this
,
sender
.
ToString
());
HZH_Controls
.
Forms
.
FrmTips
.
ShowTipsSuccess
(
this
,
sender
.
ToString
());
}
}
private
void
button1_Click_1
(
object
sender
,
EventArgs
e
)
{
HZH_Controls
.
Forms
.
FrmAnchorTips
.
ShowTips
(
button1
,
"测试提示信息\nLEFT"
,
AnchorTipsLocation
.
LEFT
);
HZH_Controls
.
Forms
.
FrmAnchorTips
.
ShowTips
(
button1
,
"测试提示信息\nRIGHT"
,
AnchorTipsLocation
.
RIGHT
);
HZH_Controls
.
Forms
.
FrmAnchorTips
.
ShowTips
(
button1
,
"测试提示信息\nTOP"
,
AnchorTipsLocation
.
TOP
);
HZH_Controls
.
Forms
.
FrmAnchorTips
.
ShowTips
(
button1
,
"测试提示信息\nBOTTOM"
,
AnchorTipsLocation
.
BOTTOM
);
}
}
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论