📄 mainform.designer.cs
字号:
namespace Psp_wallpaper_mini
{
partial class mainForm
{
/// <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(mainForm));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.CreatPicButton = new System.Windows.Forms.ToolStripButton();
this.ExitButton = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.aboutButton = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.Silver;
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripSeparator1,
this.CreatPicButton,
this.ExitButton,
this.toolStripSeparator4,
this.aboutButton});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
this.toolStrip1.Size = new System.Drawing.Size(480, 25);
this.toolStrip1.TabIndex = 0;
this.toolStrip1.Text = "toolStrip";
this.toolStrip1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.toolStrip1_MouseMove_1);
this.toolStrip1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.toolStrip1_MouseDown);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// CreatPicButton
//
this.CreatPicButton.Image = ((System.Drawing.Image)(resources.GetObject("CreatPicButton.Image")));
this.CreatPicButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.CreatPicButton.Name = "CreatPicButton";
this.CreatPicButton.Size = new System.Drawing.Size(73, 22);
this.CreatPicButton.Text = "生成壁纸";
this.CreatPicButton.Click += new System.EventHandler(this.CreatPicButton_Click);
//
// ExitButton
//
this.ExitButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.ExitButton.Image = ((System.Drawing.Image)(resources.GetObject("ExitButton.Image")));
this.ExitButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.ExitButton.Name = "ExitButton";
this.ExitButton.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.ExitButton.Size = new System.Drawing.Size(49, 22);
this.ExitButton.Text = "关闭";
this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
//
// aboutButton
//
this.aboutButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.aboutButton.Image = ((System.Drawing.Image)(resources.GetObject("aboutButton.Image")));
this.aboutButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.aboutButton.Name = "aboutButton";
this.aboutButton.Size = new System.Drawing.Size(49, 22);
this.aboutButton.Text = "关于";
this.aboutButton.Click += new System.EventHandler(this.aboutButton_Click);
//
// mainForm
//
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.BackColor = System.Drawing.Color.WhiteSmoke;
//改变背景
switch (System.DateTime.Now.Month)
{
case 1:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._01.jpg"))); break;
case 2:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._02.jpg"))); break;
case 3:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._03.jpg"))); break;
case 4:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._04.jpg"))); break;
case 5:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._05.jpg"))); break;
case 6:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._06.jpg"))); break;
case 7:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._07.jpg"))); break;
case 8:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._08.jpg"))); break;
case 9:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._09.jpg"))); break;
case 10:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._10.jpg"))); break;
case 11:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._11.jpg"))); break;
case 12:
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this._12.jpg"))); break;
default:
return;
}
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(480, 297);
this.ControlBox = false;
this.Controls.Add(this.toolStrip1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "mainForm";
this.Opacity = 0.4;
this.Text = "壁纸制造者";
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.mainForm_MouseMove_1);
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mainForm_MouseDown);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton CreatPicButton;
private System.Windows.Forms.ToolStripButton ExitButton;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton aboutButton;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -