// *********************************************************************** // Assembly : HZH_Controls // Created : 08-08-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.Forms { /// /// Class FrmWithTitle. /// Implements the /// /// partial class FrmWithTitle { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmWithTitle)); this.lblTitle = new System.Windows.Forms.Label(); this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H(); this.btnClose = new System.Windows.Forms.Panel(); this.SuspendLayout(); // // lblTitle // this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Font = new System.Drawing.Font("微软雅黑", 17F); this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(427, 60); this.lblTitle.TabIndex = 5; this.lblTitle.Text = "标题"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // ucSplitLine_H1 // this.ucSplitLine_H1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238))))); this.ucSplitLine_H1.Dock = System.Windows.Forms.DockStyle.Top; this.ucSplitLine_H1.Location = new System.Drawing.Point(0, 60); this.ucSplitLine_H1.Name = "ucSplitLine_H1"; this.ucSplitLine_H1.Size = new System.Drawing.Size(427, 1); this.ucSplitLine_H1.TabIndex = 0; this.ucSplitLine_H1.TabStop = false; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.BackgroundImage = global::HZH_Controls.Properties.Resources.dialog_close; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnClose.Location = new System.Drawing.Point(399, 0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(28, 60); this.btnClose.TabIndex = 6; this.btnClose.Visible = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // FrmWithTitle // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(427, 310); this.Controls.Add(this.btnClose); this.Controls.Add(this.ucSplitLine_H1); this.Controls.Add(this.lblTitle); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsFullSize = false; this.IsShowMaskDialog = true; this.IsShowRegion = true; this.Name = "FrmWithTitle"; this.Redraw = true; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "FrmWithTitle"; this.Shown += new System.EventHandler(this.FrmWithTitle_Shown); this.SizeChanged += new System.EventHandler(this.FrmWithTitle_SizeChanged); this.VisibleChanged += new System.EventHandler(this.FrmWithTitle_VisibleChanged); this.ResumeLayout(false); } #endregion /// /// The label title /// private System.Windows.Forms.Label lblTitle; /// /// The uc split line h1 /// private Controls.UCSplitLine_H ucSplitLine_H1; /// /// The BTN close /// private System.Windows.Forms.Panel btnClose; } }