📄 aboutform.cs
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;namespace BookMulti{ public class AboutForm : BookMulti.BaseForm {
private System.Windows.Forms.Label label2; private System.ComponentModel.IContainer components = null; public AboutForm() { // 该调用是 Windows 窗体设计器所必需的。 InitializeComponent(); // TODO: 在 InitializeComponent 调用后添加任何初始化 } /// <summary> /// 清理所有正在使用的资源。 /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region 设计器生成的代码 /// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// okButton
//
this.okButton.Name = "okButton";
this.okButton.Click += new System.EventHandler(this.okButton_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(120, 64);
this.label1.Name = "label1";
this.label1.Text = "R\'n R for Reading and Refreshment";
//
// label2
//
this.label2.Location = new System.Drawing.Point(136, 128);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(352, 128);
this.label2.TabIndex = 2;
this.label2.Text = "By Bradley and Millspaugh Version 1.0";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// AboutForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
this.ClientSize = new System.Drawing.Size(648, 592);
this.Controls.Add(this.label2);
this.Name = "AboutForm";
this.Text = "AboutForm";
this.Load += new System.EventHandler(this.AboutForm_Load);
this.Controls.SetChildIndex(this.label2, 0);
this.Controls.SetChildIndex(this.okButton, 0);
this.Controls.SetChildIndex(this.label1, 0);
this.ResumeLayout(false);
} #endregion
protected override void okButton_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void AboutForm_Load(object sender, System.EventArgs e)
{
} }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -