78 lines
2.5 KiB
C#
78 lines
2.5 KiB
C#
namespace CanFly.UI.GuidePanel
|
||
{
|
||
partial class CtrlTitleBar
|
||
{
|
||
/// <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()
|
||
{
|
||
btnClose = new PictureBox();
|
||
j = new Label();
|
||
((System.ComponentModel.ISupportInitialize)btnClose).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// btnClose
|
||
//
|
||
btnClose.Dock = DockStyle.Right;
|
||
btnClose.Image = XKRS.CanFly.Properties.Resources.Close;
|
||
btnClose.Location = new Point(516, 3);
|
||
btnClose.Name = "btnClose";
|
||
btnClose.Size = new Size(30, 30);
|
||
btnClose.SizeMode = PictureBoxSizeMode.StretchImage;
|
||
btnClose.TabIndex = 1;
|
||
btnClose.TabStop = false;
|
||
btnClose.Click += btnClose_Click;
|
||
//
|
||
// j
|
||
//
|
||
j.Dock = DockStyle.Fill;
|
||
j.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point);
|
||
j.Location = new Point(3, 3);
|
||
j.Name = "j";
|
||
j.Size = new Size(513, 30);
|
||
j.TabIndex = 2;
|
||
j.Text = "标题";
|
||
j.TextAlign = ContentAlignment.MiddleLeft;
|
||
//
|
||
// CtrlTitleBar
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
Controls.Add(j);
|
||
Controls.Add(btnClose);
|
||
MinimumSize = new Size(0, 36);
|
||
Name = "CtrlTitleBar";
|
||
Padding = new Padding(3);
|
||
Size = new Size(549, 36);
|
||
((System.ComponentModel.ISupportInitialize)btnClose).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
private PictureBox btnClose;
|
||
private Label j;
|
||
}
|
||
}
|