// *********************************************************************** // Assembly : HZH_Controls // Created : 08-17-2019 // // *********************************************************************** // // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com // // // 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 { /// /// Class UCPanelTitle. /// Implements the /// /// partial class UCPanelTitle { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.lblTitle = new System.Windows.Forms.Label(); this.SuspendLayout(); // // lblTitle // this.lblTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59))))); this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.lblTitle.Location = new System.Drawing.Point(1, 1); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(392, 34); this.lblTitle.TabIndex = 0; this.lblTitle.Text = "面板"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblTitle_MouseDown); // // UCPanelTitle // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.Transparent; this.ConerRadius = 10; this.Controls.Add(this.lblTitle); this.FillColor = System.Drawing.Color.White; this.IsRadius = true; this.IsShowRect = true; this.Name = "UCPanelTitle"; this.Padding = new System.Windows.Forms.Padding(1); this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59))))); this.Size = new System.Drawing.Size(394, 199); this.SizeChanged += new System.EventHandler(this.UCPanelTitle_SizeChanged); this.ResumeLayout(false); } #endregion /// /// The label title /// private System.Windows.Forms.Label lblTitle; } }