www.pudn.com > HttpProxy.rar > About.cs


using System; 
using System.Drawing; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
using HttpProxy.Component; 
 
namespace HttpProxy.UI 
{ 
	///  
	/// About 类 
	///  
	public class About : System.Windows.Forms.Form 
	{ 
		private System.Windows.Forms.PictureBox pbxAbout; 
		private System.Windows.Forms.Label lblAbout; 
		private System.Windows.Forms.Label lblUser; 
		private System.Windows.Forms.Label lblWebSite; 
		private System.Windows.Forms.Label lblMail; 
		private System.Windows.Forms.LinkLabel llblMail; 
		private System.Windows.Forms.Label lblCode; 
		private System.Windows.Forms.LinkLabel llblSite; 
		private System.Windows.Forms.Button btnOk; 
		///  
		/// 必需的设计器变量。 
		///  
		private System.ComponentModel.Container components = null; 
 
		public About() 
		{ 
			// 
			// Windows 窗体设计器支持所必需的 
			// 
			InitializeComponent(); 
 
			// 
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码 
			// 
		} 
 
		///  
		/// 清理所有正在使用的资源。 
		///  
		protected override void Dispose( bool disposing ) 
		{ 
			if( disposing ) 
			{ 
				if(components != null) 
				{ 
					components.Dispose(); 
				} 
			} 
			base.Dispose( disposing ); 
		} 
 
		#region Windows 窗体设计器生成的代码 
		///  
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改 
		/// 此方法的内容。 
		///  
		private void InitializeComponent() 
		{ 
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(About)); 
			this.pbxAbout = new System.Windows.Forms.PictureBox(); 
			this.lblAbout = new System.Windows.Forms.Label(); 
			this.lblUser = new System.Windows.Forms.Label(); 
			this.lblWebSite = new System.Windows.Forms.Label(); 
			this.lblMail = new System.Windows.Forms.Label(); 
			this.lblCode = new System.Windows.Forms.Label(); 
			this.llblMail = new System.Windows.Forms.LinkLabel(); 
			this.llblSite = new System.Windows.Forms.LinkLabel(); 
			this.btnOk = new System.Windows.Forms.Button(); 
			this.SuspendLayout(); 
			//  
			// pbxAbout 
			//  
			this.pbxAbout.Image = ((System.Drawing.Image)(resources.GetObject("pbxAbout.Image"))); 
			this.pbxAbout.Location = new System.Drawing.Point(16, 24); 
			this.pbxAbout.Name = "pbxAbout"; 
			this.pbxAbout.Size = new System.Drawing.Size(56, 48); 
			this.pbxAbout.TabIndex = 0; 
			this.pbxAbout.TabStop = false; 
			//  
			// lblAbout 
			//  
			this.lblAbout.Location = new System.Drawing.Point(88, 24); 
			this.lblAbout.Name = "lblAbout"; 
			this.lblAbout.Size = new System.Drawing.Size(160, 16); 
			this.lblAbout.TabIndex = 1; 
			this.lblAbout.Text = "Http代理 v1.0 用户试用版"; 
			//  
			// lblUser 
			//  
			this.lblUser.Location = new System.Drawing.Point(88, 48); 
			this.lblUser.Name = "lblUser"; 
			this.lblUser.Size = new System.Drawing.Size(152, 16); 
			this.lblUser.TabIndex = 1; 
			this.lblUser.Text = "软件版权所有人:季方"; 
			//  
			// lblWebSite 
			//  
			this.lblWebSite.Location = new System.Drawing.Point(88, 72); 
			this.lblWebSite.Name = "lblWebSite"; 
			this.lblWebSite.Size = new System.Drawing.Size(80, 16); 
			this.lblWebSite.TabIndex = 1; 
			this.lblWebSite.Text = "所有人网址:"; 
			//  
			// lblMail 
			//  
			this.lblMail.Location = new System.Drawing.Point(88, 104); 
			this.lblMail.Name = "lblMail"; 
			this.lblMail.Size = new System.Drawing.Size(80, 16); 
			this.lblMail.TabIndex = 1; 
			this.lblMail.Text = "所有人邮箱:"; 
			//  
			// lblCode 
			//  
			this.lblCode.Location = new System.Drawing.Point(88, 128); 
			this.lblCode.Name = "lblCode"; 
			this.lblCode.Size = new System.Drawing.Size(184, 16); 
			this.lblCode.TabIndex = 1; 
			this.lblCode.Text = "机器码:       0555d07776"; 
			//  
			// llblMail 
			//  
			this.llblMail.Location = new System.Drawing.Point(176, 104); 
			this.llblMail.Name = "llblMail"; 
			this.llblMail.Size = new System.Drawing.Size(120, 16); 
			this.llblMail.TabIndex = 2; 
			this.llblMail.TabStop = true; 
			this.llblMail.Text = "square@ahut.edu.cn"; 
			//  
			// llblSite 
			//  
			this.llblSite.Location = new System.Drawing.Point(176, 72); 
			this.llblSite.Name = "llblSite"; 
			this.llblSite.Size = new System.Drawing.Size(120, 16); 
			this.llblSite.TabIndex = 2; 
			this.llblSite.TabStop = true; 
			this.llblSite.Text = " www.jf-sharp.net"; 
			//  
			// btnOk 
			//  
			this.btnOk.Location = new System.Drawing.Point(256, 14); 
			this.btnOk.Name = "btnOk"; 
			this.btnOk.Size = new System.Drawing.Size(64, 24); 
			this.btnOk.TabIndex = 3; 
			this.btnOk.Text = "确认"; 
			this.btnOk.Click += new System.EventHandler(this.btnOk_Click); 
			//  
			// About 
			//  
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); 
			this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(233)), ((System.Byte)(237))); 
			this.ClientSize = new System.Drawing.Size(338, 160); 
			this.ControlBox = false; 
			this.Controls.Add(this.btnOk); 
			this.Controls.Add(this.llblMail); 
			this.Controls.Add(this.lblAbout); 
			this.Controls.Add(this.pbxAbout); 
			this.Controls.Add(this.lblUser); 
			this.Controls.Add(this.lblWebSite); 
			this.Controls.Add(this.lblMail); 
			this.Controls.Add(this.lblCode); 
			this.Controls.Add(this.llblSite); 
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; 
			this.MaximizeBox = false; 
			this.Name = "About"; 
			this.ShowInTaskbar = false; 
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 
			this.Text = "关于Http代理"; 
			this.Load += new System.EventHandler(this.About_Load); 
			this.ResumeLayout(false); 
 
		} 
		#endregion 
 
		private void btnOk_Click(object sender, System.EventArgs e) 
		{ 
			this.Close(); 
		} 
 
		private void About_Load(object sender, System.EventArgs e) 
		{ 
			this.btnOk.Focus(); 
			ProxyMain.sbpGlobal.Text="软件版本信息."; 
		} 
	} 
}