Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit c4c680ed
由
HZH
编写于
2019-08-21 17:20:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
改变按钮默认样式
1 个父辈
ef323ade
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
8 行增加
和
7 行删除
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.Designer.cs
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.cs
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.resx
HZH_Controls/Test/Form1.Designer.cs
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.Designer.cs
查看文件 @
c4c680e
...
@@ -28,11 +28,10 @@
...
@@ -28,11 +28,10 @@
/// </summary>
/// </summary>
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
UCBtnExt
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
UCBtnExt
));
this
.
lbl
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lbl
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTips
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTips
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
imageList1
=
new
System
.
Windows
.
Forms
.
ImageList
(
this
.
components
);
this
.
imageList1
=
new
System
.
Windows
.
Forms
.
ImageList
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// lbl
// lbl
...
@@ -40,6 +39,7 @@
...
@@ -40,6 +39,7 @@
this
.
lbl
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lbl
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lbl
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lbl
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lbl
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lbl
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lbl
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lbl
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lbl
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lbl
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
lbl
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
lbl
.
Name
=
"lbl"
;
this
.
lbl
.
Name
=
"lbl"
;
...
@@ -78,12 +78,12 @@
...
@@ -78,12 +78,12 @@
this
.
Controls
.
Add
(
this
.
lblTips
);
this
.
Controls
.
Add
(
this
.
lblTips
);
this
.
Controls
.
Add
(
this
.
lbl
);
this
.
Controls
.
Add
(
this
.
lbl
);
this
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Hand
;
this
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Hand
;
this
.
FillColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
247
)))),
((
int
)(((
byte
)(
247
)))),
((
int
)(((
byte
)(
247
)))));
this
.
FillColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
58
)))));
this
.
IsShowRect
=
true
;
this
.
IsRadius
=
true
;
this
.
IsRadius
=
true
;
this
.
IsShowRect
=
true
;
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
0
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
0
);
this
.
Name
=
"UCBtnExt"
;
this
.
Name
=
"UCBtnExt"
;
this
.
RectColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
2
47
)))),
((
int
)(((
byte
)(
247
)))),
((
int
)(((
byte
)(
247
)))));
this
.
RectColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
2
55
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
58
)))));
this
.
Size
=
new
System
.
Drawing
.
Size
(
184
,
60
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
184
,
60
);
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
...
...
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.cs
查看文件 @
c4c680e
...
@@ -16,6 +16,7 @@ using System.Windows.Forms;
...
@@ -16,6 +16,7 @@ using System.Windows.Forms;
namespace
HZH_Controls.Controls
namespace
HZH_Controls.Controls
{
{
[
DefaultEvent
(
"BtnClick"
)]
[
DefaultEvent
(
"BtnClick"
)]
public
partial
class
UCBtnExt
:
UCControlBase
public
partial
class
UCBtnExt
:
UCControlBase
{
{
#
region
字段属性
#
region
字段属性
...
@@ -57,7 +58,7 @@ namespace HZH_Controls.Controls
...
@@ -57,7 +58,7 @@ namespace HZH_Controls.Controls
}
}
}
}
private
Color
_btnForeColor
=
Color
.
Black
;
private
Color
_btnForeColor
=
Color
.
White
;
/// <summary>
/// <summary>
/// 按钮字体颜色
/// 按钮字体颜色
/// </summary>
/// </summary>
...
...
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.resx
查看文件 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/ATMDAAFm
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
...
...
HZH_Controls/Test/Form1.Designer.cs
查看文件 @
c4c680e
此文件的差异被折叠,
点击展开。
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论