01-窗体技巧/自定义窗体的最大化、最小化和关闭按钮/自定义窗体的最大化、最小化和关闭按钮/Form1.Designer.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace 自定义窗体的最大化_最小化和关闭按钮
{
partial class Form1
{
/// <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 Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.pictureBox_Close = new System.Windows.Forms.PictureBox();
this.panel_Title = new System.Windows.Forms.Panel();
this.pictureBox_Min = new System.Windows.Forms.PictureBox();
this.pictureBox_Max = new System.Windows.Forms.PictureBox();
this.panel_ALL = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_Close)).BeginInit();
this.panel_Title.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_Min)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_Max)).BeginInit();
this.SuspendLayout();
//
// pictureBox_Close
//
this.pictureBox_Close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox_Close.Location = new System.Drawing.Point(269, 11);
this.pictureBox_Close.Name = "pictureBox_Close";
this.pictureBox_Close.Size = new System.Drawing.Size(20, 20);
this.pictureBox_Close.TabIndex = 3;
this.pictureBox_Close.TabStop = false;
this.pictureBox_Close.Tag = "2";
this.pictureBox_Close.MouseLeave += new System.EventHandler(this.pictureBox_Close_MouseLeave);
this.pictureBox_Close.Click += new System.EventHandler(this.pictureBox_Close_Click);
this.pictureBox_Close.MouseEnter += new System.EventHandler(this.pictureBox_Close_MouseEnter);
//
// panel_Title
//
this.panel_Title.Controls.Add(this.pictureBox_Close);
this.panel_Title.Controls.Add(this.pictureBox_Min);
this.panel_Title.Controls.Add(this.pictureBox_Max);
this.panel_Title.Dock = System.Windows.Forms.DockStyle.Top;
后面还有 68 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
