2022-03-21 14:48:26 +08:00
|
|
|
|
// ***********************************************************************
|
2021-11-23 15:51:37 +08:00
|
|
|
|
// Assembly : HZH_Controls
|
|
|
|
|
|
// Created : 08-08-2019
|
|
|
|
|
|
//
|
|
|
|
|
|
// ***********************************************************************
|
|
|
|
|
|
// <copyright file="FrmWithTitle.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.Forms
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Class FrmWithTitle.
|
|
|
|
|
|
/// Implements the <see cref="HZH_Controls.Forms.FrmBase" />
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <seealso cref="HZH_Controls.Forms.FrmBase" />
|
|
|
|
|
|
partial class FrmWithTitle
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The label title
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.Windows.Forms.Label lblTitle;
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The uc split line h1
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private Controls.UCSplitLine_H ucSplitLine_H1;
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The BTN close
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.Windows.Forms.Panel btnClose;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|