📄 aboutdlg.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace GisCtlDemo
{
/// <summary>
/// AboutDlg 的摘要说明。
/// </summary>
public class AboutDlg : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button btOk;
public AboutDlg()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.btOk = new System.Windows.Forms.Button();
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Size = new System.Drawing.Size(176, 16);
this.label1.Text = "矢量图控件演示";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 40);
this.label2.Size = new System.Drawing.Size(208, 16);
this.label2.Text = "版本:1.0.10";
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 64);
this.label3.Size = new System.Drawing.Size(216, 16);
this.label3.Text = "作者:hoodlum1980";
//
// label4
//
this.label4.Location = new System.Drawing.Point(16, 88);
this.label4.Size = new System.Drawing.Size(216, 16);
this.label4.Text = "http://www.cnblogs.com/hoodlum1980";
//
// btOk
//
this.btOk.Location = new System.Drawing.Point(80, 200);
this.btOk.Size = new System.Drawing.Size(72, 24);
this.btOk.Text = "确定";
this.btOk.Click += new System.EventHandler(this.btOk_Click);
//
// AboutDlg
//
this.Controls.Add(this.btOk);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Text = "关于";
}
#endregion
private void btOk_Click(object sender, System.EventArgs e)
{
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -