📄 about.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace VCSharp
{
/// <summary>
/// About 的摘要说明。
/// </summary>
public class About : System.Windows.Forms.Form
{
internal System.Windows.Forms.Label Label4;
internal System.Windows.Forms.Button Button1;
internal System.Windows.Forms.Label Label3;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label Label1;
/// <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 Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.Label4 = new System.Windows.Forms.Label();
this.Button1 = new System.Windows.Forms.Button();
this.Label3 = new System.Windows.Forms.Label();
this.Label2 = new System.Windows.Forms.Label();
this.Label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// Label4
//
this.Label4.Font = new System.Drawing.Font("Trebuchet MS", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.Label4.Location = new System.Drawing.Point(24, 16);
this.Label4.Name = "Label4";
this.Label4.Size = new System.Drawing.Size(96, 32);
this.Label4.TabIndex = 10;
this.Label4.Text = "CAD";
//
// Button1
//
this.Button1.Location = new System.Drawing.Point(184, 80);
this.Button1.Name = "Button1";
this.Button1.Size = new System.Drawing.Size(80, 24);
this.Button1.TabIndex = 9;
this.Button1.Text = "确 定";
this.Button1.Click += new System.EventHandler(this.Button1_Click);
//
// Label3
//
this.Label3.Location = new System.Drawing.Point(144, 56);
this.Label3.Name = "Label3";
this.Label3.Size = new System.Drawing.Size(80, 16);
this.Label3.TabIndex = 8;
this.Label3.Text = "版本:1.0.0";
//
// Label2
//
this.Label2.Font = new System.Drawing.Font("华文新魏", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.Label2.Location = new System.Drawing.Point(112, 16);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(136, 32);
this.Label2.TabIndex = 7;
this.Label2.Text = "设计软件";
//
// Label1
//
this.Label1.Location = new System.Drawing.Point(24, 88);
this.Label1.Name = "Label1";
this.Label1.Size = new System.Drawing.Size(100, 16);
this.Label1.TabIndex = 6;
this.Label1.Text = "保留一切权利";
//
// About
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(282, 120);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.Label4,
this.Button1,
this.Label3,
this.Label2,
this.Label1});
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "About";
this.Text = "About";
this.ResumeLayout(false);
}
#endregion
private void Button1_Click(object sender, System.EventArgs e)
{
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -