Commit 87a8903e HZH

增加描述信息

1 个父辈 69bf112a
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -21,7 +29,7 @@ namespace HZH_Controls.Controls.Btn ...@@ -21,7 +29,7 @@ namespace HZH_Controls.Controls.Btn
get { return _dropPanelHeight; } get { return _dropPanelHeight; }
set { _dropPanelHeight = value; } set { _dropPanelHeight = value; }
} }
private string[] btns ; private string[] btns;
[Description("按钮"), Category("自定义")] [Description("按钮"), Category("自定义")]
public string[] Btns public string[] Btns
{ {
...@@ -47,7 +55,7 @@ namespace HZH_Controls.Controls.Btn ...@@ -47,7 +55,7 @@ namespace HZH_Controls.Controls.Btn
{ {
InitializeComponent(); InitializeComponent();
IsShowTips = false; IsShowTips = false;
this.lbl.Image=Properties.Resources.ComboBox; this.lbl.Image = Properties.Resources.ComboBox;
this.lbl.ImageAlign = ContentAlignment.MiddleRight; this.lbl.ImageAlign = ContentAlignment.MiddleRight;
base.BtnClick += UCDropDownBtn_BtnClick; base.BtnClick += UCDropDownBtn_BtnClick;
} }
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
namespace HZH_Controls.Controls namespace HZH_Controls.Controls
{ {
public class DataGridViewRowCustomEventArgs : EventArgs public class DataGridViewRowCustomEventArgs : EventArgs
{ {
public string EventName { get; set; } public string EventName { get; set; }
......
// 版权所有 黄正辉 交流群:568015492 QQ:623128629 // 版权所有 黄正辉 交流群:568015492 QQ:623128629
// 文件名称:UCDataGridView.cs // 文件名称:UCDataGridView.cs
// 创建日期:2019-08-15 15:59:25 // 作  者:HZH
// 功能描述:DataGridView // 创建日期:2019-08-31 16:00:49
// 功能描述:UCDataGridView English:UCDataGridView
// 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control // 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control
// 项目地址:https://github.com/kwwwvagaa/NetWinformControl
// 如果你使用了此类,请保留以上说明
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -305,7 +313,7 @@ namespace HZH_Controls.Controls ...@@ -305,7 +313,7 @@ namespace HZH_Controls.Controls
this.ucDGVChild.HeadPadingLeft = this.panLeft.Width; this.ucDGVChild.HeadPadingLeft = this.panLeft.Width;
this.ucDGVChild.IsShowCheckBox = IsShowCheckBox; this.ucDGVChild.IsShowCheckBox = IsShowCheckBox;
this.ucDGVChild.DataSource = value; this.ucDGVChild.DataSource = value;
this.ucDGVChild.Rows.ForEach(p => p.IsChecked =this.IsChecked); this.ucDGVChild.Rows.ForEach(p => p.IsChecked = this.IsChecked);
} }
} }
} }
......
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.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -153,7 +161,7 @@ namespace HZH_Controls.Controls ...@@ -153,7 +161,7 @@ namespace HZH_Controls.Controls
string strValue = ((float)Value / (float)MaxValue).ToString("0%"); string strValue = ((float)Value / (float)MaxValue).ToString("0%");
System.Drawing.SizeF sizeF = e.Graphics.MeasureString(strValue, Font); 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));
} }
} }
} }
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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()
{ }
}
}
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -149,7 +157,7 @@ namespace HZH_Controls.Controls ...@@ -149,7 +157,7 @@ namespace HZH_Controls.Controls
this.SetStyle(ControlStyles.Selectable, true); this.SetStyle(ControlStyles.Selectable, true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.UserPaint, true);
this.MouseDown += UCStep_MouseDown; this.MouseDown += UCStep_MouseDown;
} }
void UCStep_MouseDown(object sender, MouseEventArgs e) void UCStep_MouseDown(object sender, MouseEventArgs e)
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Diagnostics; using System.Diagnostics;
......
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.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
...@@ -137,10 +145,10 @@ namespace HZH_Controls.Controls ...@@ -137,10 +145,10 @@ namespace HZH_Controls.Controls
this.MouseDown += UCTrackBar_MouseDown; this.MouseDown += UCTrackBar_MouseDown;
this.MouseMove += UCTrackBar_MouseMove; this.MouseMove += UCTrackBar_MouseMove;
this.MouseUp += UCTrackBar_MouseUp; this.MouseUp += UCTrackBar_MouseUp;
} }
bool blnDown = false; bool blnDown = false;
void UCTrackBar_MouseDown(object sender, MouseEventArgs e) void UCTrackBar_MouseDown(object sender, MouseEventArgs e)
...@@ -164,7 +172,7 @@ namespace HZH_Controls.Controls ...@@ -164,7 +172,7 @@ namespace HZH_Controls.Controls
{ {
blnDown = false; blnDown = false;
if ( frmTips != null && !frmTips.IsDisposed) if (frmTips != null && !frmTips.IsDisposed)
{ {
frmTips.Close(); frmTips.Close();
frmTips = null; frmTips = null;
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -11,7 +19,7 @@ namespace HZH_Controls.Controls ...@@ -11,7 +19,7 @@ namespace HZH_Controls.Controls
{ {
public class UCWave : Control public class UCWave : Control
{ {
public event PaintEventHandler OnPainted; public event PaintEventHandler OnPainted;
private Color m_waveColor = Color.FromArgb(73, 119, 232); private Color m_waveColor = Color.FromArgb(73, 119, 232);
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
...@@ -159,7 +167,7 @@ namespace HZH_Controls.Controls ...@@ -159,7 +167,7 @@ namespace HZH_Controls.Controls
this.VisibleChanged += UCWave_VisibleChanged; this.VisibleChanged += UCWave_VisibleChanged;
} }
/// <summary> /// <summary>
/// 添加需要显示的数据 /// 添加需要显示的数据
/// </summary> /// </summary>
......
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.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
......
...@@ -170,6 +170,9 @@ ...@@ -170,6 +170,9 @@
<Compile Include="Controls\Process\UCProcessWave.Designer.cs"> <Compile Include="Controls\Process\UCProcessWave.Designer.cs">
<DependentUpon>UCProcessWave.cs</DependentUpon> <DependentUpon>UCProcessWave.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Controls\Roll\UCRollText.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Step\UCStep.cs"> <Compile Include="Controls\Step\UCStep.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!