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


using System; 
using System.Drawing; 
using System.Text; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
using CrawlerLib; 
 
namespace Crawler 
{ 
	///  
	/// Summary description for SettingsForm. 
	///  
	public class SettingsForm : System.Windows.Forms.Form 
	{ 
		public int SelectedIndex = -1; 
		private System.Windows.Forms.TabControl tabControlSettings; 
		private System.Windows.Forms.Button buttonSettingsOK; 
		private System.Windows.Forms.Button buttonSettingsCancel; 
		private System.Windows.Forms.GroupBox groupBox1; 
		private System.Windows.Forms.CheckBox checkBoxSettingsUseWindowsDefaultCodePage; 
		private System.Windows.Forms.ComboBox comboBoxSettingsCodePage; 
		private System.Windows.Forms.GroupBox groupBox3; 
		private System.Windows.Forms.TabPage tabPageFileMatches; 
		private System.Windows.Forms.Label label9; 
		private System.Windows.Forms.ListView listViewFileMatches; 
		private System.Windows.Forms.ColumnHeader columnHeader1; 
		private System.Windows.Forms.Button buttonAddExt; 
		private System.Windows.Forms.Button buttonEditExt; 
		private System.Windows.Forms.Button buttonDeleteExt; 
		private System.Windows.Forms.ColumnHeader columnHeader3; 
		private System.Windows.Forms.Label label10; 
		private System.Windows.Forms.Button buttonDownloadFolderBrowse; 
		private System.Windows.Forms.TextBox textBoxDownloadFolder; 
		private System.Windows.Forms.TabPage tabPageAdvanced; 
		private System.Windows.Forms.TabPage tabPageOutput; 
		private System.Windows.Forms.TabPage tabPageConnections; 
		private System.Windows.Forms.GroupBox groupBox2; 
		private System.Windows.Forms.Label label17; 
		private System.Windows.Forms.Label label18; 
		private System.Windows.Forms.TextBox textBoxExcludePages; 
		private System.Windows.Forms.TextBox textBoxExcludeFiles; 
		private System.Windows.Forms.TextBox textBoxExcludeURLs; 
		private System.Windows.Forms.Label label19; 
		private System.Windows.Forms.ColumnHeader columnHeaderMatchText; 
		private System.Windows.Forms.ColumnHeader columnHeaderMatchName; 
		private System.Windows.Forms.ColumnHeader columnHeader2; 
		private System.Windows.Forms.CheckBox checkBox1; 
		private System.Windows.Forms.GroupBox groupBox4; 
		private System.Windows.Forms.NumericUpDown numericUpDownRequests; 
		private System.Windows.Forms.Label label20; 
		private System.Windows.Forms.Label label1; 
		private System.Windows.Forms.NumericUpDown numericUpDownError; 
		private System.Windows.Forms.Label label7; 
		private System.Windows.Forms.NumericUpDown numericUpDownURL; 
		private System.Windows.Forms.CheckBox checkBoxIsSavetoFolder; 
		private System.Windows.Forms.GroupBox groupBox5; 
		private System.Windows.Forms.CheckBox checkBox2; 
		private System.Windows.Forms.NumericUpDown numericUpDownRunThreadsCount; 
		private System.Windows.Forms.Label label3; 
		private System.Windows.Forms.Label label2; 
		private System.Windows.Forms.NumericUpDown numericUpDownSleepTime; 
		private System.Windows.Forms.Label label4; 
		private System.Windows.Forms.NumericUpDown numericUpDown1; 
		private System.Windows.Forms.Label label5; 
		private System.Windows.Forms.Label label6; 
		private System.Windows.Forms.Label label11; 
		private System.Windows.Forms.Label labelWebDepth; 
		private System.Windows.Forms.NumericUpDown numericUpDownWebDepth; 
		private System.Windows.Forms.CheckBox checkBoxKeepURLServer; 
		private System.Windows.Forms.Label label12; 
		private System.Windows.Forms.Label label13; 
		private System.Windows.Forms.Label label14; 
		private System.Windows.Forms.NumericUpDown numericUpDown2; 
		private System.Windows.Forms.Label label8; 
		private System.Windows.Forms.NumericUpDown numericUpDownDownloadSubPageNum; 
		private System.Windows.Forms.Label label15; 
		private System.Windows.Forms.GroupBox groupBox6; 
		private System.Windows.Forms.Label label16; 
		private System.Windows.Forms.Label label21; 
		private System.Windows.Forms.Label label22; 
		private System.Windows.Forms.TextBox textBox1; 
		private System.Windows.Forms.Label label23; 
		private System.Windows.Forms.TextBox textBox2; 
		private System.Windows.Forms.TextBox textBox3; 
		private System.Windows.Forms.TextBox textBox4; 
		private System.Windows.Forms.Label label24; 
		private System.Windows.Forms.NumericUpDown numericUpDown3; 
		private System.Windows.Forms.Label label25; 
		///  
		/// Required designer variable. 
		///  
		private System.ComponentModel.Container components = null; 
 
		public SettingsForm() 
		{ 
			// 
			// Required for Windows Form Designer support 
			// 
			InitializeComponent(); 
 
		} 
 
		///  
		/// 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() 
		{ 
			System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "text/richtext", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "text/html", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "audio/x-aiff", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "audio/basic", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "audio/wav", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "image/gif", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "image/jpeg", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "image/pjpeg", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem(new string[] { 
																													 "image/tiff", 
																													 "0", 
																													 "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/x-png", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/x-xbitmap", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/bmp", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem13 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/x-jg", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem14 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/x-emf", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem15 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "image/x-wmf", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem16 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "video/avi", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem17 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "video/mpeg", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem18 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/postscript", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem19 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/base64", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem20 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/macbinhex40", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem21 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/pdf", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem22 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/x-compressed", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem23 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/x-zip-compressed", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem24 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/x-gzip-compressed", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem25 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/java", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Windows.Forms.ListViewItem listViewItem26 = new System.Windows.Forms.ListViewItem(new string[] { 
																													  "application/x-msdownload", 
																													  "0", 
																													  "0"}, -1, System.Drawing.SystemColors.WindowText, System.Drawing.Color.WhiteSmoke, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))); 
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SettingsForm)); 
			this.tabControlSettings = new System.Windows.Forms.TabControl(); 
			this.tabPageFileMatches = new System.Windows.Forms.TabPage(); 
			this.checkBox1 = new System.Windows.Forms.CheckBox(); 
			this.buttonAddExt = new System.Windows.Forms.Button(); 
			this.label9 = new System.Windows.Forms.Label(); 
			this.listViewFileMatches = new System.Windows.Forms.ListView(); 
			this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); 
			this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); 
			this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); 
			this.buttonEditExt = new System.Windows.Forms.Button(); 
			this.buttonDeleteExt = new System.Windows.Forms.Button(); 
			this.tabPageOutput = new System.Windows.Forms.TabPage(); 
			this.groupBox4 = new System.Windows.Forms.GroupBox(); 
			this.numericUpDownRequests = new System.Windows.Forms.NumericUpDown(); 
			this.label20 = new System.Windows.Forms.Label(); 
			this.numericUpDownError = new System.Windows.Forms.NumericUpDown(); 
			this.label1 = new System.Windows.Forms.Label(); 
			this.label7 = new System.Windows.Forms.Label(); 
			this.numericUpDownURL = new System.Windows.Forms.NumericUpDown(); 
			this.groupBox3 = new System.Windows.Forms.GroupBox(); 
			this.checkBoxIsSavetoFolder = new System.Windows.Forms.CheckBox(); 
			this.buttonDownloadFolderBrowse = new System.Windows.Forms.Button(); 
			this.label10 = new System.Windows.Forms.Label(); 
			this.textBoxDownloadFolder = new System.Windows.Forms.TextBox(); 
			this.tabPageConnections = new System.Windows.Forms.TabPage(); 
			this.groupBox6 = new System.Windows.Forms.GroupBox(); 
			this.textBox1 = new System.Windows.Forms.TextBox(); 
			this.label16 = new System.Windows.Forms.Label(); 
			this.label21 = new System.Windows.Forms.Label(); 
			this.label22 = new System.Windows.Forms.Label(); 
			this.label23 = new System.Windows.Forms.Label(); 
			this.textBox2 = new System.Windows.Forms.TextBox(); 
			this.textBox3 = new System.Windows.Forms.TextBox(); 
			this.textBox4 = new System.Windows.Forms.TextBox(); 
			this.groupBox5 = new System.Windows.Forms.GroupBox(); 
			this.label8 = new System.Windows.Forms.Label(); 
			this.checkBox2 = new System.Windows.Forms.CheckBox(); 
			this.numericUpDownRunThreadsCount = new System.Windows.Forms.NumericUpDown(); 
			this.label3 = new System.Windows.Forms.Label(); 
			this.label2 = new System.Windows.Forms.Label(); 
			this.numericUpDownSleepTime = new System.Windows.Forms.NumericUpDown(); 
			this.label4 = new System.Windows.Forms.Label(); 
			this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); 
			this.label5 = new System.Windows.Forms.Label(); 
			this.label6 = new System.Windows.Forms.Label(); 
			this.label11 = new System.Windows.Forms.Label(); 
			this.labelWebDepth = new System.Windows.Forms.Label(); 
			this.numericUpDownWebDepth = new System.Windows.Forms.NumericUpDown(); 
			this.checkBoxKeepURLServer = new System.Windows.Forms.CheckBox(); 
			this.label12 = new System.Windows.Forms.Label(); 
			this.label13 = new System.Windows.Forms.Label(); 
			this.label14 = new System.Windows.Forms.Label(); 
			this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); 
			this.numericUpDownDownloadSubPageNum = new System.Windows.Forms.NumericUpDown(); 
			this.label15 = new System.Windows.Forms.Label(); 
			this.tabPageAdvanced = new System.Windows.Forms.TabPage(); 
			this.groupBox2 = new System.Windows.Forms.GroupBox(); 
			this.textBoxExcludePages = new System.Windows.Forms.TextBox(); 
			this.label17 = new System.Windows.Forms.Label(); 
			this.textBoxExcludeFiles = new System.Windows.Forms.TextBox(); 
			this.label18 = new System.Windows.Forms.Label(); 
			this.textBoxExcludeURLs = new System.Windows.Forms.TextBox(); 
			this.label19 = new System.Windows.Forms.Label(); 
			this.groupBox1 = new System.Windows.Forms.GroupBox(); 
			this.checkBoxSettingsUseWindowsDefaultCodePage = new System.Windows.Forms.CheckBox(); 
			this.comboBoxSettingsCodePage = new System.Windows.Forms.ComboBox(); 
			this.buttonSettingsOK = new System.Windows.Forms.Button(); 
			this.buttonSettingsCancel = new System.Windows.Forms.Button(); 
			this.columnHeaderMatchText = new System.Windows.Forms.ColumnHeader(); 
			this.columnHeaderMatchName = new System.Windows.Forms.ColumnHeader(); 
			this.label24 = new System.Windows.Forms.Label(); 
			this.numericUpDown3 = new System.Windows.Forms.NumericUpDown(); 
			this.label25 = new System.Windows.Forms.Label(); 
			this.tabControlSettings.SuspendLayout(); 
			this.tabPageFileMatches.SuspendLayout(); 
			this.tabPageOutput.SuspendLayout(); 
			this.groupBox4.SuspendLayout(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownRequests)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownError)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownURL)).BeginInit(); 
			this.groupBox3.SuspendLayout(); 
			this.tabPageConnections.SuspendLayout(); 
			this.groupBox6.SuspendLayout(); 
			this.groupBox5.SuspendLayout(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownRunThreadsCount)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownSleepTime)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownWebDepth)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownDownloadSubPageNum)).BeginInit(); 
			this.tabPageAdvanced.SuspendLayout(); 
			this.groupBox2.SuspendLayout(); 
			this.groupBox1.SuspendLayout(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit(); 
			this.SuspendLayout(); 
			//  
			// tabControlSettings 
			//  
			this.tabControlSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)  
				| System.Windows.Forms.AnchorStyles.Left)  
				| System.Windows.Forms.AnchorStyles.Right))); 
			this.tabControlSettings.Controls.Add(this.tabPageFileMatches); 
			this.tabControlSettings.Controls.Add(this.tabPageOutput); 
			this.tabControlSettings.Controls.Add(this.tabPageConnections); 
			this.tabControlSettings.Controls.Add(this.tabPageAdvanced); 
			this.tabControlSettings.Location = new System.Drawing.Point(0, 0); 
			this.tabControlSettings.Name = "tabControlSettings"; 
			this.tabControlSettings.SelectedIndex = 0; 
			this.tabControlSettings.Size = new System.Drawing.Size(559, 304); 
			this.tabControlSettings.TabIndex = 1; 
			this.tabControlSettings.Tag = "Settings tab"; 
			//  
			// tabPageFileMatches 
			//  
			this.tabPageFileMatches.Controls.Add(this.checkBox1); 
			this.tabPageFileMatches.Controls.Add(this.buttonAddExt); 
			this.tabPageFileMatches.Controls.Add(this.label9); 
			this.tabPageFileMatches.Controls.Add(this.listViewFileMatches); 
			this.tabPageFileMatches.Controls.Add(this.buttonEditExt); 
			this.tabPageFileMatches.Controls.Add(this.buttonDeleteExt); 
			this.tabPageFileMatches.Location = new System.Drawing.Point(4, 21); 
			this.tabPageFileMatches.Name = "tabPageFileMatches"; 
			this.tabPageFileMatches.Size = new System.Drawing.Size(551, 279); 
			this.tabPageFileMatches.TabIndex = 4; 
			this.tabPageFileMatches.Tag = ""; 
			this.tabPageFileMatches.Text = "MIME 类型"; 
			//  
			// checkBox1 
			//  
			this.checkBox1.Checked = true; 
			this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; 
			this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
			this.checkBox1.Location = new System.Drawing.Point(19, 9); 
			this.checkBox1.Name = "checkBox1"; 
			this.checkBox1.Size = new System.Drawing.Size(202, 25); 
			this.checkBox1.TabIndex = 8; 
			this.checkBox1.Tag = "Allow all MIME types"; 
			this.checkBox1.Text = "允许所有类型"; 
			//  
			// buttonAddExt 
			//  
			this.buttonAddExt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 
			this.buttonAddExt.Location = new System.Drawing.Point(120, 248); 
			this.buttonAddExt.Name = "buttonAddExt"; 
			this.buttonAddExt.Size = new System.Drawing.Size(90, 24); 
			this.buttonAddExt.TabIndex = 1; 
			this.buttonAddExt.Text = "添加..."; 
			this.buttonAddExt.Click += new System.EventHandler(this.buttonAddExt_Click); 
			//  
			// label9 
			//  
			this.label9.Location = new System.Drawing.Point(19, 34); 
			this.label9.Name = "label9"; 
			this.label9.Size = new System.Drawing.Size(120, 18); 
			this.label9.TabIndex = 7; 
			this.label9.Text = "MIME 类型: "; 
			//  
			// listViewFileMatches 
			//  
			this.listViewFileMatches.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)  
				| System.Windows.Forms.AnchorStyles.Left)  
				| System.Windows.Forms.AnchorStyles.Right))); 
			this.listViewFileMatches.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.listViewFileMatches.CheckBoxes = true; 
			this.listViewFileMatches.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 
																								  this.columnHeader1, 
																								  this.columnHeader2, 
																								  this.columnHeader3}); 
			this.listViewFileMatches.FullRowSelect = true; 
			this.listViewFileMatches.GridLines = true; 
			listViewItem1.Checked = true; 
			listViewItem1.StateImageIndex = 1; 
			listViewItem1.Tag = ""; 
			listViewItem2.Checked = true; 
			listViewItem2.StateImageIndex = 1; 
			listViewItem2.Tag = ""; 
			listViewItem3.Checked = true; 
			listViewItem3.StateImageIndex = 1; 
			listViewItem3.Tag = ""; 
			listViewItem4.Checked = true; 
			listViewItem4.StateImageIndex = 1; 
			listViewItem4.Tag = ""; 
			listViewItem5.Checked = true; 
			listViewItem5.StateImageIndex = 1; 
			listViewItem5.Tag = ""; 
			listViewItem6.Checked = true; 
			listViewItem6.StateImageIndex = 1; 
			listViewItem6.Tag = ""; 
			listViewItem7.Checked = true; 
			listViewItem7.StateImageIndex = 1; 
			listViewItem7.Tag = ""; 
			listViewItem8.Checked = true; 
			listViewItem8.StateImageIndex = 1; 
			listViewItem8.Tag = ""; 
			listViewItem9.Checked = true; 
			listViewItem9.StateImageIndex = 1; 
			listViewItem9.Tag = ""; 
			listViewItem10.Checked = true; 
			listViewItem10.StateImageIndex = 1; 
			listViewItem10.Tag = ""; 
			listViewItem11.Checked = true; 
			listViewItem11.StateImageIndex = 1; 
			listViewItem11.Tag = ""; 
			listViewItem12.Checked = true; 
			listViewItem12.StateImageIndex = 1; 
			listViewItem12.Tag = ""; 
			listViewItem13.Checked = true; 
			listViewItem13.StateImageIndex = 1; 
			listViewItem13.Tag = ""; 
			listViewItem14.Checked = true; 
			listViewItem14.StateImageIndex = 1; 
			listViewItem14.Tag = ""; 
			listViewItem15.Checked = true; 
			listViewItem15.StateImageIndex = 1; 
			listViewItem15.Tag = ""; 
			listViewItem16.Checked = true; 
			listViewItem16.StateImageIndex = 1; 
			listViewItem16.Tag = ""; 
			listViewItem17.Checked = true; 
			listViewItem17.StateImageIndex = 1; 
			listViewItem17.Tag = ""; 
			listViewItem18.Checked = true; 
			listViewItem18.StateImageIndex = 1; 
			listViewItem18.Tag = ""; 
			listViewItem19.Checked = true; 
			listViewItem19.StateImageIndex = 1; 
			listViewItem19.Tag = ""; 
			listViewItem20.Checked = true; 
			listViewItem20.StateImageIndex = 1; 
			listViewItem20.Tag = ""; 
			listViewItem21.Checked = true; 
			listViewItem21.StateImageIndex = 1; 
			listViewItem21.Tag = ""; 
			listViewItem22.Checked = true; 
			listViewItem22.StateImageIndex = 1; 
			listViewItem22.Tag = ""; 
			listViewItem23.Checked = true; 
			listViewItem23.StateImageIndex = 1; 
			listViewItem23.Tag = ""; 
			listViewItem24.Checked = true; 
			listViewItem24.StateImageIndex = 1; 
			listViewItem24.Tag = ""; 
			listViewItem25.Checked = true; 
			listViewItem25.StateImageIndex = 1; 
			listViewItem25.Tag = ""; 
			listViewItem26.Checked = true; 
			listViewItem26.StateImageIndex = 1; 
			listViewItem26.Tag = ""; 
			this.listViewFileMatches.Items.AddRange(new System.Windows.Forms.ListViewItem[] { 
																								listViewItem1, 
																								listViewItem2, 
																								listViewItem3, 
																								listViewItem4, 
																								listViewItem5, 
																								listViewItem6, 
																								listViewItem7, 
																								listViewItem8, 
																								listViewItem9, 
																								listViewItem10, 
																								listViewItem11, 
																								listViewItem12, 
																								listViewItem13, 
																								listViewItem14, 
																								listViewItem15, 
																								listViewItem16, 
																								listViewItem17, 
																								listViewItem18, 
																								listViewItem19, 
																								listViewItem20, 
																								listViewItem21, 
																								listViewItem22, 
																								listViewItem23, 
																								listViewItem24, 
																								listViewItem25, 
																								listViewItem26}); 
			this.listViewFileMatches.Location = new System.Drawing.Point(24, 56); 
			this.listViewFileMatches.MultiSelect = false; 
			this.listViewFileMatches.Name = "listViewFileMatches"; 
			this.listViewFileMatches.Size = new System.Drawing.Size(512, 184); 
			this.listViewFileMatches.TabIndex = 0; 
			this.listViewFileMatches.Tag = "Settings"; 
			this.listViewFileMatches.View = System.Windows.Forms.View.Details; 
			//  
			// columnHeader1 
			//  
			this.columnHeader1.Text = "Category"; 
			this.columnHeader1.Width = 300; 
			//  
			// columnHeader2 
			//  
			this.columnHeader2.Text = "Min"; 
			this.columnHeader2.Width = 50; 
			//  
			// columnHeader3 
			//  
			this.columnHeader3.Text = "Max"; 
			this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 
			this.columnHeader3.Width = 50; 
			//  
			// buttonEditExt 
			//  
			this.buttonEditExt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 
			this.buttonEditExt.Location = new System.Drawing.Point(216, 248); 
			this.buttonEditExt.Name = "buttonEditExt"; 
			this.buttonEditExt.Size = new System.Drawing.Size(90, 24); 
			this.buttonEditExt.TabIndex = 2; 
			this.buttonEditExt.Text = "编辑..."; 
			this.buttonEditExt.Click += new System.EventHandler(this.buttonEditExt_Click); 
			//  
			// buttonDeleteExt 
			//  
			this.buttonDeleteExt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 
			this.buttonDeleteExt.Location = new System.Drawing.Point(312, 248); 
			this.buttonDeleteExt.Name = "buttonDeleteExt"; 
			this.buttonDeleteExt.Size = new System.Drawing.Size(90, 24); 
			this.buttonDeleteExt.TabIndex = 3; 
			this.buttonDeleteExt.Text = "删除"; 
			this.buttonDeleteExt.Click += new System.EventHandler(this.buttonDeleteExt_Click); 
			//  
			// tabPageOutput 
			//  
			this.tabPageOutput.Controls.Add(this.groupBox4); 
			this.tabPageOutput.Controls.Add(this.groupBox3); 
			this.tabPageOutput.Location = new System.Drawing.Point(4, 21); 
			this.tabPageOutput.Name = "tabPageOutput"; 
			this.tabPageOutput.Size = new System.Drawing.Size(551, 279); 
			this.tabPageOutput.TabIndex = 2; 
			this.tabPageOutput.Tag = ""; 
			this.tabPageOutput.Text = "输出"; 
			//  
			// groupBox4 
			//  
			this.groupBox4.Controls.Add(this.numericUpDownRequests); 
			this.groupBox4.Controls.Add(this.label20); 
			this.groupBox4.Controls.Add(this.numericUpDownError); 
			this.groupBox4.Controls.Add(this.label1); 
			this.groupBox4.Controls.Add(this.label7); 
			this.groupBox4.Controls.Add(this.numericUpDownURL); 
			this.groupBox4.Location = new System.Drawing.Point(16, 109); 
			this.groupBox4.Name = "groupBox4"; 
			this.groupBox4.Size = new System.Drawing.Size(520, 136); 
			this.groupBox4.TabIndex = 8; 
			this.groupBox4.TabStop = false; 
			this.groupBox4.Text = "记录显示条数"; 
			//  
			// numericUpDownRequests 
			//  
			this.numericUpDownRequests.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownRequests.Location = new System.Drawing.Point(120, 24); 
			this.numericUpDownRequests.Maximum = new System.Decimal(new int[] { 
																				  1000, 
																				  0, 
																				  0, 
																				  0}); 
			this.numericUpDownRequests.Name = "numericUpDownRequests"; 
			this.numericUpDownRequests.Size = new System.Drawing.Size(77, 21); 
			this.numericUpDownRequests.TabIndex = 13; 
			this.numericUpDownRequests.Tag = "View last requests count"; 
			this.numericUpDownRequests.Value = new System.Decimal(new int[] { 
																				20, 
																				0, 
																				0, 
																				0}); 
			//  
			// label20 
			//  
			this.label20.AutoSize = true; 
			this.label20.Location = new System.Drawing.Point(44, 26); 
			this.label20.Name = "label20"; 
			this.label20.Size = new System.Drawing.Size(66, 17); 
			this.label20.TabIndex = 15; 
			this.label20.Text = "请求列表:"; 
			//  
			// numericUpDownError 
			//  
			this.numericUpDownError.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownError.Location = new System.Drawing.Point(120, 63); 
			this.numericUpDownError.Maximum = new System.Decimal(new int[] { 
																			   1000, 
																			   0, 
																			   0, 
																			   0}); 
			this.numericUpDownError.Name = "numericUpDownError"; 
			this.numericUpDownError.Size = new System.Drawing.Size(77, 21); 
			this.numericUpDownError.TabIndex = 13; 
			this.numericUpDownError.Tag = "errorListNum"; 
			this.numericUpDownError.Value = new System.Decimal(new int[] { 
																			 20, 
																			 0, 
																			 0, 
																			 0}); 
			//  
			// label1 
			//  
			this.label1.AutoSize = true; 
			this.label1.Location = new System.Drawing.Point(44, 65); 
			this.label1.Name = "label1"; 
			this.label1.Size = new System.Drawing.Size(66, 17); 
			this.label1.TabIndex = 15; 
			this.label1.Text = "错误列表:"; 
			//  
			// label7 
			//  
			this.label7.AutoSize = true; 
			this.label7.Location = new System.Drawing.Point(44, 104); 
			this.label7.Name = "label7"; 
			this.label7.Size = new System.Drawing.Size(60, 17); 
			this.label7.TabIndex = 15; 
			this.label7.Text = "URL列表:"; 
			//  
			// numericUpDownURL 
			//  
			this.numericUpDownURL.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownURL.Location = new System.Drawing.Point(120, 102); 
			this.numericUpDownURL.Maximum = new System.Decimal(new int[] { 
																			 1000, 
																			 0, 
																			 0, 
																			 0}); 
			this.numericUpDownURL.Name = "numericUpDownURL"; 
			this.numericUpDownURL.Size = new System.Drawing.Size(77, 21); 
			this.numericUpDownURL.TabIndex = 13; 
			this.numericUpDownURL.Tag = "URLListNum"; 
			this.numericUpDownURL.Value = new System.Decimal(new int[] { 
																		   20, 
																		   0, 
																		   0, 
																		   0}); 
			//  
			// groupBox3 
			//  
			this.groupBox3.Controls.Add(this.checkBoxIsSavetoFolder); 
			this.groupBox3.Controls.Add(this.buttonDownloadFolderBrowse); 
			this.groupBox3.Controls.Add(this.label10); 
			this.groupBox3.Controls.Add(this.textBoxDownloadFolder); 
			this.groupBox3.Location = new System.Drawing.Point(16, 13); 
			this.groupBox3.Name = "groupBox3"; 
			this.groupBox3.Size = new System.Drawing.Size(520, 79); 
			this.groupBox3.TabIndex = 7; 
			this.groupBox3.TabStop = false; 
			this.groupBox3.Text = "存放位置"; 
			//  
			// checkBoxIsSavetoFolder 
			//  
			this.checkBoxIsSavetoFolder.Location = new System.Drawing.Point(28, 12); 
			this.checkBoxIsSavetoFolder.Name = "checkBoxIsSavetoFolder"; 
			this.checkBoxIsSavetoFolder.Size = new System.Drawing.Size(116, 24); 
			this.checkBoxIsSavetoFolder.TabIndex = 6; 
			this.checkBoxIsSavetoFolder.Tag = "Is Save to Folder"; 
			this.checkBoxIsSavetoFolder.Text = "下载到文件夹"; 
			//  
			// buttonDownloadFolderBrowse 
			//  
			this.buttonDownloadFolderBrowse.Location = new System.Drawing.Point(472, 43); 
			this.buttonDownloadFolderBrowse.Name = "buttonDownloadFolderBrowse"; 
			this.buttonDownloadFolderBrowse.Size = new System.Drawing.Size(29, 22); 
			this.buttonDownloadFolderBrowse.TabIndex = 5; 
			this.buttonDownloadFolderBrowse.Text = "..."; 
			this.buttonDownloadFolderBrowse.Click += new System.EventHandler(this.buttonDownloadFolderBrowse_Click); 
			//  
			// label10 
			//  
			this.label10.AutoSize = true; 
			this.label10.Location = new System.Drawing.Point(24, 46); 
			this.label10.Name = "label10"; 
			this.label10.Size = new System.Drawing.Size(79, 17); 
			this.label10.TabIndex = 4; 
			this.label10.Text = "选择文件夹:"; 
			//  
			// textBoxDownloadFolder 
			//  
			this.textBoxDownloadFolder.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.textBoxDownloadFolder.Location = new System.Drawing.Point(112, 44); 
			this.textBoxDownloadFolder.Name = "textBoxDownloadFolder"; 
			this.textBoxDownloadFolder.Size = new System.Drawing.Size(344, 21); 
			this.textBoxDownloadFolder.TabIndex = 4; 
			this.textBoxDownloadFolder.Tag = "Download folder"; 
			this.textBoxDownloadFolder.Text = ""; 
			//  
			// tabPageConnections 
			//  
			this.tabPageConnections.Controls.Add(this.groupBox6); 
			this.tabPageConnections.Controls.Add(this.groupBox5); 
			this.tabPageConnections.Location = new System.Drawing.Point(4, 21); 
			this.tabPageConnections.Name = "tabPageConnections"; 
			this.tabPageConnections.Size = new System.Drawing.Size(551, 279); 
			this.tabPageConnections.TabIndex = 3; 
			this.tabPageConnections.Tag = ""; 
			this.tabPageConnections.Text = "连接"; 
			//  
			// groupBox6 
			//  
			this.groupBox6.Controls.Add(this.textBox1); 
			this.groupBox6.Controls.Add(this.label16); 
			this.groupBox6.Controls.Add(this.label21); 
			this.groupBox6.Controls.Add(this.label22); 
			this.groupBox6.Controls.Add(this.label23); 
			this.groupBox6.Controls.Add(this.textBox2); 
			this.groupBox6.Controls.Add(this.textBox3); 
			this.groupBox6.Controls.Add(this.textBox4); 
			this.groupBox6.Location = new System.Drawing.Point(8, 8); 
			this.groupBox6.Name = "groupBox6"; 
			this.groupBox6.Size = new System.Drawing.Size(536, 96); 
			this.groupBox6.TabIndex = 10; 
			this.groupBox6.TabStop = false; 
			this.groupBox6.Text = "数据库连接"; 
			//  
			// textBox1 
			//  
			this.textBox1.Location = new System.Drawing.Point(136, 20); 
			this.textBox1.MaxLength = 100; 
			this.textBox1.Name = "textBox1"; 
			this.textBox1.Size = new System.Drawing.Size(144, 21); 
			this.textBox1.TabIndex = 1; 
			this.textBox1.Tag = "Database Address"; 
			this.textBox1.Text = "localhost"; 
			//  
			// label16 
			//  
			this.label16.AutoSize = true; 
			this.label16.Location = new System.Drawing.Point(16, 24); 
			this.label16.Name = "label16"; 
			this.label16.Size = new System.Drawing.Size(116, 17); 
			this.label16.TabIndex = 0; 
			this.label16.Text = "数据库服务器地址:"; 
			//  
			// label21 
			//  
			this.label21.AutoSize = true; 
			this.label21.Location = new System.Drawing.Point(16, 64); 
			this.label21.Name = "label21"; 
			this.label21.Size = new System.Drawing.Size(79, 17); 
			this.label21.TabIndex = 0; 
			this.label21.Text = "数据库名称:"; 
			//  
			// label22 
			//  
			this.label22.AutoSize = true; 
			this.label22.Location = new System.Drawing.Point(320, 25); 
			this.label22.Name = "label22"; 
			this.label22.Size = new System.Drawing.Size(54, 17); 
			this.label22.TabIndex = 0; 
			this.label22.Text = "用户名:"; 
			//  
			// label23 
			//  
			this.label23.AutoSize = true; 
			this.label23.Location = new System.Drawing.Point(320, 64); 
			this.label23.Name = "label23"; 
			this.label23.Size = new System.Drawing.Size(42, 17); 
			this.label23.TabIndex = 0; 
			this.label23.Text = "密码:"; 
			//  
			// textBox2 
			//  
			this.textBox2.Location = new System.Drawing.Point(136, 60); 
			this.textBox2.MaxLength = 100; 
			this.textBox2.Name = "textBox2"; 
			this.textBox2.Size = new System.Drawing.Size(144, 21); 
			this.textBox2.TabIndex = 1; 
			this.textBox2.Tag = "Database Name"; 
			this.textBox2.Text = ""; 
			//  
			// textBox3 
			//  
			this.textBox3.Location = new System.Drawing.Point(384, 21); 
			this.textBox3.MaxLength = 100; 
			this.textBox3.Name = "textBox3"; 
			this.textBox3.Size = new System.Drawing.Size(128, 21); 
			this.textBox3.TabIndex = 1; 
			this.textBox3.Tag = "Database User Name"; 
			this.textBox3.Text = "sa"; 
			//  
			// textBox4 
			//  
			this.textBox4.Location = new System.Drawing.Point(384, 60); 
			this.textBox4.MaxLength = 128; 
			this.textBox4.Name = "textBox4"; 
			this.textBox4.PasswordChar = '#'; 
			this.textBox4.Size = new System.Drawing.Size(128, 21); 
			this.textBox4.TabIndex = 1; 
			this.textBox4.Tag = "Database Password"; 
			this.textBox4.Text = ""; 
			//  
			// groupBox5 
			//  
			this.groupBox5.Controls.Add(this.label24); 
			this.groupBox5.Controls.Add(this.numericUpDown3); 
			this.groupBox5.Controls.Add(this.label25); 
			this.groupBox5.Controls.Add(this.label8); 
			this.groupBox5.Controls.Add(this.checkBox2); 
			this.groupBox5.Controls.Add(this.numericUpDownRunThreadsCount); 
			this.groupBox5.Controls.Add(this.label3); 
			this.groupBox5.Controls.Add(this.label2); 
			this.groupBox5.Controls.Add(this.numericUpDownSleepTime); 
			this.groupBox5.Controls.Add(this.label4); 
			this.groupBox5.Controls.Add(this.numericUpDown1); 
			this.groupBox5.Controls.Add(this.label5); 
			this.groupBox5.Controls.Add(this.label6); 
			this.groupBox5.Controls.Add(this.label11); 
			this.groupBox5.Controls.Add(this.labelWebDepth); 
			this.groupBox5.Controls.Add(this.numericUpDownWebDepth); 
			this.groupBox5.Controls.Add(this.checkBoxKeepURLServer); 
			this.groupBox5.Controls.Add(this.label12); 
			this.groupBox5.Controls.Add(this.label13); 
			this.groupBox5.Controls.Add(this.label14); 
			this.groupBox5.Controls.Add(this.numericUpDown2); 
			this.groupBox5.Controls.Add(this.numericUpDownDownloadSubPageNum); 
			this.groupBox5.Controls.Add(this.label15); 
			this.groupBox5.Location = new System.Drawing.Point(8, 120); 
			this.groupBox5.Name = "groupBox5"; 
			this.groupBox5.Size = new System.Drawing.Size(536, 152); 
			this.groupBox5.TabIndex = 9; 
			this.groupBox5.TabStop = false; 
			this.groupBox5.Text = "其它连接"; 
			//  
			// label8 
			//  
			this.label8.AutoSize = true; 
			this.label8.Location = new System.Drawing.Point(8, 72); 
			this.label8.Name = "label8"; 
			this.label8.Size = new System.Drawing.Size(190, 17); 
			this.label8.TabIndex = 26; 
			this.label8.Text = "每个主域名要下载的子页面个数:"; 
			//  
			// checkBox2 
			//  
			this.checkBox2.Checked = true; 
			this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; 
			this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
			this.checkBox2.Location = new System.Drawing.Point(8, 120); 
			this.checkBox2.Name = "checkBox2"; 
			this.checkBox2.Size = new System.Drawing.Size(101, 26); 
			this.checkBox2.TabIndex = 25; 
			this.checkBox2.Tag = "Keep connection alive"; 
			this.checkBox2.Text = "保持活动连接"; 
			//  
			// numericUpDownRunThreadsCount 
			//  
			this.numericUpDownRunThreadsCount.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownRunThreadsCount.Location = new System.Drawing.Point(431, 21); 
			this.numericUpDownRunThreadsCount.Minimum = new System.Decimal(new int[] { 
																						 1, 
																						 0, 
																						 0, 
																						 0}); 
			this.numericUpDownRunThreadsCount.Name = "numericUpDownRunThreadsCount"; 
			this.numericUpDownRunThreadsCount.Size = new System.Drawing.Size(52, 21); 
			this.numericUpDownRunThreadsCount.TabIndex = 16; 
			this.numericUpDownRunThreadsCount.Tag = "Threads count"; 
			this.numericUpDownRunThreadsCount.Value = new System.Decimal(new int[] { 
																					   10, 
																					   0, 
																					   0, 
																					   0}); 
			//  
			// label3 
			//  
			this.label3.AutoSize = true; 
			this.label3.Location = new System.Drawing.Point(336, 24); 
			this.label3.Name = "label3"; 
			this.label3.Size = new System.Drawing.Size(54, 17); 
			this.label3.TabIndex = 15; 
			this.label3.Text = "线程数:"; 
			//  
			// label2 
			//  
			this.label2.AutoSize = true; 
			this.label2.Location = new System.Drawing.Point(8, 24); 
			this.label2.Name = "label2"; 
			this.label2.Size = new System.Drawing.Size(202, 17); 
			this.label2.TabIndex = 17; 
			this.label2.Text = "当下载列表为空时线程的休眠时间:"; 
			//  
			// numericUpDownSleepTime 
			//  
			this.numericUpDownSleepTime.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownSleepTime.Location = new System.Drawing.Point(211, 21); 
			this.numericUpDownSleepTime.Maximum = new System.Decimal(new int[] { 
																				   60, 
																				   0, 
																				   0, 
																				   0}); 
			this.numericUpDownSleepTime.Minimum = new System.Decimal(new int[] { 
																				   1, 
																				   0, 
																				   0, 
																				   0}); 
			this.numericUpDownSleepTime.Name = "numericUpDownSleepTime"; 
			this.numericUpDownSleepTime.Size = new System.Drawing.Size(56, 21); 
			this.numericUpDownSleepTime.TabIndex = 20; 
			this.numericUpDownSleepTime.Tag = "Sleep fetch time"; 
			this.numericUpDownSleepTime.Value = new System.Decimal(new int[] { 
																				 2, 
																				 0, 
																				 0, 
																				 0}); 
			//  
			// label4 
			//  
			this.label4.AutoSize = true; 
			this.label4.Location = new System.Drawing.Point(8, 48); 
			this.label4.Name = "label4"; 
			this.label4.Size = new System.Drawing.Size(153, 17); 
			this.label4.TabIndex = 14; 
			this.label4.Text = "线程两次连接之间的间隔:"; 
			//  
			// numericUpDown1 
			//  
			this.numericUpDown1.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDown1.Location = new System.Drawing.Point(211, 46); 
			this.numericUpDown1.Maximum = new System.Decimal(new int[] { 
																		   60, 
																		   0, 
																		   0, 
																		   0}); 
			this.numericUpDown1.Name = "numericUpDown1"; 
			this.numericUpDown1.Size = new System.Drawing.Size(56, 21); 
			this.numericUpDown1.TabIndex = 21; 
			this.numericUpDown1.Tag = "Sleep connect time"; 
			this.numericUpDown1.Value = new System.Decimal(new int[] { 
																		 1, 
																		 0, 
																		 0, 
																		 0}); 
			//  
			// label5 
			//  
			this.label5.AutoSize = true; 
			this.label5.Location = new System.Drawing.Point(272, 23); 
			this.label5.Name = "label5"; 
			this.label5.Size = new System.Drawing.Size(29, 17); 
			this.label5.TabIndex = 10; 
			this.label5.Text = "(秒)"; 
			//  
			// label6 
			//  
			this.label6.AutoSize = true; 
			this.label6.Location = new System.Drawing.Point(272, 48); 
			this.label6.Name = "label6"; 
			this.label6.Size = new System.Drawing.Size(29, 17); 
			this.label6.TabIndex = 9; 
			this.label6.Text = "(秒)"; 
			//  
			// label11 
			//  
			this.label11.AutoSize = true; 
			this.label11.Location = new System.Drawing.Point(487, 24); 
			this.label11.Name = "label11"; 
			this.label11.Size = new System.Drawing.Size(29, 17); 
			this.label11.TabIndex = 11; 
			this.label11.Tag = ""; 
			this.label11.Text = "(条)"; 
			//  
			// labelWebDepth 
			//  
			this.labelWebDepth.AutoSize = true; 
			this.labelWebDepth.Location = new System.Drawing.Point(336, 75); 
			this.labelWebDepth.Name = "labelWebDepth"; 
			this.labelWebDepth.Size = new System.Drawing.Size(79, 17); 
			this.labelWebDepth.TabIndex = 19; 
			this.labelWebDepth.Text = "下载的深度:"; 
			//  
			// numericUpDownWebDepth 
			//  
			this.numericUpDownWebDepth.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownWebDepth.Location = new System.Drawing.Point(431, 71); 
			this.numericUpDownWebDepth.Maximum = new System.Decimal(new int[] { 
																				  20, 
																				  0, 
																				  0, 
																				  0}); 
			this.numericUpDownWebDepth.Name = "numericUpDownWebDepth"; 
			this.numericUpDownWebDepth.Size = new System.Drawing.Size(52, 21); 
			this.numericUpDownWebDepth.TabIndex = 23; 
			this.numericUpDownWebDepth.Tag = "Web depth"; 
			this.numericUpDownWebDepth.Value = new System.Decimal(new int[] { 
																				3, 
																				0, 
																				0, 
																				0}); 
			//  
			// checkBoxKeepURLServer 
			//  
			this.checkBoxKeepURLServer.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
			this.checkBoxKeepURLServer.Location = new System.Drawing.Point(8, 96); 
			this.checkBoxKeepURLServer.Name = "checkBoxKeepURLServer"; 
			this.checkBoxKeepURLServer.Size = new System.Drawing.Size(173, 24); 
			this.checkBoxKeepURLServer.TabIndex = 24; 
			this.checkBoxKeepURLServer.Tag = "Keep same URL server"; 
			this.checkBoxKeepURLServer.Text = "只下载同一个域名下的网页"; 
			//  
			// label12 
			//  
			this.label12.AutoSize = true; 
			this.label12.Location = new System.Drawing.Point(487, 73); 
			this.label12.Name = "label12"; 
			this.label12.Size = new System.Drawing.Size(29, 17); 
			this.label12.TabIndex = 13; 
			this.label12.Text = "(页)"; 
			//  
			// label13 
			//  
			this.label13.AutoSize = true; 
			this.label13.Location = new System.Drawing.Point(487, 48); 
			this.label13.Name = "label13"; 
			this.label13.Size = new System.Drawing.Size(29, 17); 
			this.label13.TabIndex = 12; 
			this.label13.Text = "(秒)"; 
			//  
			// label14 
			//  
			this.label14.AutoSize = true; 
			this.label14.Location = new System.Drawing.Point(336, 48); 
			this.label14.Name = "label14"; 
			this.label14.Size = new System.Drawing.Size(66, 17); 
			this.label14.TabIndex = 18; 
			this.label14.Text = "超时时间:"; 
			//  
			// numericUpDown2 
			//  
			this.numericUpDown2.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDown2.Location = new System.Drawing.Point(431, 46); 
			this.numericUpDown2.Maximum = new System.Decimal(new int[] { 
																		   60, 
																		   0, 
																		   0, 
																		   0}); 
			this.numericUpDown2.Minimum = new System.Decimal(new int[] { 
																		   1, 
																		   0, 
																		   0, 
																		   0}); 
			this.numericUpDown2.Name = "numericUpDown2"; 
			this.numericUpDown2.Size = new System.Drawing.Size(52, 21); 
			this.numericUpDown2.TabIndex = 22; 
			this.numericUpDown2.Tag = "Request timeout"; 
			this.numericUpDown2.Value = new System.Decimal(new int[] { 
																		 20, 
																		 0, 
																		 0, 
																		 0}); 
			//  
			// numericUpDownDownloadSubPageNum 
			//  
			this.numericUpDownDownloadSubPageNum.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDownDownloadSubPageNum.Location = new System.Drawing.Point(211, 70); 
			this.numericUpDownDownloadSubPageNum.Name = "numericUpDownDownloadSubPageNum"; 
			this.numericUpDownDownloadSubPageNum.Size = new System.Drawing.Size(56, 21); 
			this.numericUpDownDownloadSubPageNum.TabIndex = 21; 
			this.numericUpDownDownloadSubPageNum.Tag = "download Sub Page Num"; 
			this.numericUpDownDownloadSubPageNum.Value = new System.Decimal(new int[] { 
																						  20, 
																						  0, 
																						  0, 
																						  0}); 
			//  
			// label15 
			//  
			this.label15.AutoSize = true; 
			this.label15.Location = new System.Drawing.Point(272, 72); 
			this.label15.Name = "label15"; 
			this.label15.Size = new System.Drawing.Size(29, 17); 
			this.label15.TabIndex = 9; 
			this.label15.Text = "(个)"; 
			//  
			// tabPageAdvanced 
			//  
			this.tabPageAdvanced.Controls.Add(this.groupBox2); 
			this.tabPageAdvanced.Controls.Add(this.groupBox1); 
			this.tabPageAdvanced.Location = new System.Drawing.Point(4, 21); 
			this.tabPageAdvanced.Name = "tabPageAdvanced"; 
			this.tabPageAdvanced.Size = new System.Drawing.Size(551, 279); 
			this.tabPageAdvanced.TabIndex = 1; 
			this.tabPageAdvanced.Tag = ""; 
			this.tabPageAdvanced.Text = "高级"; 
			//  
			// groupBox2 
			//  
			this.groupBox2.Controls.Add(this.textBoxExcludePages); 
			this.groupBox2.Controls.Add(this.label17); 
			this.groupBox2.Controls.Add(this.textBoxExcludeFiles); 
			this.groupBox2.Controls.Add(this.label18); 
			this.groupBox2.Controls.Add(this.textBoxExcludeURLs); 
			this.groupBox2.Controls.Add(this.label19); 
			this.groupBox2.Location = new System.Drawing.Point(19, 95); 
			this.groupBox2.Name = "groupBox2"; 
			this.groupBox2.Size = new System.Drawing.Size(509, 163); 
			this.groupBox2.TabIndex = 5; 
			this.groupBox2.TabStop = false; 
			this.groupBox2.Text = "排除"; 
			//  
			// textBoxExcludePages 
			//  
			this.textBoxExcludePages.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.textBoxExcludePages.Location = new System.Drawing.Point(10, 43); 
			this.textBoxExcludePages.Name = "textBoxExcludePages"; 
			this.textBoxExcludePages.Size = new System.Drawing.Size(489, 21); 
			this.textBoxExcludePages.TabIndex = 0; 
			this.textBoxExcludePages.Tag = "Exclude words"; 
			this.textBoxExcludePages.Text = ""; 
			//  
			// label17 
			//  
			this.label17.Location = new System.Drawing.Point(10, 26); 
			this.label17.Name = "label17"; 
			this.label17.Size = new System.Drawing.Size(489, 17); 
			this.label17.TabIndex = 5; 
			this.label17.Text = "页面中不能含有的词:(用半角分号隔开 \';\')"; 
			//  
			// textBoxExcludeFiles 
			//  
			this.textBoxExcludeFiles.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.textBoxExcludeFiles.Location = new System.Drawing.Point(10, 129); 
			this.textBoxExcludeFiles.Name = "textBoxExcludeFiles"; 
			this.textBoxExcludeFiles.Size = new System.Drawing.Size(489, 21); 
			this.textBoxExcludeFiles.TabIndex = 2; 
			this.textBoxExcludeFiles.Tag = "Exclude files"; 
			this.textBoxExcludeFiles.Text = ""; 
			//  
			// label18 
			//  
			this.label18.Location = new System.Drawing.Point(10, 112); 
			this.label18.Name = "label18"; 
			this.label18.Size = new System.Drawing.Size(489, 17); 
			this.label18.TabIndex = 5; 
			this.label18.Text = "文件名中不含有的扩展名:(用半角分号隔开 \';\')"; 
			//  
			// textBoxExcludeURLs 
			//  
			this.textBoxExcludeURLs.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.textBoxExcludeURLs.Location = new System.Drawing.Point(10, 86); 
			this.textBoxExcludeURLs.Name = "textBoxExcludeURLs"; 
			this.textBoxExcludeURLs.Size = new System.Drawing.Size(489, 21); 
			this.textBoxExcludeURLs.TabIndex = 1; 
			this.textBoxExcludeURLs.Tag = "Exclude Hosts"; 
			this.textBoxExcludeURLs.Text = ".org; .gov;"; 
			//  
			// label19 
			//  
			this.label19.Location = new System.Drawing.Point(10, 69); 
			this.label19.Name = "label19"; 
			this.label19.Size = new System.Drawing.Size(489, 17); 
			this.label19.TabIndex = 5; 
			this.label19.Text = "排除哪些域名: (如: .org; .gov; .net)"; 
			//  
			// groupBox1 
			//  
			this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)  
				| System.Windows.Forms.AnchorStyles.Right))); 
			this.groupBox1.Controls.Add(this.checkBoxSettingsUseWindowsDefaultCodePage); 
			this.groupBox1.Controls.Add(this.comboBoxSettingsCodePage); 
			this.groupBox1.Location = new System.Drawing.Point(19, 9); 
			this.groupBox1.Name = "groupBox1"; 
			this.groupBox1.Size = new System.Drawing.Size(511, 77); 
			this.groupBox1.TabIndex = 4; 
			this.groupBox1.TabStop = false; 
			this.groupBox1.Text = "代码页"; 
			//  
			// checkBoxSettingsUseWindowsDefaultCodePage 
			//  
			this.checkBoxSettingsUseWindowsDefaultCodePage.Checked = true; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.CheckState = System.Windows.Forms.CheckState.Checked; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.Location = new System.Drawing.Point(19, 52); 
			this.checkBoxSettingsUseWindowsDefaultCodePage.Name = "checkBoxSettingsUseWindowsDefaultCodePage"; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.Size = new System.Drawing.Size(173, 20); 
			this.checkBoxSettingsUseWindowsDefaultCodePage.TabIndex = 3; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.Tag = "Use windows default code page"; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.Text = "默认使用 windows "; 
			this.checkBoxSettingsUseWindowsDefaultCodePage.CheckedChanged += new System.EventHandler(this.checkBoxSettingsUseWindowsDefaultCodePage_CheckedChanged); 
			//  
			// comboBoxSettingsCodePage 
			//  
			this.comboBoxSettingsCodePage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)  
				| System.Windows.Forms.AnchorStyles.Right))); 
			this.comboBoxSettingsCodePage.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.comboBoxSettingsCodePage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 
			this.comboBoxSettingsCodePage.Items.AddRange(new object[] { 
																		  "Arabic (1256)", 
																		  "Baltic (1257)", 
																		  "Chinese (Taiwan, Hong Kong) (950)", 
																		  "Cyrillic (1251)", 
																		  "Greek (1253)", 
																		  "Hebrew (1255)", 
																		  "Japanese (932)", 
																		  "Korean Extended Wansung (949)", 
																		  "Latin 1 (1252)", 
																		  "Latin 2 (1250)", 
																		  "Latin 5 (1254)", 
																		  "PRC GBK (XGB) (936)", 
																		  "Thai (874)", 
																		  "Viet Nam (1258)"}); 
			this.comboBoxSettingsCodePage.Location = new System.Drawing.Point(19, 26); 
			this.comboBoxSettingsCodePage.MaxDropDownItems = 20; 
			this.comboBoxSettingsCodePage.Name = "comboBoxSettingsCodePage"; 
			this.comboBoxSettingsCodePage.Size = new System.Drawing.Size(473, 21); 
			this.comboBoxSettingsCodePage.Sorted = true; 
			this.comboBoxSettingsCodePage.TabIndex = 0; 
			this.comboBoxSettingsCodePage.Tag = "Settings"; 
			//  
			// buttonSettingsOK 
			//  
			this.buttonSettingsOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 
			this.buttonSettingsOK.DialogResult = System.Windows.Forms.DialogResult.OK; 
			this.buttonSettingsOK.Location = new System.Drawing.Point(348, 313); 
			this.buttonSettingsOK.Name = "buttonSettingsOK"; 
			this.buttonSettingsOK.Size = new System.Drawing.Size(90, 24); 
			this.buttonSettingsOK.TabIndex = 1; 
			this.buttonSettingsOK.Text = "确定"; 
			this.buttonSettingsOK.Click += new System.EventHandler(this.buttonSettingsOK_Click); 
			//  
			// buttonSettingsCancel 
			//  
			this.buttonSettingsCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 
			this.buttonSettingsCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; 
			this.buttonSettingsCancel.Location = new System.Drawing.Point(444, 313); 
			this.buttonSettingsCancel.Name = "buttonSettingsCancel"; 
			this.buttonSettingsCancel.Size = new System.Drawing.Size(90, 24); 
			this.buttonSettingsCancel.TabIndex = 1; 
			this.buttonSettingsCancel.Text = "取消"; 
			//  
			// columnHeaderMatchText 
			//  
			this.columnHeaderMatchText.Text = "Description"; 
			this.columnHeaderMatchText.Width = 300; 
			//  
			// columnHeaderMatchName 
			//  
			this.columnHeaderMatchName.Text = "Match"; 
			this.columnHeaderMatchName.Width = 90; 
			//  
			// label24 
			//  
			this.label24.AutoSize = true; 
			this.label24.Location = new System.Drawing.Point(336, 102); 
			this.label24.Name = "label24"; 
			this.label24.Size = new System.Drawing.Size(91, 17); 
			this.label24.TabIndex = 28; 
			this.label24.Text = "下载超时时间:"; 
			//  
			// numericUpDown3 
			//  
			this.numericUpDown3.BackColor = System.Drawing.Color.WhiteSmoke; 
			this.numericUpDown3.Location = new System.Drawing.Point(431, 96); 
			this.numericUpDown3.Maximum = new System.Decimal(new int[] { 
																		   700, 
																		   0, 
																		   0, 
																		   0}); 
			this.numericUpDown3.Name = "numericUpDown3"; 
			this.numericUpDown3.Size = new System.Drawing.Size(52, 21); 
			this.numericUpDown3.TabIndex = 29; 
			this.numericUpDown3.Tag = "download time out"; 
			this.numericUpDown3.Value = new System.Decimal(new int[] { 
																		 200, 
																		 0, 
																		 0, 
																		 0}); 
			//  
			// label25 
			//  
			this.label25.AutoSize = true; 
			this.label25.Location = new System.Drawing.Point(487, 100); 
			this.label25.Name = "label25"; 
			this.label25.Size = new System.Drawing.Size(29, 17); 
			this.label25.TabIndex = 27; 
			this.label25.Text = "(秒)"; 
			//  
			// SettingsForm 
			//  
			this.AcceptButton = this.buttonSettingsOK; 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); 
			this.CancelButton = this.buttonSettingsCancel; 
			this.ClientSize = new System.Drawing.Size(559, 343); 
			this.Controls.Add(this.buttonSettingsOK); 
			this.Controls.Add(this.tabControlSettings); 
			this.Controls.Add(this.buttonSettingsCancel); 
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 
			this.MaximizeBox = false; 
			this.MinimizeBox = false; 
			this.Name = "SettingsForm"; 
			this.ShowInTaskbar = false; 
			this.Text = "设置"; 
			this.Load += new System.EventHandler(this.SettingsForm_Load); 
			this.tabControlSettings.ResumeLayout(false); 
			this.tabPageFileMatches.ResumeLayout(false); 
			this.tabPageOutput.ResumeLayout(false); 
			this.groupBox4.ResumeLayout(false); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownRequests)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownError)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownURL)).EndInit(); 
			this.groupBox3.ResumeLayout(false); 
			this.tabPageConnections.ResumeLayout(false); 
			this.groupBox6.ResumeLayout(false); 
			this.groupBox5.ResumeLayout(false); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownRunThreadsCount)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownSleepTime)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownWebDepth)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownDownloadSubPageNum)).EndInit(); 
			this.tabPageAdvanced.ResumeLayout(false); 
			this.groupBox2.ResumeLayout(false); 
			this.groupBox1.ResumeLayout(false); 
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit(); 
			this.ResumeLayout(false); 
 
		} 
		#endregion 
 
		private void SettingsForm_Load(object sender, System.EventArgs e) 
		{ 
			Settings.GetValue(this); 
			this.comboBoxSettingsCodePage.Enabled = this.checkBoxSettingsUseWindowsDefaultCodePage.Checked == false; 
 
			if(this.textBoxDownloadFolder.Text == "") 
				this.textBoxDownloadFolder.Text = System.Environment.CurrentDirectory; 
 
			if(SelectedIndex != -1) 
				this.tabControlSettings.SelectedIndex = SelectedIndex; 
		} 
 
		private void buttonSettingsOK_Click(object sender, System.EventArgs e) 
		{ 
			Settings.SetValue(this); 
		} 
 
		private void checkBoxSettingsUseWindowsDefaultCodePage_CheckedChanged(object sender, System.EventArgs e) 
		{ 
			this.comboBoxSettingsCodePage.Enabled = this.checkBoxSettingsUseWindowsDefaultCodePage.Checked == false; 
		} 
 
		private void buttonAddExt_Click(object sender, System.EventArgs e) 
		{ 
			FileTypeForm form = new FileTypeForm(); 
			if(form.ShowDialog() == DialogResult.OK) 
			{ 
				ListViewItem item = this.listViewFileMatches.Items.Add(form.textBoxTypeDescription.Text); 
				item.SubItems.Add(form.numericUpDownMinSize.Value.ToString()); 
				item.SubItems.Add(form.numericUpDownMaxSize.Value.ToString()); 
			} 
		} 
 
		private void buttonEditExt_Click(object sender, System.EventArgs e) 
		{ 
			if(this.listViewFileMatches.SelectedItems.Count == 0) 
				return; 
			ListViewItem item = this.listViewFileMatches.SelectedItems[0]; 
			FileTypeForm form = new FileTypeForm(); 
			form.textBoxTypeDescription.Text = item.Text; 
			if(item.SubItems.Count <= 1) 
				item.SubItems.Add("0"); 
			form.numericUpDownMinSize.Value = int.Parse(item.SubItems[1].Text); 
			if(item.SubItems.Count <= 2) 
				item.SubItems.Add("0"); 
			form.numericUpDownMaxSize.Value = int.Parse(item.SubItems[2].Text); 
 
			if(form.ShowDialog() == DialogResult.OK) 
			{ 
				item.Text = form.textBoxTypeDescription.Text; 
				item.SubItems[1].Text = form.numericUpDownMinSize.Value.ToString(); 
				item.SubItems[2].Text = form.numericUpDownMaxSize.Value.ToString(); 
			} 
		} 
 
		private void buttonDeleteExt_Click(object sender, System.EventArgs e) 
		{ 
			if(this.listViewFileMatches.SelectedItems.Count == 0) 
				return; 
			ListViewItem item = this.listViewFileMatches.SelectedItems[0]; 
			item.Remove(); 
		} 
 
		private void buttonDownloadFolderBrowse_Click(object sender, System.EventArgs e) 
		{ 
			BrowseForFolderClass form = new BrowseForFolderClass(); 
			form.Title = "Select folder to save crawled files"; 
			if(form.ShowDialog() == DialogResult.OK) 
				this.textBoxDownloadFolder.Text = form.DirectoryPath; 
		} 
 
	} 
}