mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-24 00:36:41 +08:00
117 lines
4.8 KiB
C#
117 lines
4.8 KiB
C#
// ***********************************************************************
|
||
// Assembly : HZH_Controls
|
||
// Created : 08-08-2019
|
||
//
|
||
// ***********************************************************************
|
||
// <copyright file="UCBtnExt.Designer.cs">
|
||
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
|
||
// </copyright>
|
||
//
|
||
// Blog: https://www.cnblogs.com/bfyx
|
||
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
|
||
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
|
||
//
|
||
// If you use this code, please keep this note.
|
||
// ***********************************************************************
|
||
namespace HZH_Controls.Controls
|
||
{
|
||
/// <summary>
|
||
/// Class UCBtnExt.
|
||
/// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
|
||
/// </summary>
|
||
/// <seealso cref="HZH_Controls.Controls.UCControlBase" />
|
||
public partial class UCBtnExt
|
||
{
|
||
/// <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()
|
||
{
|
||
this.lbl = new System.Windows.Forms.Label();
|
||
this.lblTips = new System.Windows.Forms.Label();
|
||
this.SuspendLayout();
|
||
//
|
||
// lbl
|
||
//
|
||
this.lbl.BackColor = System.Drawing.Color.Transparent;
|
||
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.ForeColor = System.Drawing.Color.White;
|
||
this.lbl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||
this.lbl.Location = new System.Drawing.Point(0, 0);
|
||
this.lbl.Name = "lbl";
|
||
this.lbl.Size = new System.Drawing.Size(184, 60);
|
||
this.lbl.TabIndex = 0;
|
||
this.lbl.Text = "自定义按钮";
|
||
this.lbl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
this.lbl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lbl_MouseDown);
|
||
//
|
||
// lblTips
|
||
//
|
||
this.lblTips.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.lblTips.BackColor = System.Drawing.Color.Transparent;
|
||
this.lblTips.Font = new System.Drawing.Font("Arial Unicode MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.lblTips.ForeColor = System.Drawing.Color.White;
|
||
this.lblTips.ImageIndex = 0;
|
||
this.lblTips.Location = new System.Drawing.Point(158, 0);
|
||
this.lblTips.Name = "lblTips";
|
||
this.lblTips.Size = new System.Drawing.Size(24, 24);
|
||
this.lblTips.TabIndex = 1;
|
||
this.lblTips.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
this.lblTips.Visible = false;
|
||
//
|
||
// UCBtnExt
|
||
//
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||
this.BackColor = System.Drawing.Color.Transparent;
|
||
this.ConerRadius = 5;
|
||
this.Controls.Add(this.lblTips);
|
||
this.Controls.Add(this.lbl);
|
||
this.Cursor = System.Windows.Forms.Cursors.Hand;
|
||
this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
|
||
this.IsRadius = true;
|
||
this.IsShowRect = true;
|
||
this.Margin = new System.Windows.Forms.Padding(0);
|
||
this.Name = "UCBtnExt";
|
||
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
|
||
this.Size = new System.Drawing.Size(184, 60);
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
/// <summary>
|
||
/// The label
|
||
/// </summary>
|
||
public System.Windows.Forms.Label lbl;
|
||
/// <summary>
|
||
/// The label tips
|
||
/// </summary>
|
||
private System.Windows.Forms.Label lblTips;
|
||
|
||
|
||
}
|
||
}
|