formabout.cs
来自「该即时通讯系统系统能够实现像QQ一样的通讯功能」· CS 代码 · 共 139 行
CS
139 行
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace LanMsg
{
/// <summary>
/// FormAbout 的摘要说明。
/// </summary>
public class FormAbout : System.Windows.Forms.Form
{
private System.Windows.Forms.Button butOk;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public FormAbout()
{
//
// 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()
{
this.butOk = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// butOk
//
this.butOk.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.butOk.Location = new System.Drawing.Point(93, 136);
this.butOk.Name = "butOk";
this.butOk.Size = new System.Drawing.Size(88, 24);
this.butOk.TabIndex = 1;
this.butOk.Text = "确定";
this.butOk.Click += new System.EventHandler(this.butOk_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(18, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(221, 17);
this.label1.TabIndex = 0;
this.label1.Text = "LanMsg2.0 Bate(局域网即时通知-消息)";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(9, 6);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(256, 120);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(104, 93);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(48, 17);
this.label4.TabIndex = 3;
this.label4.Text = "2006.11";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(48, 56);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(159, 17);
this.label2.TabIndex = 1;
this.label2.Text = "租李叶(25348855) 版权所有";
//
// FormAbout
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(274, 167);
this.Controls.Add(this.butOk);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormAbout";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "关于 LanMsg2.0Bate(即时通知-消息)";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void butOk_Click(object sender, System.EventArgs e)
{
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?