Commit a261a12c HZH

add dropdownBtns

1 个父辈 5fded8fc
...@@ -16,7 +16,7 @@ using System.Windows.Forms; ...@@ -16,7 +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 字段属性
...@@ -99,7 +99,7 @@ namespace HZH_Controls.Controls ...@@ -99,7 +99,7 @@ namespace HZH_Controls.Controls
/// 按钮文字 /// 按钮文字
/// </summary> /// </summary>
[Description("按钮文字"), Category("自定义")] [Description("按钮文字"), Category("自定义")]
public string BtnText public virtual string BtnText
{ {
get { return _btnText; } get { return _btnText; }
set set
......
...@@ -28,15 +28,12 @@ ...@@ -28,15 +28,12 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCBtnImg)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCBtnImg));
this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList1 = new System.Windows.Forms.ImageList();
this.SuspendLayout(); this.SuspendLayout();
// //
// lbl // lbl
// //
//this.lbl.Font = new System.Drawing.Font("微软雅黑", 17F);
//this.lbl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.lbl.ImageIndex = 0; this.lbl.ImageIndex = 0;
this.lbl.ImageList = this.imageList1; this.lbl.ImageList = this.imageList1;
this.lbl.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.lbl.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
...@@ -49,11 +46,11 @@ ...@@ -49,11 +46,11 @@
this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "back.png"); this.imageList1.Images.SetKeyName(0, "back.png");
// //
// BtnBack // UCBtnImg
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Name = "BtnBack"; this.IsShowTips = true;
this.Name = "UCBtnImg";
this.ResumeLayout(false); this.ResumeLayout(false);
} }
......
...@@ -24,13 +24,13 @@ namespace HZH_Controls.Controls ...@@ -24,13 +24,13 @@ namespace HZH_Controls.Controls
/// 按钮文字 /// 按钮文字
/// </summary> /// </summary>
[Description("按钮文字"), Category("自定义")] [Description("按钮文字"), Category("自定义")]
public new string BtnText public override string BtnText
{ {
get { return _btnText; } get { return _btnText; }
set set
{ {
_btnText = value; _btnText = value;
lbl.Text = " " + value; lbl.Text = value;
lbl.Refresh(); lbl.Refresh();
} }
} }
...@@ -38,7 +38,7 @@ namespace HZH_Controls.Controls ...@@ -38,7 +38,7 @@ namespace HZH_Controls.Controls
/// 图片 /// 图片
/// </summary> /// </summary>
[Description("图片"), Category("自定义")] [Description("图片"), Category("自定义")]
public Image Image public virtual Image Image
{ {
get get
{ {
...@@ -52,6 +52,13 @@ namespace HZH_Controls.Controls ...@@ -52,6 +52,13 @@ namespace HZH_Controls.Controls
} }
} }
[Description("图片位置"), Category("自定义")]
public virtual ContentAlignment ImageAlign
{
get { return this.lbl.ImageAlign; }
set { lbl.ImageAlign = value; }
}
public UCBtnImg() public UCBtnImg()
{ {
InitializeComponent(); InitializeComponent();
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU
CAAAAk1TRnQBSQFMAwEBAAEIAQABCAEAAQ4BAAEYAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA CAAAAk1TRnQBSQFMAwEBAAEQAQABEAEAAQ4BAAEYAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
ATgDAAEYAwABAQEAAQgFAAFAAQUYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA ATgDAAEYAwABAQEAAQgFAAFAAQUYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm
AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw
AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wwAAeMCFzQAAeMDFzMA AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wwAAeMCFzQAAeMDFzMA
BBcBvTIABBcBGzIABBcBGzIABBcBGzIABBcBGzIABBcBGzIABBcB9TIABBcB9TIABBcB9TMAAxcBlDQA BBcBvTIABBcBGzIABBcBGzIABBcBGzIABBcBGzIABBcBGzIABBcB/zIABBcB/zIABBcB/zMAAxcBlDQA
AZQDFwGUNAABlAMXAZQ0AAGUAxcBlDQAAZQDFwGUNAABlAMXAeM0AAG9AxcB4zQAAb0DFwHjNAABvQMX AZQDFwGUNAABlAMXAZQ0AAGUAxcBlDQAAZQDFwGUNAABlAMXAeM0AAG9AxcB4zQAAb0DFwHjNAABvQMX
AeM0AAG9AxcB4zQAAb0DFzUAARsCFzYAAv8qAAFCAU0BPgcAAT4DAAEoAwABOAMAARgDAAEBAQABAQUA AeM0AAG9AxcB4zQAAb0DFzUAARsCFzYAAv8qAAFCAU0BPgcAAT4DAAEoAwABOAMAARgDAAEBAQABAQUA
AcAXAAP/AQAB/wHgBgAB/wHABgAB/wGABgAB/wEEBgAB/gEMBgAB/AEcBgAB+AE8BgAB8AF8BgAB4AH8 AcAXAAP/AQAB/wHgBgAB/wHABgAB/wGABgAB/wEEBgAB/gEMBgAB/AEcBgAB+AE8BgAB8AF8BgAB4AH8
......
namespace HZH_Controls.Controls.Btn
{
partial class UCDropDownBtn
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCDropDownBtn));
this.SuspendLayout();
//
// lbl
//
this.lbl.Font = new System.Drawing.Font("微软雅黑", 14F);
this.lbl.ForeColor = System.Drawing.Color.White;
this.lbl.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lbl.ImageList = null;
this.lbl.Text = "自定义按钮";
this.lbl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// UCDropDownBtn
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BtnFont = new System.Drawing.Font("微软雅黑", 14F);
this.BtnForeColor = System.Drawing.Color.White;
this.ForeColor = System.Drawing.Color.White;
this.Image = ((System.Drawing.Image)(resources.GetObject("$this.Image")));
this.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "UCDropDownBtn";
this.ResumeLayout(false);
}
#endregion
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HZH_Controls.Controls.Btn
{
[DefaultEvent("BtnClick")]
public partial class UCDropDownBtn : UCBtnImg
{
Forms.FrmAnchor _frmAnchor;
private int _dropPanelHeight = -1;
public new event EventHandler BtnClick;
[Description("下拉框高度"), Category("自定义")]
public int DropPanelHeight
{
get { return _dropPanelHeight; }
set { _dropPanelHeight = value; }
}
private string[] btns ;
[Description("按钮"), Category("自定义")]
public string[] Btns
{
get { return btns; }
set { btns = value; }
}
[Obsolete("不再可用的属性")]
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public override Image Image
{
get;
set;
}
[Obsolete("不再可用的属性")]
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public override ContentAlignment ImageAlign
{
get;
set;
}
public UCDropDownBtn()
{
InitializeComponent();
IsShowTips = false;
this.lbl.Image=Properties.Resources.ComboBox;
this.lbl.ImageAlign = ContentAlignment.MiddleRight;
base.BtnClick += UCDropDownBtn_BtnClick;
}
void UCDropDownBtn_BtnClick(object sender, EventArgs e)
{
if (_frmAnchor == null || _frmAnchor.IsDisposed || _frmAnchor.Visible == false)
{
if (Btns != null && Btns.Length > 0)
{
int intRow = 0;
int intCom = 1;
var p = this.PointToScreen(this.Location);
while (true)
{
int intScreenHeight = Screen.PrimaryScreen.Bounds.Height;
if ((p.Y + this.Height + Btns.Length / intCom * 50 < intScreenHeight || p.Y - Btns.Length / intCom * 50 > 0)
&& (_dropPanelHeight <= 0 ? true : (Btns.Length / intCom * 50 <= _dropPanelHeight)))
{
intRow = Btns.Length / intCom + (Btns.Length % intCom != 0 ? 1 : 0);
break;
}
intCom++;
}
UCTimePanel ucTime = new UCTimePanel();
ucTime.IsShowBorder = true;
int intWidth = this.Width / intCom;
Size size = new Size(intCom * intWidth, intRow * 50);
ucTime.Size = size;
ucTime.FirstEvent = true;
ucTime.SelectSourceEvent += ucTime_SelectSourceEvent;
ucTime.Row = intRow;
ucTime.Column = intCom;
List<KeyValuePair<string, string>> lst = new List<KeyValuePair<string, string>>();
foreach (var item in Btns)
{
lst.Add(new KeyValuePair<string, string>(item, item));
}
ucTime.Source = lst;
_frmAnchor = new Forms.FrmAnchor(this, ucTime);
_frmAnchor.Load += (a, b) => { (a as Form).Size = size; };
_frmAnchor.Show(this.FindForm());
}
}
else
{
_frmAnchor.Close();
}
}
void ucTime_SelectSourceEvent(object sender, EventArgs e)
{
if (_frmAnchor != null && !_frmAnchor.IsDisposed && _frmAnchor.Visible)
{
_frmAnchor.Close();
if (BtnClick != null)
{
BtnClick(sender.ToString(), e);
}
}
}
}
}
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD0SURBVDhPjZLtDcIwDES9Ezt1py7AMCgrdIGKH3SC0OfE
JZ/FJxmR+E55livP1ycua4iPJboKLxnZti0HPeFwemPc9z3KcRx68AbX04uEHw4eXB4A8wqmOcfmsvCE
oLkoCOb/uAlT5zMxp+IOA6noQYY3x6TAnb/YYSIOXN7NaZhdkEuaoxBlmFUQcaG4g5DN14UQlzNcne+t
uT6Ifmupq1tDK2YAqd5n+qirNbQCBdzyNea7xUQ0MZW4/O/W0Ipmu5bpGlrVc4b+a5kJk+G6ME2YbC2U
CxNhMlzKlNtzZZ/i2hpQbt8LI6+6MU3qLpSvC4l8ASkgxV0fp9H6AAAAAElFTkSuQmCC
</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -145,22 +145,25 @@ namespace HZH_Controls.Controls ...@@ -145,22 +145,25 @@ namespace HZH_Controls.Controls
{ {
this.SetWindowRegion(); this.SetWindowRegion();
} }
if (this._isShowRect) GraphicsPath graphicsPath = new GraphicsPath();
if (this._isShowRect || (_fillColor != Color.Empty && _fillColor != Color.Transparent && _fillColor != this.BackColor))
{ {
Color rectColor = this._rectColor;
Pen pen = new Pen(rectColor, (float)this._rectWidth);
Rectangle clientRectangle = base.ClientRectangle; Rectangle clientRectangle = base.ClientRectangle;
GraphicsPath graphicsPath = new GraphicsPath();
graphicsPath.AddArc(0, 0, _cornerRadius, _cornerRadius, 180f, 90f); graphicsPath.AddArc(0, 0, _cornerRadius, _cornerRadius, 180f, 90f);
graphicsPath.AddArc(clientRectangle.Width - _cornerRadius - 1, 0, _cornerRadius, _cornerRadius, 270f, 90f); graphicsPath.AddArc(clientRectangle.Width - _cornerRadius - 1, 0, _cornerRadius, _cornerRadius, 270f, 90f);
graphicsPath.AddArc(clientRectangle.Width - _cornerRadius - 1, clientRectangle.Height - _cornerRadius - 1, _cornerRadius, _cornerRadius, 0f, 90f); graphicsPath.AddArc(clientRectangle.Width - _cornerRadius - 1, clientRectangle.Height - _cornerRadius - 1, _cornerRadius, _cornerRadius, 0f, 90f);
graphicsPath.AddArc(0, clientRectangle.Height - _cornerRadius - 1, _cornerRadius, _cornerRadius, 90f, 90f); graphicsPath.AddArc(0, clientRectangle.Height - _cornerRadius - 1, _cornerRadius, _cornerRadius, 90f, 90f);
graphicsPath.CloseFigure(); graphicsPath.CloseFigure();
e.Graphics.SetGDIHigh(); }
if (_fillColor != Color.Empty && _fillColor != Color.Transparent && _fillColor != this.BackColor) e.Graphics.SetGDIHigh();
e.Graphics.FillPath(new SolidBrush(this._fillColor), graphicsPath); if (this._isShowRect)
{
Color rectColor = this._rectColor;
Pen pen = new Pen(rectColor, (float)this._rectWidth);
e.Graphics.DrawPath(pen, graphicsPath); e.Graphics.DrawPath(pen, graphicsPath);
} }
if (_fillColor != Color.Empty && _fillColor != Color.Transparent && _fillColor != this.BackColor)
e.Graphics.FillPath(new SolidBrush(this._fillColor), graphicsPath);
} }
base.OnPaint(e); base.OnPaint(e);
} }
...@@ -197,7 +200,7 @@ namespace HZH_Controls.Controls ...@@ -197,7 +200,7 @@ namespace HZH_Controls.Controls
base.WndProc(ref m); base.WndProc(ref m);
} }
} }
public virtual void ResetTheme(ThemeEntity theme) public virtual void ResetTheme(ThemeEntity theme)
{ {
} }
......
...@@ -48,6 +48,12 @@ ...@@ -48,6 +48,12 @@
<Compile Include="Controls\BtnsGroup\UCBtnsGroup.Designer.cs"> <Compile Include="Controls\BtnsGroup\UCBtnsGroup.Designer.cs">
<DependentUpon>UCBtnsGroup.cs</DependentUpon> <DependentUpon>UCBtnsGroup.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Controls\Btn\UCDropDownBtn.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Btn\UCDropDownBtn.Designer.cs">
<DependentUpon>UCDropDownBtn.cs</DependentUpon>
</Compile>
<Compile Include="Controls\DataGridView\DataGridViewCellEntity.cs" /> <Compile Include="Controls\DataGridView\DataGridViewCellEntity.cs" />
<Compile Include="Controls\DataGridView\DataGridViewCellEventArgs.cs" /> <Compile Include="Controls\DataGridView\DataGridViewCellEventArgs.cs" />
<Compile Include="Controls\DataGridView\DataGridViewCellEventHandler.cs" /> <Compile Include="Controls\DataGridView\DataGridViewCellEventHandler.cs" />
...@@ -414,6 +420,9 @@ ...@@ -414,6 +420,9 @@
<EmbeddedResource Include="Controls\Btn\UCBtnImg.resx"> <EmbeddedResource Include="Controls\Btn\UCBtnImg.resx">
<DependentUpon>UCBtnImg.cs</DependentUpon> <DependentUpon>UCBtnImg.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Controls\Btn\UCDropDownBtn.resx">
<DependentUpon>UCDropDownBtn.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Checkbox\UCCheckBox.resx"> <EmbeddedResource Include="Controls\Checkbox\UCCheckBox.resx">
<DependentUpon>UCCheckBox.cs</DependentUpon> <DependentUpon>UCCheckBox.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
......
...@@ -70,6 +70,10 @@ ...@@ -70,6 +70,10 @@
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.groupBox2 = new System.Windows.Forms.GroupBox();
this.ucControlBase1 = new HZH_Controls.Controls.UCControlBase();
this.ucBtnExt3 = new HZH_Controls.Controls.UCBtnExt();
this.ucBtnExt4 = new HZH_Controls.Controls.UCBtnExt();
this.ucBtnExt5 = new HZH_Controls.Controls.UCBtnExt();
this.ucBtnImg1 = new HZH_Controls.Controls.UCBtnImg(); this.ucBtnImg1 = new HZH_Controls.Controls.UCBtnImg();
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();
...@@ -83,10 +87,10 @@ ...@@ -83,10 +87,10 @@
this.ucBtnsGroup1 = new HZH_Controls.Controls.UCBtnsGroup(); this.ucBtnsGroup1 = new HZH_Controls.Controls.UCBtnsGroup();
this.groupBox13 = new System.Windows.Forms.GroupBox(); this.groupBox13 = new System.Windows.Forms.GroupBox();
this.ucBtnsGroup2 = new HZH_Controls.Controls.UCBtnsGroup(); 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_V1 = new HZH_Controls.Controls.UCSplitLine_V();
this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H(); this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H();
this.processExt1 = new HZH_Controls.Controls.UCProcessExt(); this.ucDropDownBtn1 = new HZH_Controls.Controls.Btn.UCDropDownBtn();
this.button10 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.groupBox9.SuspendLayout(); this.groupBox9.SuspendLayout();
this.groupBox7.SuspendLayout(); this.groupBox7.SuspendLayout();
...@@ -96,6 +100,7 @@ ...@@ -96,6 +100,7 @@
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();
...@@ -199,7 +204,7 @@ ...@@ -199,7 +204,7 @@
this.groupBox1.Controls.Add(this.groupBox2); this.groupBox1.Controls.Add(this.groupBox2);
this.groupBox1.Location = new System.Drawing.Point(19, 79); this.groupBox1.Location = new System.Drawing.Point(19, 79);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(1124, 499); this.groupBox1.Size = new System.Drawing.Size(1124, 544);
this.groupBox1.TabIndex = 1; this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "控件"; this.groupBox1.Text = "控件";
...@@ -303,7 +308,7 @@ ...@@ -303,7 +308,7 @@
// //
this.groupBox6.Controls.Add(this.ucComboBox2); this.groupBox6.Controls.Add(this.ucComboBox2);
this.groupBox6.Controls.Add(this.ucComboBox1); this.groupBox6.Controls.Add(this.ucComboBox1);
this.groupBox6.Location = new System.Drawing.Point(25, 363); this.groupBox6.Location = new System.Drawing.Point(24, 419);
this.groupBox6.Name = "groupBox6"; this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(187, 119); this.groupBox6.Size = new System.Drawing.Size(187, 119);
this.groupBox6.TabIndex = 6; this.groupBox6.TabIndex = 6;
...@@ -770,24 +775,124 @@ ...@@ -770,24 +775,124 @@
// //
// groupBox2 // groupBox2
// //
this.groupBox2.Controls.Add(this.ucDropDownBtn1);
this.groupBox2.Controls.Add(this.ucControlBase1);
this.groupBox2.Controls.Add(this.ucBtnImg1); this.groupBox2.Controls.Add(this.ucBtnImg1);
this.groupBox2.Controls.Add(this.ucBtnFillet1); this.groupBox2.Controls.Add(this.ucBtnFillet1);
this.groupBox2.Controls.Add(this.ucBtnExt2); this.groupBox2.Controls.Add(this.ucBtnExt2);
this.groupBox2.Controls.Add(this.ucBtnExt1); this.groupBox2.Controls.Add(this.ucBtnExt1);
this.groupBox2.Location = new System.Drawing.Point(25, 30); this.groupBox2.Location = new System.Drawing.Point(25, 30);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(187, 327); this.groupBox2.Size = new System.Drawing.Size(187, 383);
this.groupBox2.TabIndex = 0; this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "按钮"; this.groupBox2.Text = "按钮";
// //
// ucControlBase1
//
this.ucControlBase1.BackColor = System.Drawing.Color.Transparent;
this.ucControlBase1.ConerRadius = 10;
this.ucControlBase1.Controls.Add(this.ucBtnExt3);
this.ucControlBase1.Controls.Add(this.ucBtnExt4);
this.ucControlBase1.Controls.Add(this.ucBtnExt5);
this.ucControlBase1.EnabledTheme = false;
this.ucControlBase1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucControlBase1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucControlBase1.IsRadius = true;
this.ucControlBase1.IsShowRect = true;
this.ucControlBase1.Location = new System.Drawing.Point(7, 271);
this.ucControlBase1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucControlBase1.Name = "ucControlBase1";
this.ucControlBase1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.ucControlBase1.RectWidth = 1;
this.ucControlBase1.Size = new System.Drawing.Size(167, 44);
this.ucControlBase1.TabIndex = 13;
//
// ucBtnExt3
//
this.ucBtnExt3.BackColor = System.Drawing.Color.Transparent;
this.ucBtnExt3.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnExt3.BtnFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucBtnExt3.BtnForeColor = System.Drawing.Color.White;
this.ucBtnExt3.BtnText = "按钮3";
this.ucBtnExt3.ConerRadius = 5;
this.ucBtnExt3.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnExt3.Dock = System.Windows.Forms.DockStyle.Left;
this.ucBtnExt3.EnabledTheme = false;
this.ucBtnExt3.FillColor = System.Drawing.Color.Transparent;
this.ucBtnExt3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnExt3.IsRadius = false;
this.ucBtnExt3.IsShowRect = false;
this.ucBtnExt3.IsShowTips = false;
this.ucBtnExt3.Location = new System.Drawing.Point(110, 0);
this.ucBtnExt3.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnExt3.Name = "ucBtnExt3";
this.ucBtnExt3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnExt3.RectWidth = 0;
this.ucBtnExt3.Size = new System.Drawing.Size(57, 44);
this.ucBtnExt3.TabIndex = 2;
this.ucBtnExt3.TabStop = false;
this.ucBtnExt3.TipsText = "";
//
// ucBtnExt4
//
this.ucBtnExt4.BackColor = System.Drawing.Color.Transparent;
this.ucBtnExt4.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnExt4.BtnFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucBtnExt4.BtnForeColor = System.Drawing.Color.White;
this.ucBtnExt4.BtnText = "按钮2";
this.ucBtnExt4.ConerRadius = 5;
this.ucBtnExt4.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnExt4.Dock = System.Windows.Forms.DockStyle.Left;
this.ucBtnExt4.EnabledTheme = false;
this.ucBtnExt4.FillColor = System.Drawing.Color.Transparent;
this.ucBtnExt4.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnExt4.IsRadius = false;
this.ucBtnExt4.IsShowRect = false;
this.ucBtnExt4.IsShowTips = false;
this.ucBtnExt4.Location = new System.Drawing.Point(57, 0);
this.ucBtnExt4.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnExt4.Name = "ucBtnExt4";
this.ucBtnExt4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnExt4.RectWidth = 0;
this.ucBtnExt4.Size = new System.Drawing.Size(53, 44);
this.ucBtnExt4.TabIndex = 1;
this.ucBtnExt4.TabStop = false;
this.ucBtnExt4.TipsText = "";
//
// ucBtnExt5
//
this.ucBtnExt5.BackColor = System.Drawing.Color.Transparent;
this.ucBtnExt5.BtnBackColor = System.Drawing.Color.Transparent;
this.ucBtnExt5.BtnFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucBtnExt5.BtnForeColor = System.Drawing.Color.White;
this.ucBtnExt5.BtnText = "按钮1";
this.ucBtnExt5.ConerRadius = 5;
this.ucBtnExt5.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnExt5.Dock = System.Windows.Forms.DockStyle.Left;
this.ucBtnExt5.EnabledTheme = false;
this.ucBtnExt5.FillColor = System.Drawing.Color.Transparent;
this.ucBtnExt5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnExt5.IsRadius = false;
this.ucBtnExt5.IsShowRect = false;
this.ucBtnExt5.IsShowTips = false;
this.ucBtnExt5.Location = new System.Drawing.Point(0, 0);
this.ucBtnExt5.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnExt5.Name = "ucBtnExt5";
this.ucBtnExt5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucBtnExt5.RectWidth = 0;
this.ucBtnExt5.Size = new System.Drawing.Size(57, 44);
this.ucBtnExt5.TabIndex = 0;
this.ucBtnExt5.TabStop = false;
this.ucBtnExt5.TipsText = "";
//
// ucBtnImg1 // ucBtnImg1
// //
this.ucBtnImg1.BackColor = System.Drawing.Color.White; this.ucBtnImg1.BackColor = System.Drawing.Color.White;
this.ucBtnImg1.BtnBackColor = System.Drawing.Color.White; this.ucBtnImg1.BtnBackColor = System.Drawing.Color.White;
this.ucBtnImg1.BtnFont = new System.Drawing.Font("微软雅黑", 17F); this.ucBtnImg1.BtnFont = new System.Drawing.Font("微软雅黑", 15F);
this.ucBtnImg1.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); this.ucBtnImg1.BtnForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg1.BtnText = "按钮4"; this.ucBtnImg1.BtnText = " 按钮4";
this.ucBtnImg1.ConerRadius = 10; this.ucBtnImg1.ConerRadius = 10;
this.ucBtnImg1.Cursor = System.Windows.Forms.Cursors.Hand; this.ucBtnImg1.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucBtnImg1.EnabledTheme = false; this.ucBtnImg1.EnabledTheme = false;
...@@ -795,10 +900,11 @@ ...@@ -795,10 +900,11 @@
this.ucBtnImg1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.ucBtnImg1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnImg1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); this.ucBtnImg1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
this.ucBtnImg1.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg1.Image"))); this.ucBtnImg1.Image = ((System.Drawing.Image)(resources.GetObject("ucBtnImg1.Image")));
this.ucBtnImg1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ucBtnImg1.IsRadius = true; this.ucBtnImg1.IsRadius = true;
this.ucBtnImg1.IsShowRect = true; this.ucBtnImg1.IsShowRect = true;
this.ucBtnImg1.IsShowTips = false; this.ucBtnImg1.IsShowTips = false;
this.ucBtnImg1.Location = new System.Drawing.Point(23, 251); this.ucBtnImg1.Location = new System.Drawing.Point(20, 207);
this.ucBtnImg1.Margin = new System.Windows.Forms.Padding(0); this.ucBtnImg1.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnImg1.Name = "ucBtnImg1"; this.ucBtnImg1.Name = "ucBtnImg1";
this.ucBtnImg1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); this.ucBtnImg1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
...@@ -819,7 +925,7 @@ ...@@ -819,7 +925,7 @@
this.ucBtnFillet1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.ucBtnFillet1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucBtnFillet1.IsRadius = true; this.ucBtnFillet1.IsRadius = true;
this.ucBtnFillet1.IsShowRect = true; this.ucBtnFillet1.IsShowRect = true;
this.ucBtnFillet1.Location = new System.Drawing.Point(23, 174); this.ucBtnFillet1.Location = new System.Drawing.Point(20, 145);
this.ucBtnFillet1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.ucBtnFillet1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ucBtnFillet1.Name = "ucBtnFillet1"; this.ucBtnFillet1.Name = "ucBtnFillet1";
this.ucBtnFillet1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this.ucBtnFillet1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
...@@ -843,7 +949,7 @@ ...@@ -843,7 +949,7 @@
this.ucBtnExt2.IsRadius = true; this.ucBtnExt2.IsRadius = true;
this.ucBtnExt2.IsShowRect = true; this.ucBtnExt2.IsShowRect = true;
this.ucBtnExt2.IsShowTips = false; this.ucBtnExt2.IsShowTips = false;
this.ucBtnExt2.Location = new System.Drawing.Point(23, 94); this.ucBtnExt2.Location = new System.Drawing.Point(20, 83);
this.ucBtnExt2.Margin = new System.Windows.Forms.Padding(0); this.ucBtnExt2.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnExt2.Name = "ucBtnExt2"; this.ucBtnExt2.Name = "ucBtnExt2";
this.ucBtnExt2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59))))); this.ucBtnExt2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
...@@ -869,7 +975,7 @@ ...@@ -869,7 +975,7 @@
this.ucBtnExt1.IsRadius = true; this.ucBtnExt1.IsRadius = true;
this.ucBtnExt1.IsShowRect = true; this.ucBtnExt1.IsShowRect = true;
this.ucBtnExt1.IsShowTips = false; this.ucBtnExt1.IsShowTips = false;
this.ucBtnExt1.Location = new System.Drawing.Point(23, 21); this.ucBtnExt1.Location = new System.Drawing.Point(20, 21);
this.ucBtnExt1.Margin = new System.Windows.Forms.Padding(0); this.ucBtnExt1.Margin = new System.Windows.Forms.Padding(0);
this.ucBtnExt1.Name = "ucBtnExt1"; this.ucBtnExt1.Name = "ucBtnExt1";
this.ucBtnExt1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); this.ucBtnExt1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
...@@ -919,7 +1025,7 @@ ...@@ -919,7 +1025,7 @@
// groupBox11 // groupBox11
// //
this.groupBox11.Controls.Add(this.ucPagerControl21); this.groupBox11.Controls.Add(this.ucPagerControl21);
this.groupBox11.Location = new System.Drawing.Point(19, 584); this.groupBox11.Location = new System.Drawing.Point(21, 629);
this.groupBox11.Name = "groupBox11"; this.groupBox11.Name = "groupBox11";
this.groupBox11.Size = new System.Drawing.Size(715, 61); this.groupBox11.Size = new System.Drawing.Size(715, 61);
this.groupBox11.TabIndex = 5; this.groupBox11.TabIndex = 5;
...@@ -943,7 +1049,7 @@ ...@@ -943,7 +1049,7 @@
// groupBox12 // groupBox12
// //
this.groupBox12.Controls.Add(this.ucBtnsGroup1); this.groupBox12.Controls.Add(this.ucBtnsGroup1);
this.groupBox12.Location = new System.Drawing.Point(749, 584); this.groupBox12.Location = new System.Drawing.Point(751, 629);
this.groupBox12.Name = "groupBox12"; this.groupBox12.Name = "groupBox12";
this.groupBox12.Size = new System.Drawing.Size(221, 68); this.groupBox12.Size = new System.Drawing.Size(221, 68);
this.groupBox12.TabIndex = 6; this.groupBox12.TabIndex = 6;
...@@ -965,7 +1071,7 @@ ...@@ -965,7 +1071,7 @@
// groupBox13 // groupBox13
// //
this.groupBox13.Controls.Add(this.ucBtnsGroup2); this.groupBox13.Controls.Add(this.ucBtnsGroup2);
this.groupBox13.Location = new System.Drawing.Point(992, 584); this.groupBox13.Location = new System.Drawing.Point(994, 629);
this.groupBox13.Name = "groupBox13"; this.groupBox13.Name = "groupBox13";
this.groupBox13.Size = new System.Drawing.Size(367, 68); this.groupBox13.Size = new System.Drawing.Size(367, 68);
this.groupBox13.TabIndex = 6; this.groupBox13.TabIndex = 6;
...@@ -984,6 +1090,16 @@ ...@@ -984,6 +1090,16 @@
this.ucBtnsGroup2.Size = new System.Drawing.Size(355, 50); this.ucBtnsGroup2.Size = new System.Drawing.Size(355, 50);
this.ucBtnsGroup2.TabIndex = 0; 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 // ucSplitLine_V1
// //
this.ucSplitLine_V1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232))))); this.ucSplitLine_V1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(232)))));
...@@ -1002,34 +1118,39 @@ ...@@ -1002,34 +1118,39 @@
this.ucSplitLine_H1.TabIndex = 8; this.ucSplitLine_H1.TabIndex = 8;
this.ucSplitLine_H1.TabStop = false; this.ucSplitLine_H1.TabStop = false;
// //
// processExt1 // ucDropDownBtn1
// //
this.processExt1.BackColor = System.Drawing.Color.White; this.ucDropDownBtn1.BackColor = System.Drawing.Color.White;
this.processExt1.ConerRadius = 5; this.ucDropDownBtn1.BtnBackColor = System.Drawing.Color.White;
this.processExt1.EnabledTheme = false; this.ucDropDownBtn1.BtnFont = new System.Drawing.Font("微软雅黑", 12F);
this.processExt1.FillColor = System.Drawing.Color.Transparent; this.ucDropDownBtn1.BtnForeColor = System.Drawing.Color.White;
this.processExt1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.ucDropDownBtn1.Btns = new string[] {
this.processExt1.IsRadius = true; "按钮1",
this.processExt1.IsShowRect = false; "按钮2",
this.processExt1.Location = new System.Drawing.Point(22, 657); "按钮3"};
this.processExt1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.ucDropDownBtn1.BtnText = "测试下拉按钮";
this.processExt1.MaxValue = 100; this.ucDropDownBtn1.ConerRadius = 5;
this.processExt1.Name = "processExt1"; this.ucDropDownBtn1.Cursor = System.Windows.Forms.Cursors.Hand;
this.processExt1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this.ucDropDownBtn1.DropPanelHeight = -1;
this.processExt1.RectWidth = 1; this.ucDropDownBtn1.EnabledTheme = false;
this.processExt1.Size = new System.Drawing.Size(291, 22); this.ucDropDownBtn1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.processExt1.TabIndex = 7; this.ucDropDownBtn1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.processExt1.Value = 0; this.ucDropDownBtn1.ForeColor = System.Drawing.Color.White;
// this.ucDropDownBtn1.Image = ((System.Drawing.Image)(resources.GetObject("ucDropDownBtn1.Image")));
// button10 this.ucDropDownBtn1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
// this.ucDropDownBtn1.IsRadius = true;
this.button10.Location = new System.Drawing.Point(43, 49); this.ucDropDownBtn1.IsShowRect = true;
this.button10.Name = "button10"; this.ucDropDownBtn1.IsShowTips = false;
this.button10.Size = new System.Drawing.Size(89, 23); this.ucDropDownBtn1.Location = new System.Drawing.Point(18, 329);
this.button10.TabIndex = 0; this.ucDropDownBtn1.Margin = new System.Windows.Forms.Padding(2);
this.button10.Text = "TestListView"; this.ucDropDownBtn1.Name = "ucDropDownBtn1";
this.button10.UseVisualStyleBackColor = true; this.ucDropDownBtn1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.button10.Click += new System.EventHandler(this.button10_Click); this.ucDropDownBtn1.RectWidth = 1;
this.ucDropDownBtn1.Size = new System.Drawing.Size(143, 39);
this.ucDropDownBtn1.TabIndex = 14;
this.ucDropDownBtn1.TabStop = false;
this.ucDropDownBtn1.TipsText = "";
this.ucDropDownBtn1.BtnClick += new System.EventHandler(this.ucDropDownBtn1_BtnClick);
// //
// Form1 // Form1
// //
...@@ -1038,7 +1159,6 @@ ...@@ -1038,7 +1159,6 @@
this.ClientSize = new System.Drawing.Size(1374, 709); this.ClientSize = new System.Drawing.Size(1374, 709);
this.Controls.Add(this.ucSplitLine_V1); this.Controls.Add(this.ucSplitLine_V1);
this.Controls.Add(this.ucSplitLine_H1); this.Controls.Add(this.ucSplitLine_H1);
this.Controls.Add(this.processExt1);
this.Controls.Add(this.groupBox13); this.Controls.Add(this.groupBox13);
this.Controls.Add(this.groupBox12); this.Controls.Add(this.groupBox12);
this.Controls.Add(this.groupBox11); this.Controls.Add(this.groupBox11);
...@@ -1067,6 +1187,7 @@ ...@@ -1067,6 +1187,7 @@
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);
...@@ -1130,10 +1251,14 @@ ...@@ -1130,10 +1251,14 @@
private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup1; private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup1;
private System.Windows.Forms.GroupBox groupBox13; private System.Windows.Forms.GroupBox groupBox13;
private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup2; private HZH_Controls.Controls.UCBtnsGroup ucBtnsGroup2;
private HZH_Controls.Controls.UCProcessExt processExt1;
private HZH_Controls.Controls.UCSplitLine_H ucSplitLine_H1; private HZH_Controls.Controls.UCSplitLine_H ucSplitLine_H1;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1; private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1;
private System.Windows.Forms.Button button10; private System.Windows.Forms.Button button10;
private HZH_Controls.Controls.UCControlBase ucControlBase1;
private HZH_Controls.Controls.UCBtnExt ucBtnExt3;
private HZH_Controls.Controls.UCBtnExt ucBtnExt4;
private HZH_Controls.Controls.UCBtnExt ucBtnExt5;
private HZH_Controls.Controls.Btn.UCDropDownBtn ucDropDownBtn1;
} }
} }
...@@ -114,7 +114,7 @@ namespace Test ...@@ -114,7 +114,7 @@ namespace Test
ucBtnsGroup2.DataSource = new Dictionary<string, string>() { { "1", "河南" }, { "2", "北京" }, { "3", "湖南" }, { "4", "上海" } }; ucBtnsGroup2.DataSource = new Dictionary<string, string>() { { "1", "河南" }, { "2", "北京" }, { "3", "湖南" }, { "4", "上海" } };
ucBtnsGroup2.SelectItem = new List<string>() { "2", "3" }; ucBtnsGroup2.SelectItem = new List<string>() { "2", "3" };
this.processExt1.Value = 50;
} }
private void timer1_Tick(object sender, EventArgs e) private void timer1_Tick(object sender, EventArgs e)
...@@ -196,5 +196,10 @@ namespace Test ...@@ -196,5 +196,10 @@ namespace Test
new FrmTestListView().Show(); new FrmTestListView().Show();
} }
private void ucDropDownBtn1_BtnClick(object sender, EventArgs e)
{
HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this, sender.ToString());
}
} }
} }
...@@ -120,44 +120,15 @@ ...@@ -120,44 +120,15 @@
<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="treeViewEx1.LstTips" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAPcBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAmgFtc2NvcmxpYiwgVmVyc2lvbj00LjAu
MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXSwgbXNj
b3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdh
NWM1NjE5MzRlMDg5BQEAAAA2U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tT
eXN0ZW0uU3RyaW5nAwAAAAdWZXJzaW9uCENvbXBhcmVyCEhhc2hTaXplAAQACENTeXN0ZW0uQ29sbGVj
dGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nAwAAAAgC
AAAAAAAAAAkEAAAAAAAAAAUEAAAAQ1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVh
bGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcAAAAAAwAAAAs=
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="treeViewEx1.NodeDownPic" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="ucDropDownBtn1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAzSURBVDhPYxg+YObMmf9BGMqlHIwaSDkYhgbCNFCKocbRwEBCgGQNhMCogZSD4WIgAwMAGe+9
qQatewQAAAAASUVORK5CYII=
</value>
</data>
<data name="treeViewEx1.NodeUpPic" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAiSURBVDhPYxgFo2AUkAJmzpz5nxoYahwNDBwFo2DAAAMDAFv8ZGmGIVPvAAAAAElFTkSuQmCC YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAD0SURBVDhPjZLtDcIwDES9Ezt1py7AMCgrdIGKH3SC0OfE
</value> JZ/FJxmR+E55livP1ycua4iPJboKLxnZti0HPeFwemPc9z3KcRx68AbX04uEHw4eXB4A8wqmOcfmsvCE
</data> oLkoCOb/uAlT5zMxp+IOA6noQYY3x6TAnb/YYSIOXN7NaZhdkEuaoxBlmFUQcaG4g5DN14UQlzNcne+t
<data name="treeViewEx1.TipImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> uT6Ifmupq1tDK2YAqd5n+qirNbQCBdzyNea7xUQ0MZW4/O/W0Ipmu5bpGlrVc4b+a5kJk+G6ME2YbC2U
<value> CxNhMlzKlNtzZZ/i2hpQbt8LI6+6MU3qLpSvC4l8ASkgxV0fp9H6AAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAADmSURBVDhPrZRNDoIwEIXH2+gNpEBI1OgCqufTJRdxyRE0Ue5gjBvcjI/amogDUuUlXyDz81KG
tiSJtZqBLevwBCoL3hHL4rktaxfrYIyGPeAvoCYY27Z3sY4TFFwbDV2gNk5s+1NmJVl4EYq7MT12ZUw0
QrD4KOpPUXsQb6KFkPQDHsTraCcmfYAH4TvPYtIHeGDQZo/IBf2paiOfX96GMTo2gr9QwkjlQsITlROn
wUpOepCp5XAb0uzuf45IOp0YE6dBDq2TvUb6fCZqWq4RJzMzDM8enRLLv+N5AwcTq3NuJi8RPQApRqhG
KfUq3QAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<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">
...@@ -197,6 +168,45 @@ ...@@ -197,6 +168,45 @@
QmCC QmCC
</value> </value>
</data> </data>
<data name="treeViewEx1.LstTips" 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="treeViewEx1.NodeDownPic" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAzSURBVDhPYxg+YObMmf9BGMqlHIwaSDkYhgbCNFCKocbRwEBCgGQNhMCogZSD4WIgAwMAGe+9
qQatewQAAAAASUVORK5CYII=
</value>
</data>
<data name="treeViewEx1.NodeUpPic" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAiSURBVDhPYxgFo2AUkAJmzpz5nxoYahwNDBwFo2DAAAMDAFv8ZGmGIVPvAAAAAElFTkSuQmCC
</value>
</data>
<data name="treeViewEx1.TipImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAADmSURBVDhPrZRNDoIwEIXH2+gNpEBI1OgCqufTJRdxyRE0Ue5gjBvcjI/amogDUuUlXyDz81KG
tiSJtZqBLevwBCoL3hHL4rktaxfrYIyGPeAvoCYY27Z3sY4TFFwbDV2gNk5s+1NmJVl4EYq7MT12ZUw0
QrD4KOpPUXsQb6KFkPQDHsTraCcmfYAH4TvPYtIHeGDQZo/IBf2paiOfX96GMTo2gr9QwkjlQsITlROn
wUpOepCp5XAb0uzuf45IOp0YE6dBDq2TvUb6fCZqWq4RJzMzDM8enRLLv+N5AwcTq3NuJi8RPQApRqhG
KfUq3QAAAABJRU5ErkJggg==
</value>
</data>
<data name="ucPagerControl21.DataSource" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="ucPagerControl21.DataSource" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.trackBar3 = new System.Windows.Forms.TrackBar(); this.trackBar3 = new System.Windows.Forms.TrackBar();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.ucDropDownBtn1 = new HZH_Controls.Controls.Btn.UCDropDownBtn();
this.ucProcessWave2 = new HZH_Controls.Controls.UCProcessWave(); this.ucProcessWave2 = new HZH_Controls.Controls.UCProcessWave();
this.ucProcessWave1 = new HZH_Controls.Controls.UCProcessWave(); this.ucProcessWave1 = new HZH_Controls.Controls.UCProcessWave();
this.ucWaveWithSource1 = new HZH_Controls.Controls.UCWaveWithSource(); this.ucWaveWithSource1 = new HZH_Controls.Controls.UCWaveWithSource();
...@@ -135,6 +136,40 @@ ...@@ -135,6 +136,40 @@
this.label3.TabIndex = 9; this.label3.TabIndex = 9;
this.label3.Text = "波宽"; this.label3.Text = "波宽";
// //
// ucDropDownBtn1
//
this.ucDropDownBtn1.BackColor = System.Drawing.Color.White;
this.ucDropDownBtn1.BtnBackColor = System.Drawing.Color.White;
this.ucDropDownBtn1.BtnFont = new System.Drawing.Font("微软雅黑", 12F);
this.ucDropDownBtn1.BtnForeColor = System.Drawing.Color.White;
this.ucDropDownBtn1.Btns = new string[] {
"按钮1",
"按钮2",
"按钮3"};
this.ucDropDownBtn1.BtnText = "测试下拉按钮";
this.ucDropDownBtn1.ConerRadius = 5;
this.ucDropDownBtn1.Cursor = System.Windows.Forms.Cursors.Hand;
this.ucDropDownBtn1.DropPanelHeight = -1;
this.ucDropDownBtn1.EnabledTheme = false;
this.ucDropDownBtn1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucDropDownBtn1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.ucDropDownBtn1.ForeColor = System.Drawing.Color.White;
this.ucDropDownBtn1.Image = ((System.Drawing.Image)(resources.GetObject("ucDropDownBtn1.Image")));
this.ucDropDownBtn1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.ucDropDownBtn1.IsRadius = true;
this.ucDropDownBtn1.IsShowRect = true;
this.ucDropDownBtn1.IsShowTips = false;
this.ucDropDownBtn1.Location = new System.Drawing.Point(995, 242);
this.ucDropDownBtn1.Margin = new System.Windows.Forms.Padding(2);
this.ucDropDownBtn1.Name = "ucDropDownBtn1";
this.ucDropDownBtn1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
this.ucDropDownBtn1.RectWidth = 1;
this.ucDropDownBtn1.Size = new System.Drawing.Size(143, 39);
this.ucDropDownBtn1.TabIndex = 12;
this.ucDropDownBtn1.TabStop = false;
this.ucDropDownBtn1.TipsText = "";
this.ucDropDownBtn1.BtnClick += new System.EventHandler(this.ucDropDownBtn1_BtnClick);
//
// ucProcessWave2 // ucProcessWave2
// //
this.ucProcessWave2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(229)))), ((int)(((byte)(250))))); this.ucProcessWave2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(229)))), ((int)(((byte)(250)))));
...@@ -499,6 +534,7 @@ ...@@ -499,6 +534,7 @@
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.ucDropDownBtn1);
this.Controls.Add(this.ucProcessWave2); this.Controls.Add(this.ucProcessWave2);
this.Controls.Add(this.ucProcessWave1); this.Controls.Add(this.ucProcessWave1);
this.Controls.Add(this.ucWaveWithSource1); this.Controls.Add(this.ucWaveWithSource1);
...@@ -569,6 +605,7 @@ ...@@ -569,6 +605,7 @@
private HZH_Controls.Controls.UCWaveWithSource ucWaveWithSource1; private HZH_Controls.Controls.UCWaveWithSource ucWaveWithSource1;
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.Btn.UCDropDownBtn ucDropDownBtn1;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -64,5 +64,10 @@ namespace Test ...@@ -64,5 +64,10 @@ namespace Test
{ {
this.ucWave1.WaveWidth = trackBar3.Value; this.ucWave1.WaveWidth = trackBar3.Value;
} }
private void ucDropDownBtn1_BtnClick(object sender, EventArgs e)
{
HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this,sender.ToString());
}
} }
} }
...@@ -121,6 +121,16 @@ ...@@ -121,6 +121,16 @@
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ucDropDownBtn1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAD0SURBVDhPjZLtDcIwDES9Ezt1py7AMCgrdIGKH3SC0OfE
JZ/FJxmR+E55livP1ycua4iPJboKLxnZti0HPeFwemPc9z3KcRx68AbX04uEHw4eXB4A8wqmOcfmsvCE
oLkoCOb/uAlT5zMxp+IOA6noQYY3x6TAnb/YYSIOXN7NaZhdkEuaoxBlmFUQcaG4g5DN14UQlzNcne+t
uT6Ifmupq1tDK2YAqd5n+qirNbQCBdzyNea7xUQ0MZW4/O/W0Ipmu5bpGlrVc4b+a5kJk+G6ME2YbC2U
CxNhMlzKlNtzZZ/i2hpQbt8LI6+6MU3qLpSvC4l8ASkgxV0fp9H6AAAAAElFTkSuQmCC
</value>
</data>
<data name="ucStep1.ImgCompleted" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="ucStep1.ImgCompleted" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!