www.pudn.com > QQ2008.rar > about.cs


using System; 
using System.Drawing; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
 
namespace QQ 
{ 
	///  
	/// about 的摘要说明。 
	///  
	public class about : System.Windows.Forms.Form 
	{ 
		private System.Windows.Forms.PictureBox pictureBox1; 
		private System.Windows.Forms.Label label1; 
		private System.Windows.Forms.Label label2; 
		private System.Windows.Forms.Button button1; 
		///  
		/// 必需的设计器变量。 
		///  
		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.pictureBox1 = new System.Windows.Forms.PictureBox(); 
			this.label1 = new System.Windows.Forms.Label(); 
			this.label2 = new System.Windows.Forms.Label(); 
			this.button1 = new System.Windows.Forms.Button(); 
			this.SuspendLayout(); 
			//  
			// pictureBox1 
			//  
			this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); 
			this.pictureBox1.Location = new System.Drawing.Point(8, 8); 
			this.pictureBox1.Name = "pictureBox1"; 
			this.pictureBox1.Size = new System.Drawing.Size(504, 176); 
			this.pictureBox1.TabIndex = 0; 
			this.pictureBox1.TabStop = false; 
			//  
			// label1 
			//  
			this.label1.Location = new System.Drawing.Point(136, 192); 
			this.label1.Name = "label1"; 
			this.label1.Size = new System.Drawing.Size(256, 16); 
			this.label1.TabIndex = 1; 
			this.label1.Text = "QQ2008  copyright @ MistySoft 2008"; 
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 
			//  
			// label2 
			//  
			this.label2.Location = new System.Drawing.Point(136, 208); 
			this.label2.Name = "label2"; 
			this.label2.Size = new System.Drawing.Size(256, 23); 
			this.label2.TabIndex = 2; 
			this.label2.Text = "版权所有 盗版不究"; 
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 
			//  
			// button1 
			//  
			this.button1.Location = new System.Drawing.Point(224, 232); 
			this.button1.Name = "button1"; 
			this.button1.TabIndex = 3; 
			this.button1.Text = "确定"; 
			this.button1.Click += new System.EventHandler(this.button1_Click); 
			//  
			// about 
			//  
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); 
			this.ClientSize = new System.Drawing.Size(512, 264); 
			this.ControlBox = false; 
			this.Controls.Add(this.button1); 
			this.Controls.Add(this.label2); 
			this.Controls.Add(this.label1); 
			this.Controls.Add(this.pictureBox1); 
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 
			this.Name = "about"; 
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 
			this.Text = "关于…"; 
			this.ResumeLayout(false); 
 
		} 
		#endregion 
 
		private void button1_Click(object sender, System.EventArgs e) 
		{ 
			this.Close(); 
		} 
	} 
}