📄 form1.designer.cs
字号:
//
// cMenuR
//
this.cMenuR.CheckOnClick = true;
this.cMenuR.Name = "cMenuR";
this.cMenuR.Size = new System.Drawing.Size(104, 22);
this.cMenuR.Text = "红";
this.cMenuR.Click += new System.EventHandler(this.cMenuR_Click);
//
// cMenuG
//
this.cMenuG.CheckOnClick = true;
this.cMenuG.Name = "cMenuG";
this.cMenuG.Size = new System.Drawing.Size(104, 22);
this.cMenuG.Text = "绿";
this.cMenuG.Click += new System.EventHandler(this.cMenuG_Click);
//
// cMenuB
//
this.cMenuB.CheckOnClick = true;
this.cMenuB.Name = "cMenuB";
this.cMenuB.Size = new System.Drawing.Size(104, 22);
this.cMenuB.Text = "蓝";
this.cMenuB.Click += new System.EventHandler(this.cMenuB_Click);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.btnO,
this.toolStripSeparator1,
this.btnMax,
this.btnMid,
this.btnSmall});
this.toolStrip1.Location = new System.Drawing.Point(0, 24);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(292, 25);
this.toolStrip1.TabIndex = 1;
this.toolStrip1.Text = "toolStrip1";
//
// btnO
//
this.btnO.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnO.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.btnOO,
this.btnOMid});
this.btnO.Image = ((System.Drawing.Image)(resources.GetObject("btnO.Image")));
this.btnO.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnO.Name = "btnO";
this.btnO.Size = new System.Drawing.Size(68, 22);
this.btnO.Text = "透明度";
//
// btnOO
//
this.btnOO.Name = "btnOO";
this.btnOO.Size = new System.Drawing.Size(119, 22);
this.btnOO.Text = "不透明";
this.btnOO.Click += new System.EventHandler(this.btnOO_Click);
//
// btnOMid
//
this.btnOMid.Name = "btnOMid";
this.btnOMid.Size = new System.Drawing.Size(119, 22);
this.btnOMid.Text = "半透明";
this.btnOMid.Click += new System.EventHandler(this.btnOMid_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// btnMax
//
this.btnMax.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnMax.Image = ((System.Drawing.Image)(resources.GetObject("btnMax.Image")));
this.btnMax.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnMax.Name = "btnMax";
this.btnMax.Size = new System.Drawing.Size(26, 22);
this.btnMax.Text = "大";
this.btnMax.Click += new System.EventHandler(this.btnMax_Click);
//
// btnMid
//
this.btnMid.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnMid.Image = ((System.Drawing.Image)(resources.GetObject("btnMid.Image")));
this.btnMid.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnMid.Name = "btnMid";
this.btnMid.Size = new System.Drawing.Size(26, 22);
this.btnMid.Text = "中";
this.btnMid.Click += new System.EventHandler(this.btnMid_Click);
//
// btnSmall
//
this.btnSmall.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnSmall.Image = ((System.Drawing.Image)(resources.GetObject("btnSmall.Image")));
this.btnSmall.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnSmall.Name = "btnSmall";
this.btnSmall.Size = new System.Drawing.Size(26, 22);
this.btnSmall.Text = "小";
this.btnSmall.Click += new System.EventHandler(this.btnSmall_Click);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblS,
this.lblO,
this.lblC});
this.statusStrip1.Location = new System.Drawing.Point(0, 181);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(292, 24);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// lblS
//
this.lblS.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.lblS.BorderStyle = System.Windows.Forms.Border3DStyle.Sunken;
this.lblS.Name = "lblS";
this.lblS.Size = new System.Drawing.Size(97, 19);
this.lblS.Text = "300x245像素";
//
// lblO
//
this.lblO.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.lblO.BorderStyle = System.Windows.Forms.Border3DStyle.Sunken;
this.lblO.Name = "lblO";
this.lblO.Size = new System.Drawing.Size(64, 19);
this.lblO.Text = "不透明 ";
//
// lblC
//
this.lblC.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.lblC.BorderStyle = System.Windows.Forms.Border3DStyle.Sunken;
this.lblC.Name = "lblC";
this.lblC.Size = new System.Drawing.Size(87, 19);
this.lblC.Text = "默认颜色 ";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 205);
this.ContextMenuStrip = this.contextMenuStrip1;
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.menuStrip1);
this.MainMenuStrip = this.menuStrip1;
this.Name = "Form1";
this.Text = "窗口大小与颜色";
this.Load += new System.EventHandler(this.Form1_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem menuW;
private System.Windows.Forms.ToolStripMenuItem menuMax;
private System.Windows.Forms.ToolStripMenuItem menuMid;
private System.Windows.Forms.ToolStripMenuItem menuSmall;
private System.Windows.Forms.ToolStripSeparator menuW_;
private System.Windows.Forms.ToolStripMenuItem menuO;
private System.Windows.Forms.ToolStripMenuItem menuOO;
private System.Windows.Forms.ToolStripMenuItem menuOMid;
private System.Windows.Forms.ToolStripMenuItem menuC;
private System.Windows.Forms.ToolStripMenuItem menuD;
private System.Windows.Forms.ToolStripMenuItem menuR;
private System.Windows.Forms.ToolStripMenuItem menuG;
private System.Windows.Forms.ToolStripMenuItem menuB;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem cMenuD;
private System.Windows.Forms.ToolStripMenuItem cMenuR;
private System.Windows.Forms.ToolStripMenuItem cMenuG;
private System.Windows.Forms.ToolStripMenuItem cMenuB;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripSplitButton btnO;
private System.Windows.Forms.ToolStripMenuItem btnOO;
private System.Windows.Forms.ToolStripMenuItem btnOMid;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton btnMax;
private System.Windows.Forms.ToolStripButton btnMid;
private System.Windows.Forms.ToolStripButton btnSmall;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel lblS;
private System.Windows.Forms.ToolStripStatusLabel lblO;
private System.Windows.Forms.ToolStripStatusLabel lblC;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -