📄 aboutform.cs
字号:
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;namespace DLTool { public class AboutForm : System.Windows.Forms.Form {
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1; private System.ComponentModel.Container components = null; public AboutForm() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
this.label1.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label1.Location = new System.Drawing.Point(0, 40);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(352, 56);
this.label1.TabIndex = 0;
this.label1.Text = "欢迎使用翻译小助手";
this.button1.Location = new System.Drawing.Point(136, 160);
this.button1.Name = "button1";
this.button1.TabIndex = 1;
this.button1.Text = "确定";
this.button1.Click += new System.EventHandler(this.button1_Click_1);
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(352, 277);
this.ControlBox = false;
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.ShowInTaskbar = false;
this.Text = "翻译小助手";
this.TopMost = true;
this.Load += new System.EventHandler(this.AboutForm_Load);
this.ResumeLayout(false);
} #endregion private void button1_Click(object sender, System.EventArgs e) { this.Close(); } private void m_linkLabel_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) { }
private void AboutForm_Load(object sender, System.EventArgs e) {
}
private void button1_Click_1(object sender, System.EventArgs e) {
this.Close();
}
}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -