📄 form1.designer.cs
字号:
namespace WinAppTest06
{
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.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtWidth = new System.Windows.Forms.TextBox();
this.txtHeight = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.radOpen = new System.Windows.Forms.RadioButton();
this.radClose = new System.Windows.Forms.RadioButton();
this.radShow = new System.Windows.Forms.RadioButton();
this.radHide = new System.Windows.Forms.RadioButton();
this.cmbFC = new System.Windows.Forms.ComboBox();
this.cmbBC = new System.Windows.Forms.ComboBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.radClose);
this.groupBox1.Controls.Add(this.radOpen);
this.groupBox1.Location = new System.Drawing.Point(12, 18);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(224, 100);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "打开关闭窗口";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.radHide);
this.groupBox2.Controls.Add(this.radShow);
this.groupBox2.Location = new System.Drawing.Point(254, 18);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(224, 100);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "显示隐藏窗口";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.cmbBC);
this.groupBox3.Controls.Add(this.cmbFC);
this.groupBox3.Controls.Add(this.button1);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.txtHeight);
this.groupBox3.Controls.Add(this.txtWidth);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Controls.Add(this.label2);
this.groupBox3.Controls.Add(this.label1);
this.groupBox3.Location = new System.Drawing.Point(12, 140);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(466, 117);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "窗口大小与标签颜色";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(27, 34);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(22, 15);
this.label1.TabIndex = 0;
this.label1.Text = "宽";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(27, 69);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(22, 15);
this.label2.TabIndex = 1;
this.label2.Text = "高";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(167, 34);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(52, 15);
this.label3.TabIndex = 2;
this.label3.Text = "前景色";
//
// txtWidth
//
this.txtWidth.Location = new System.Drawing.Point(56, 29);
this.txtWidth.Name = "txtWidth";
this.txtWidth.Size = new System.Drawing.Size(100, 25);
this.txtWidth.TabIndex = 3;
//
// txtHeight
//
this.txtHeight.Location = new System.Drawing.Point(56, 64);
this.txtHeight.Name = "txtHeight";
this.txtHeight.Size = new System.Drawing.Size(100, 25);
this.txtHeight.TabIndex = 4;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(167, 69);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(52, 15);
this.label4.TabIndex = 7;
this.label4.Text = "背景色";
//
// button1
//
this.button1.Enabled = false;
this.button1.Location = new System.Drawing.Point(365, 41);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 34);
this.button1.TabIndex = 8;
this.button1.Text = "确定";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// radOpen
//
this.radOpen.AutoSize = true;
this.radOpen.Location = new System.Drawing.Point(50, 22);
this.radOpen.Name = "radOpen";
this.radOpen.Size = new System.Drawing.Size(88, 19);
this.radOpen.TabIndex = 0;
this.radOpen.Text = "打开窗口";
this.radOpen.UseVisualStyleBackColor = true;
this.radOpen.CheckedChanged += new System.EventHandler(this.radOpen_CheckedChanged);
//
// radClose
//
this.radClose.AutoSize = true;
this.radClose.Checked = true;
this.radClose.Enabled = false;
this.radClose.Location = new System.Drawing.Point(50, 59);
this.radClose.Name = "radClose";
this.radClose.Size = new System.Drawing.Size(88, 19);
this.radClose.TabIndex = 1;
this.radClose.TabStop = true;
this.radClose.Text = "关闭窗口";
this.radClose.UseVisualStyleBackColor = true;
this.radClose.CheckedChanged += new System.EventHandler(this.radClose_CheckedChanged);
//
// radShow
//
this.radShow.AutoSize = true;
this.radShow.Checked = true;
this.radShow.Enabled = false;
this.radShow.Location = new System.Drawing.Point(50, 23);
this.radShow.Name = "radShow";
this.radShow.Size = new System.Drawing.Size(88, 19);
this.radShow.TabIndex = 1;
this.radShow.TabStop = true;
this.radShow.Text = "显示窗口";
this.radShow.UseVisualStyleBackColor = true;
this.radShow.CheckedChanged += new System.EventHandler(this.radShow_CheckedChanged);
//
// radHide
//
this.radHide.AutoSize = true;
this.radHide.Enabled = false;
this.radHide.Location = new System.Drawing.Point(50, 58);
this.radHide.Name = "radHide";
this.radHide.Size = new System.Drawing.Size(88, 19);
this.radHide.TabIndex = 2;
this.radHide.Text = "隐藏窗口";
this.radHide.UseVisualStyleBackColor = true;
this.radHide.CheckedChanged += new System.EventHandler(this.radHide_CheckedChanged);
//
// cmbFC
//
this.cmbFC.FormattingEnabled = true;
this.cmbFC.Items.AddRange(new object[] {
"红",
"黄",
"绿",
"蓝"});
this.cmbFC.Location = new System.Drawing.Point(228, 30);
this.cmbFC.Name = "cmbFC";
this.cmbFC.Size = new System.Drawing.Size(121, 23);
this.cmbFC.TabIndex = 9;
//
// cmbBC
//
this.cmbBC.FormattingEnabled = true;
this.cmbBC.Items.AddRange(new object[] {
"红",
"黄",
"绿",
"蓝"});
this.cmbBC.Location = new System.Drawing.Point(228, 65);
this.cmbBC.Name = "cmbBC";
this.cmbBC.Size = new System.Drawing.Size(121, 23);
this.cmbBC.TabIndex = 10;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(490, 284);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "类与对象";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtHeight;
private System.Windows.Forms.TextBox txtWidth;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.RadioButton radClose;
private System.Windows.Forms.RadioButton radOpen;
private System.Windows.Forms.RadioButton radHide;
private System.Windows.Forms.RadioButton radShow;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ComboBox cmbBC;
private System.Windows.Forms.ComboBox cmbFC;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -