www.pudn.com > Crawler_bemjh.rar > FileTypeForm.cs


using System; 
using System.Drawing; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
 
namespace Crawler 
{ 
	///  
	/// Summary description for FileTypeForm. 
	///  
	public class FileTypeForm : System.Windows.Forms.Form 
	{ 
		private System.Windows.Forms.Button buttonOK; 
		private System.Windows.Forms.Button buttonCancel; 
		private System.Windows.Forms.Label label1; 
		private System.Windows.Forms.Label label2; 
		private System.Windows.Forms.Label label3; 
		public System.Windows.Forms.TextBox textBoxTypeDescription; 
		private System.Windows.Forms.Label label5; 
		private System.Windows.Forms.Label label6; 
		public System.Windows.Forms.NumericUpDown numericUpDownMaxSize; 
		public System.Windows.Forms.NumericUpDown numericUpDownMinSize; 
		///  
		/// Required designer variable. 
		///  
		private System.ComponentModel.Container components = null; 
 
		public FileTypeForm() 
		{ 
			// 
			// 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 ) 
			{ 
				if(components != null) 
				{ 
					components.Dispose(); 
				} 
			} 
			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() 
		{ 
			this.buttonOK = new System.Windows.Forms.Button(); 
			this.buttonCancel = new System.Windows.Forms.Button(); 
			this.textBoxTypeDescription = new System.Windows.Forms.TextBox(); 
			this.label1 = new System.Windows.Forms.Label(); 
			this.label2 = new System.Windows.Forms.Label(); 
			this.label3 = new System.Windows.Forms.Label(); 
			this.numericUpDownMaxSize = new System.Windows.Forms.NumericUpDown(); 
			this.label5 = new System.Windows.Forms.Label(); 
			this.label6 = new System.Windows.Forms.Label(); 
			this.numericUpDownMinSize = new System.Windows.Forms.NumericUpDown(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxSize)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinSize)).BeginInit(); 
			this.SuspendLayout(); 
			//  
			// buttonOK 
			//  
			this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 
			this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; 
			this.buttonOK.Location = new System.Drawing.Point(407, 9); 
			this.buttonOK.Name = "buttonOK"; 
			this.buttonOK.Size = new System.Drawing.Size(90, 24); 
			this.buttonOK.TabIndex = 4; 
			this.buttonOK.Text = "确定"; 
			//  
			// buttonCancel 
			//  
			this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 
			this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; 
			this.buttonCancel.Location = new System.Drawing.Point(407, 40); 
			this.buttonCancel.Name = "buttonCancel"; 
			this.buttonCancel.Size = new System.Drawing.Size(90, 25); 
			this.buttonCancel.TabIndex = 3; 
			this.buttonCancel.Text = "取消"; 
			//  
			// textBoxTypeDescription 
			//  
			this.textBoxTypeDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)  
				| System.Windows.Forms.AnchorStyles.Right))); 
			this.textBoxTypeDescription.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.textBoxTypeDescription.Location = new System.Drawing.Point(19, 26); 
			this.textBoxTypeDescription.Name = "textBoxTypeDescription"; 
			this.textBoxTypeDescription.Size = new System.Drawing.Size(369, 21); 
			this.textBoxTypeDescription.TabIndex = 8; 
			this.textBoxTypeDescription.Text = ""; 
			//  
			// label1 
			//  
			this.label1.Location = new System.Drawing.Point(19, 9); 
			this.label1.Name = "label1"; 
			this.label1.Size = new System.Drawing.Size(135, 17); 
			this.label1.TabIndex = 6; 
			this.label1.Text = "MIME类型:"; 
			//  
			// label2 
			//  
			this.label2.AutoSize = true; 
			this.label2.Location = new System.Drawing.Point(19, 60); 
			this.label2.Name = "label2"; 
			this.label2.Size = new System.Drawing.Size(54, 17); 
			this.label2.TabIndex = 5; 
			this.label2.Text = "最小值:"; 
			//  
			// label3 
			//  
			this.label3.AutoSize = true; 
			this.label3.Location = new System.Drawing.Point(201, 60); 
			this.label3.Name = "label3"; 
			this.label3.Size = new System.Drawing.Size(54, 17); 
			this.label3.TabIndex = 5; 
			this.label3.Text = "最大值:"; 
			//  
			// numericUpDownMaxSize 
			//  
			this.numericUpDownMaxSize.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownMaxSize.Location = new System.Drawing.Point(260, 56); 
			this.numericUpDownMaxSize.Maximum = new System.Decimal(new int[] { 
																				 100000000, 
																				 0, 
																				 0, 
																				 0}); 
			this.numericUpDownMaxSize.Name = "numericUpDownMaxSize"; 
			this.numericUpDownMaxSize.Size = new System.Drawing.Size(77, 21); 
			this.numericUpDownMaxSize.TabIndex = 9; 
			this.numericUpDownMaxSize.Tag = ""; 
			//  
			// label5 
			//  
			this.label5.AutoSize = true; 
			this.label5.Location = new System.Drawing.Point(348, 60); 
			this.label5.Name = "label5"; 
			this.label5.Size = new System.Drawing.Size(29, 17); 
			this.label5.TabIndex = 5; 
			this.label5.Text = "(KB)"; 
			//  
			// label6 
			//  
			this.label6.AutoSize = true; 
			this.label6.Location = new System.Drawing.Point(161, 60); 
			this.label6.Name = "label6"; 
			this.label6.Size = new System.Drawing.Size(29, 17); 
			this.label6.TabIndex = 5; 
			this.label6.Text = "(KB)"; 
			//  
			// numericUpDownMinSize 
			//  
			this.numericUpDownMinSize.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownMinSize.Location = new System.Drawing.Point(80, 56); 
			this.numericUpDownMinSize.Maximum = new System.Decimal(new int[] { 
																				 100000000, 
																				 0, 
																				 0, 
																				 0}); 
			this.numericUpDownMinSize.Name = "numericUpDownMinSize"; 
			this.numericUpDownMinSize.Size = new System.Drawing.Size(77, 21); 
			this.numericUpDownMinSize.TabIndex = 9; 
			this.numericUpDownMinSize.Tag = ""; 
			//  
			// FileTypeForm 
			//  
			this.AcceptButton = this.buttonOK; 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); 
			this.CancelButton = this.buttonCancel; 
			this.ClientSize = new System.Drawing.Size(514, 95); 
			this.Controls.Add(this.numericUpDownMaxSize); 
			this.Controls.Add(this.textBoxTypeDescription); 
			this.Controls.Add(this.label1); 
			this.Controls.Add(this.label2); 
			this.Controls.Add(this.buttonOK); 
			this.Controls.Add(this.buttonCancel); 
			this.Controls.Add(this.label3); 
			this.Controls.Add(this.label5); 
			this.Controls.Add(this.label6); 
			this.Controls.Add(this.numericUpDownMinSize); 
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 
			this.MaximizeBox = false; 
			this.MinimizeBox = false; 
			this.Name = "FileTypeForm"; 
			this.Text = "编辑文件类型"; 
			this.Load += new System.EventHandler(this.FileTypeForm_Load); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxSize)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinSize)).EndInit(); 
			this.ResumeLayout(false); 
 
		} 
		#endregion 
 
		private void FileTypeForm_Load(object sender, System.EventArgs e) 
		{ 
		 
		} 
	} 
}