www.pudn.com > Crawler_bemjh.rar > AboutForm.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Crawler
{
///
/// Summary description for AboutForm.
///
public class AboutForm : 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.Label label5;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button IDOK;
public AboutForm()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
///
/// Clean up any resources being used.
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutForm));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.IDOK = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(168, 40);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 17);
this.label1.TabIndex = 0;
this.label1.Text = "版本 : V1.0.1";
//
// label2
//
this.label2.Location = new System.Drawing.Point(168, 64);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(104, 17);
this.label2.TabIndex = 0;
this.label2.Text = "设计者 :马建华";
//
// label3
//
this.label3.Location = new System.Drawing.Point(168, 88);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(144, 17);
this.label3.TabIndex = 0;
this.label3.Text = "Copyright (C) 2006";
//
// IDOK
//
this.IDOK.Location = new System.Drawing.Point(296, 48);
this.IDOK.Name = "IDOK";
this.IDOK.Size = new System.Drawing.Size(90, 25);
this.IDOK.TabIndex = 1;
this.IDOK.Text = "确定";
this.IDOK.Click += new System.EventHandler(this.IDOK_Click);
//
// label4
//
this.label4.Location = new System.Drawing.Point(168, 112);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(288, 17);
this.label4.TabIndex = 0;
this.label4.Text = "联系方式:南京师范大学田家炳楼北407室";
//
// label5
//
this.label5.Location = new System.Drawing.Point(168, 8);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 17);
this.label5.TabIndex = 0;
this.label5.Text = "网络蜘蛛";
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(16, 16);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(128, 112);
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
//
// AboutForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(410, 143);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.IDOK);
this.Controls.Add(this.label1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label3);
this.Controls.Add(this.label4);
this.Controls.Add(this.label5);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.Opacity = 0.95;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "关于网络蜘蛛";
this.Load += new System.EventHandler(this.AboutForm_Load);
this.ResumeLayout(false);
}
#endregion
private void AboutForm_Load(object sender, System.EventArgs e)
{
}
private void IDOK_Click(object sender, System.EventArgs e)
{
this.Close();
}
}
}