📄 about.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 窗口编辑器
{
/// <summary>
/// About 的摘要说明。
/// </summary>
public class About : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button aExit;
private System.Windows.Forms.Label label7;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public About()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label6 = new System.Windows.Forms.Label();
this.aExit = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.ForeColor = System.Drawing.SystemColors.Info;
this.label1.Location = new System.Drawing.Point(172, 99);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(152, 23);
this.label1.TabIndex = 0;
this.label1.Text = "制作: 杭建 张伟 涂诗凡";
//
// label2
//
this.label2.ForeColor = System.Drawing.SystemColors.Info;
this.label2.Location = new System.Drawing.Point(188, 141);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 23);
this.label2.TabIndex = 1;
this.label2.Text = "QQ: 285104010";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label5
//
this.label5.Font = new System.Drawing.Font("NSimSun", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.SystemColors.Info;
this.label5.Location = new System.Drawing.Point(8, 216);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(360, 16);
this.label5.TabIndex = 4;
this.label5.Text = "使用C#技术开发,难免有错,敬请指教!";
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(49, 88);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(77, 76);
this.pictureBox1.TabIndex = 5;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// label6
//
this.label6.Font = new System.Drawing.Font("KaiTi_GB2312", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.ForeColor = System.Drawing.SystemColors.Menu;
this.label6.Location = new System.Drawing.Point(77, 21);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(177, 24);
this.label6.TabIndex = 6;
this.label6.Text = "多窗口文本编辑器";
//
// aExit
//
this.aExit.BackColor = System.Drawing.Color.Olive;
this.aExit.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.aExit.ForeColor = System.Drawing.Color.MistyRose;
this.aExit.Location = new System.Drawing.Point(240, 240);
this.aExit.Name = "aExit";
this.aExit.Size = new System.Drawing.Size(80, 24);
this.aExit.TabIndex = 7;
this.aExit.Text = "退出(&E)";
this.aExit.UseVisualStyleBackColor = false;
this.aExit.Click += new System.EventHandler(this.aExit_Click);
//
// label7
//
this.label7.ForeColor = System.Drawing.SystemColors.Info;
this.label7.Location = new System.Drawing.Point(10, 248);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(224, 16);
this.label7.TabIndex = 8;
this.label7.Text = "详情请咨询:supehj1987@126.com";
//
// About
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
this.ClientSize = new System.Drawing.Size(336, 278);
this.Controls.Add(this.label7);
this.Controls.Add(this.aExit);
this.Controls.Add(this.label6);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label5);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "About";
this.Text = "About";
this.Load += new System.EventHandler(this.About_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void aExit_Click(object sender, System.EventArgs e)
{
Close ();
}
private void label2_Click(object sender, System.EventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void About_Load(object sender, EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -