Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 87a8903e
由
HZH
编写于
2019-08-31 16:06:55 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加描述信息
1 个父辈
69bf112a
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
221 行增加
和
34 行删除
HZH_Controls/HZH_Controls/Controls/Btn/UCDropDownBtn.cs
HZH_Controls/HZH_Controls/Controls/ComboBox/UCComboxGrid.cs
HZH_Controls/HZH_Controls/Controls/ComboBox/UCComboxGridPanel.cs
HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewRowCustomEventArgs.cs
HZH_Controls/HZH_Controls/Controls/DataGridView/UCDataGridView.cs
HZH_Controls/HZH_Controls/Controls/DataGridView/UCDataGridViewTreeRow.cs
HZH_Controls/HZH_Controls/Controls/List/IListViewItem.cs
HZH_Controls/HZH_Controls/Controls/List/UCListView.cs
HZH_Controls/HZH_Controls/Controls/List/UCListViewItem.cs
HZH_Controls/HZH_Controls/Controls/Navigation/UCCrumbNavigation.cs
HZH_Controls/HZH_Controls/Controls/Panel/UCPanelTitle.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessEllipse.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessLine.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessLineExt.cs
HZH_Controls/HZH_Controls/Controls/Process/UCProcessWave.cs
HZH_Controls/HZH_Controls/Controls/Roll/UCRollText.cs
HZH_Controls/HZH_Controls/Controls/Step/UCStep.cs
HZH_Controls/HZH_Controls/Controls/Switch/UCSwitch.cs
HZH_Controls/HZH_Controls/Controls/Tab/TabControlExt.cs
HZH_Controls/HZH_Controls/Controls/TrackBar/UCTrackBar.cs
HZH_Controls/HZH_Controls/Controls/Wave/UCWave.cs
HZH_Controls/HZH_Controls/Controls/Wave/UCWaveChart.cs
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.cs
HZH_Controls/HZH_Controls/HZH_Controls.csproj
HZH_Controls/HZH_Controls/Controls/Btn/UCDropDownBtn.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCDropDownBtn.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:01:36
// 功能描述:UCDropDownBtn English:UCDropDownBtn
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -21,7 +29,7 @@ namespace HZH_Controls.Controls.Btn
get
{
return
_dropPanelHeight
;
}
set
{
_dropPanelHeight
=
value
;
}
}
private
string
[]
btns
;
private
string
[]
btns
;
[
Description
(
"按钮"
),
Category
(
"自定义"
)]
public
string
[]
Btns
{
...
...
@@ -47,7 +55,7 @@ namespace HZH_Controls.Controls.Btn
{
InitializeComponent
();
IsShowTips
=
false
;
this
.
lbl
.
Image
=
Properties
.
Resources
.
ComboBox
;
this
.
lbl
.
Image
=
Properties
.
Resources
.
ComboBox
;
this
.
lbl
.
ImageAlign
=
ContentAlignment
.
MiddleRight
;
base
.
BtnClick
+=
UCDropDownBtn_BtnClick
;
}
...
...
HZH_Controls/HZH_Controls/Controls/ComboBox/UCComboxGrid.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:uccomboxgrid.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:01:55
// 功能描述:UCDropDownBtn English:UCDropDownBtn
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/ComboBox/UCComboxGridPanel.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCComboxGridPanel.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:02:08
// 功能描述:UCComboxGridPanel English:UCComboxGridPanel
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewRowCustomEventArgs.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:DataGridViewRowCustomEventArgs.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:02:31
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
HZH_Controls.Controls
{
{
public
class
DataGridViewRowCustomEventArgs
:
EventArgs
{
public
string
EventName
{
get
;
set
;
}
...
...
HZH_Controls/HZH_Controls/Controls/DataGridView/UCDataGridView.cs
查看文件 @
87a8903
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCDataGridView.cs
// 创建日期:2019-08-15 15:59:25
// 功能描述:DataGridView
// 作 者:HZH
// 创建日期:2019-08-31 16:00:49
// 功能描述:UCDataGridView English:UCDataGridView
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
...
...
HZH_Controls/HZH_Controls/Controls/DataGridView/UCDataGridViewTreeRow.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCDataGridViewTreeRow.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:02:55
// 功能描述:UCDataGridViewTreeRow English:UCDataGridViewTreeRow
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -305,7 +313,7 @@ namespace HZH_Controls.Controls
this
.
ucDGVChild
.
HeadPadingLeft
=
this
.
panLeft
.
Width
;
this
.
ucDGVChild
.
IsShowCheckBox
=
IsShowCheckBox
;
this
.
ucDGVChild
.
DataSource
=
value
;
this
.
ucDGVChild
.
Rows
.
ForEach
(
p
=>
p
.
IsChecked
=
this
.
IsChecked
);
this
.
ucDGVChild
.
Rows
.
ForEach
(
p
=>
p
.
IsChecked
=
this
.
IsChecked
);
}
}
}
...
...
HZH_Controls/HZH_Controls/Controls/List/IListViewItem.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:IListViewItem.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:03:22
// 功能描述:IListViewItem English:IListViewItem
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
...
...
HZH_Controls/HZH_Controls/Controls/List/UCListView.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCListView.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:03:44
// 功能描述:UCListView English:UCListView
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/List/UCListViewItem.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCListViewItem.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:03:51
// 功能描述:UCListViewItem English:UCListViewItem
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Navigation/UCCrumbNavigation.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCCrumbNavigation.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:18
// 功能描述:UCCrumbNavigation English:UCCrumbNavigation
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Panel/UCPanelTitle.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCPanelTitle.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:24
// 功能描述:UCPanelTitle English:UCPanelTitle
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Process/UCProcessEllipse.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCProcessEllipse.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:30
// 功能描述:UCProcessEllipse English:UCProcessEllipse
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Process/UCProcessLine.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCProcessLine.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:39
// 功能描述:UCProcessLine English:UCProcessLine
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Process/UCProcessLineExt.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCProcessLineExt.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:44
// 功能描述:UCProcessLineExt English:UCProcessLineExt
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -153,7 +161,7 @@ namespace HZH_Controls.Controls
string
strValue
=
((
float
)
Value
/
(
float
)
MaxValue
).
ToString
(
"0%"
);
System
.
Drawing
.
SizeF
sizeF
=
e
.
Graphics
.
MeasureString
(
strValue
,
Font
);
e
.
Graphics
.
DrawString
(
strValue
,
Font
,
new
SolidBrush
(
Color
.
White
),
new
PointF
(
x
+
(
30
-
sizeF
.
Width
)
/
2
+
1
,
(
20
-
sizeF
.
Height
)
/
2
+
1
));
e
.
Graphics
.
DrawString
(
strValue
,
Font
,
new
SolidBrush
(
Color
.
White
),
new
PointF
(
x
+
(
30
-
sizeF
.
Width
)
/
2
+
1
,
(
20
-
sizeF
.
Height
)
/
2
+
1
));
}
}
}
HZH_Controls/HZH_Controls/Controls/Process/UCProcessWave.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCProcessWave.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:04:50
// 功能描述:UCProcessWave English:UCProcessWave
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Roll/UCRollText.cs
0 → 100644
查看文件 @
87a8903
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Windows.Forms
;
namespace
HZH_Controls.Controls.Roll
{
public
class
UCRollText
:
UserControl
{
public
UCRollText
()
{
}
}
}
HZH_Controls/HZH_Controls/Controls/Step/UCStep.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCStep.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:12
// 功能描述:UCStep English:UCStep
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -149,7 +157,7 @@ namespace HZH_Controls.Controls
this
.
SetStyle
(
ControlStyles
.
Selectable
,
true
);
this
.
SetStyle
(
ControlStyles
.
SupportsTransparentBackColor
,
true
);
this
.
SetStyle
(
ControlStyles
.
UserPaint
,
true
);
this
.
MouseDown
+=
UCStep_MouseDown
;
this
.
MouseDown
+=
UCStep_MouseDown
;
}
void
UCStep_MouseDown
(
object
sender
,
MouseEventArgs
e
)
...
...
HZH_Controls/HZH_Controls/Controls/Switch/UCSwitch.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCSwitch.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:21
// 功能描述:UCSwitch English:UCSwitch
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
HZH_Controls/HZH_Controls/Controls/Tab/TabControlExt.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:TabControlExt.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:28
// 功能描述:TabControlExt English:TabControlExt
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Diagnostics
;
...
...
HZH_Controls/HZH_Controls/Controls/TrackBar/UCTrackBar.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCTrackBar.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:48
// 功能描述:UCTrackBar English:UCTrackBar
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
...
...
@@ -137,10 +145,10 @@ namespace HZH_Controls.Controls
this
.
MouseDown
+=
UCTrackBar_MouseDown
;
this
.
MouseMove
+=
UCTrackBar_MouseMove
;
this
.
MouseUp
+=
UCTrackBar_MouseUp
;
}
bool
blnDown
=
false
;
void
UCTrackBar_MouseDown
(
object
sender
,
MouseEventArgs
e
)
...
...
@@ -164,7 +172,7 @@ namespace HZH_Controls.Controls
{
blnDown
=
false
;
if
(
frmTips
!=
null
&&
!
frmTips
.
IsDisposed
)
if
(
frmTips
!=
null
&&
!
frmTips
.
IsDisposed
)
{
frmTips
.
Close
();
frmTips
=
null
;
...
...
HZH_Controls/HZH_Controls/Controls/Wave/UCWave.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCWave.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:54
// 功能描述:UCWave English:UCWave
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -11,7 +19,7 @@ namespace HZH_Controls.Controls
{
public
class
UCWave
:
Control
{
public
event
PaintEventHandler
OnPainted
;
public
event
PaintEventHandler
OnPainted
;
private
Color
m_waveColor
=
Color
.
FromArgb
(
73
,
119
,
232
);
...
...
HZH_Controls/HZH_Controls/Controls/Wave/UCWaveChart.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCWaveChart.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:05:59
// 功能描述:UCWaveWithSource English:UCWaveWithSource
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
...
...
@@ -159,7 +167,7 @@ namespace HZH_Controls.Controls
this
.
VisibleChanged
+=
UCWave_VisibleChanged
;
}
/// <summary>
/// 添加需要显示的数据
/// </summary>
...
...
HZH_Controls/HZH_Controls/Forms/FrmAnchorTips.cs
查看文件 @
87a8903
using
System
;
// 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:FrmAnchorTips.cs
// 作 者:HZH
// 创建日期:2019-08-31 16:06:09
// 功能描述:FrmAnchorTips English:FrmAnchorTips
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Data
;
...
...
HZH_Controls/HZH_Controls/HZH_Controls.csproj
查看文件 @
87a8903
...
...
@@ -170,6 +170,9 @@
<Compile Include="Controls\Process\UCProcessWave.Designer.cs">
<DependentUpon>UCProcessWave.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Roll\UCRollText.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Step\UCStep.cs">
<SubType>UserControl</SubType>
</Compile>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论