⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settingsform.cs

📁 利用VS C#实现的网络爬虫功能
💻 CS
📖 第 1 页 / 共 4 页
字号:
			this.textBoxDownloadFolder.TabIndex = 4;
			this.textBoxDownloadFolder.Tag = "Download folder";
			this.textBoxDownloadFolder.Text = "";
			// 
			// numericUpDownRequests
			// 
			this.numericUpDownRequests.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDownRequests.Location = new System.Drawing.Point(136, 64);
			this.numericUpDownRequests.Maximum = new System.Decimal(new int[] {
																				  1000,
																				  0,
																				  0,
																				  0});
			this.numericUpDownRequests.Name = "numericUpDownRequests";
			this.numericUpDownRequests.Size = new System.Drawing.Size(64, 20);
			this.numericUpDownRequests.TabIndex = 10;
			this.numericUpDownRequests.Tag = "View last requests count";
			this.numericUpDownRequests.Value = new System.Decimal(new int[] {
																				20,
																				0,
																				0,
																				0});
			// 
			// label20
			// 
			this.label20.Location = new System.Drawing.Point(32, 64);
			this.label20.Name = "label20";
			this.label20.Size = new System.Drawing.Size(64, 16);
			this.label20.TabIndex = 12;
			this.label20.Text = "View last";
			// 
			// label21
			// 
			this.label21.Location = new System.Drawing.Point(208, 64);
			this.label21.Name = "label21";
			this.label21.Size = new System.Drawing.Size(64, 16);
			this.label21.TabIndex = 11;
			this.label21.Tag = "";
			this.label21.Text = "(Requests)";
			// 
			// tabPageConnections
			// 
			this.tabPageConnections.Controls.Add(this.checkBox2);
			this.tabPageConnections.Controls.Add(this.numericUpDownRunThreadsCount);
			this.tabPageConnections.Controls.Add(this.label3);
			this.tabPageConnections.Controls.Add(this.label2);
			this.tabPageConnections.Controls.Add(this.numericUpDownSleepTime);
			this.tabPageConnections.Controls.Add(this.label4);
			this.tabPageConnections.Controls.Add(this.numericUpDown1);
			this.tabPageConnections.Controls.Add(this.label5);
			this.tabPageConnections.Controls.Add(this.label6);
			this.tabPageConnections.Controls.Add(this.label11);
			this.tabPageConnections.Controls.Add(this.labelWebDepth);
			this.tabPageConnections.Controls.Add(this.numericUpDownWebDepth);
			this.tabPageConnections.Controls.Add(this.checkBoxKeepURLServer);
			this.tabPageConnections.Controls.Add(this.label12);
			this.tabPageConnections.Controls.Add(this.label13);
			this.tabPageConnections.Controls.Add(this.label14);
			this.tabPageConnections.Controls.Add(this.numericUpDown2);
			this.tabPageConnections.Location = new System.Drawing.Point(4, 22);
			this.tabPageConnections.Name = "tabPageConnections";
			this.tabPageConnections.Size = new System.Drawing.Size(458, 248);
			this.tabPageConnections.TabIndex = 3;
			this.tabPageConnections.Text = "Connections";
			// 
			// 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(16, 152);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new System.Drawing.Size(136, 24);
			this.checkBox2.TabIndex = 8;
			this.checkBox2.Tag = "Keep connection alive";
			this.checkBox2.Text = "Keep connection alive";
			// 
			// numericUpDownRunThreadsCount
			// 
			this.numericUpDownRunThreadsCount.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDownRunThreadsCount.Location = new System.Drawing.Point(248, 8);
			this.numericUpDownRunThreadsCount.Minimum = new System.Decimal(new int[] {
																						 1,
																						 0,
																						 0,
																						 0});
			this.numericUpDownRunThreadsCount.Name = "numericUpDownRunThreadsCount";
			this.numericUpDownRunThreadsCount.Size = new System.Drawing.Size(64, 20);
			this.numericUpDownRunThreadsCount.TabIndex = 0;
			this.numericUpDownRunThreadsCount.Tag = "Threads count";
			this.numericUpDownRunThreadsCount.Value = new System.Decimal(new int[] {
																					   10,
																					   0,
																					   0,
																					   0});
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 8);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(80, 16);
			this.label3.TabIndex = 0;
			this.label3.Text = "Threads count:";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(224, 16);
			this.label2.TabIndex = 0;
			this.label2.Text = "Thread sleep time when refs queue empty:";
			// 
			// numericUpDownSleepTime
			// 
			this.numericUpDownSleepTime.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDownSleepTime.Location = new System.Drawing.Point(248, 32);
			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(64, 20);
			this.numericUpDownSleepTime.TabIndex = 1;
			this.numericUpDownSleepTime.Tag = "Sleep fetch time";
			this.numericUpDownSleepTime.Value = new System.Decimal(new int[] {
																				 2,
																				 0,
																				 0,
																				 0});
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(16, 56);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(232, 16);
			this.label4.TabIndex = 0;
			this.label4.Text = "Thread sleep time between two connections:";
			// 
			// numericUpDown1
			// 
			this.numericUpDown1.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDown1.Location = new System.Drawing.Point(248, 56);
			this.numericUpDown1.Maximum = new System.Decimal(new int[] {
																		   60,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Name = "numericUpDown1";
			this.numericUpDown1.Size = new System.Drawing.Size(64, 20);
			this.numericUpDown1.TabIndex = 2;
			this.numericUpDown1.Tag = "Sleep connect time";
			this.numericUpDown1.Value = new System.Decimal(new int[] {
																		 1,
																		 0,
																		 0,
																		 0});
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(320, 32);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(64, 16);
			this.label5.TabIndex = 0;
			this.label5.Text = "(Seconds)";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(320, 56);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(64, 16);
			this.label6.TabIndex = 0;
			this.label6.Text = "(Seconds)";
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(320, 8);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(64, 16);
			this.label11.TabIndex = 0;
			this.label11.Tag = "";
			this.label11.Text = "(Threads)";
			// 
			// labelWebDepth
			// 
			this.labelWebDepth.Location = new System.Drawing.Point(16, 104);
			this.labelWebDepth.Name = "labelWebDepth";
			this.labelWebDepth.Size = new System.Drawing.Size(216, 16);
			this.labelWebDepth.TabIndex = 1;
			this.labelWebDepth.Text = "Navigate through pages to a depth of";
			// 
			// numericUpDownWebDepth
			// 
			this.numericUpDownWebDepth.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDownWebDepth.Location = new System.Drawing.Point(248, 104);
			this.numericUpDownWebDepth.Maximum = new System.Decimal(new int[] {
																				  20,
																				  0,
																				  0,
																				  0});
			this.numericUpDownWebDepth.Name = "numericUpDownWebDepth";
			this.numericUpDownWebDepth.Size = new System.Drawing.Size(64, 20);
			this.numericUpDownWebDepth.TabIndex = 5;
			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(16, 128);
			this.checkBoxKeepURLServer.Name = "checkBoxKeepURLServer";
			this.checkBoxKeepURLServer.Size = new System.Drawing.Size(144, 16);
			this.checkBoxKeepURLServer.TabIndex = 7;
			this.checkBoxKeepURLServer.Tag = "Keep same URL server";
			this.checkBoxKeepURLServer.Text = "Keep same URL server";
			// 
			// label12
			// 
			this.label12.Location = new System.Drawing.Point(320, 104);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(64, 16);
			this.label12.TabIndex = 0;
			this.label12.Text = "(Pages)";
			// 
			// label13
			// 
			this.label13.Location = new System.Drawing.Point(320, 80);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(64, 16);
			this.label13.TabIndex = 0;
			this.label13.Text = "(Seconds)";
			// 
			// label14
			// 
			this.label14.Location = new System.Drawing.Point(16, 80);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(216, 16);
			this.label14.TabIndex = 1;
			this.label14.Text = "Connection timeout:";
			// 
			// numericUpDown2
			// 
			this.numericUpDown2.BackColor = System.Drawing.Color.WhiteSmoke;
			this.numericUpDown2.Location = new System.Drawing.Point(248, 80);
			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(64, 20);
			this.numericUpDown2.TabIndex = 3;
			this.numericUpDown2.Tag = "Request timeout";
			this.numericUpDown2.Value = new System.Decimal(new int[] {
																		 20,
																		 0,
																		 0,
																		 0});
			// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -