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

📄 mainform.cs

📁 利用VS C#实现的网络爬虫功能
💻 CS
📖 第 1 页 / 共 5 页
字号:
			this.statusBar.Text = "Ready";
			// 
			// statusBarPanelInfo
			// 
			this.statusBarPanelInfo.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
			this.statusBarPanelInfo.ToolTipText = "View total parsed uris";
			this.statusBarPanelInfo.Width = 393;
			// 
			// statusBarPanelURLs
			// 
			this.statusBarPanelURLs.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
			this.statusBarPanelURLs.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
			this.statusBarPanelURLs.ToolTipText = "View unique hits count";
			this.statusBarPanelURLs.Width = 10;
			// 
			// statusBarPanelFiles
			// 
			this.statusBarPanelFiles.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
			this.statusBarPanelFiles.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
			this.statusBarPanelFiles.ToolTipText = "View total hits count";
			this.statusBarPanelFiles.Width = 10;
			// 
			// statusBarPanelByteCount
			// 
			this.statusBarPanelByteCount.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
			this.statusBarPanelByteCount.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
			this.statusBarPanelByteCount.ToolTipText = "View total bytes of parsed items";
			this.statusBarPanelByteCount.Width = 10;
			// 
			// statusBarPanelErrors
			// 
			this.statusBarPanelErrors.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
			this.statusBarPanelErrors.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
			this.statusBarPanelErrors.Icon = ((System.Drawing.Icon)(resources.GetObject("statusBarPanelErrors.Icon")));
			this.statusBarPanelErrors.ToolTipText = "View errors count";
			this.statusBarPanelErrors.Width = 31;
			// 
			// statusBarPanelCPU
			// 
			this.statusBarPanelCPU.Icon = ((System.Drawing.Icon)(resources.GetObject("statusBarPanelCPU.Icon")));
			this.statusBarPanelCPU.ToolTipText = "CPU usage";
			this.statusBarPanelCPU.Width = 110;
			// 
			// statusBarPanelMem
			// 
			this.statusBarPanelMem.ToolTipText = "Available memory";
			// 
			// toolBarWeb
			// 
			this.toolBarWeb.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
			this.toolBarWeb.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						  this.toolBarButtonBrowse});
			this.toolBarWeb.ButtonSize = new System.Drawing.Size(50, 26);
			this.toolBarWeb.DropDownArrows = true;
			this.toolBarWeb.ImageList = this.imageList4;
			this.toolBarWeb.Location = new System.Drawing.Point(0, 28);
			this.toolBarWeb.Name = "toolBarWeb";
			this.toolBarWeb.ShowToolTips = true;
			this.toolBarWeb.Size = new System.Drawing.Size(680, 27);
			this.toolBarWeb.TabIndex = 2;
			this.toolBarWeb.ButtonDropDown += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarWeb_ButtonDropDown);
			// 
			// toolBarButtonBrowse
			// 
			this.toolBarButtonBrowse.DropDownMenu = this.contextMenuBrowse;
			this.toolBarButtonBrowse.ImageIndex = 0;
			this.toolBarButtonBrowse.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			this.toolBarButtonBrowse.ToolTipText = "Browse text sources";
			// 
			// contextMenuBrowse
			// 
			this.contextMenuBrowse.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																							  this.menuItemBrowseHttp});
			// 
			// menuItemBrowseHttp
			// 
			this.menuItemBrowseHttp.Index = 0;
			this.menuItemBrowseHttp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																							   this.menuItemHttp,
																							   this.menuItem5});
			this.menuItemBrowseHttp.Text = "&Http(s)";
			// 
			// menuItemHttp
			// 
			this.menuItemHttp.Index = 0;
			this.menuItemHttp.Text = "&http://";
			this.menuItemHttp.Click += new System.EventHandler(this.menuItemHttp_Click);
			// 
			// menuItem5
			// 
			this.menuItem5.Index = 1;
			this.menuItem5.Text = "-";
			// 
			// imageList4
			// 
			this.imageList4.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
			this.imageList4.ImageSize = new System.Drawing.Size(58, 15);
			this.imageList4.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList4.ImageStream")));
			this.imageList4.TransparentColor = System.Drawing.Color.Teal;
			// 
			// tabControlRightView
			// 
			this.tabControlRightView.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.tabControlRightView.Controls.Add(this.tabPageThreads);
			this.tabControlRightView.Controls.Add(this.tabPageRequests);
			this.tabControlRightView.Controls.Add(this.tabPageErrors);
			this.tabControlRightView.ImageList = this.imageList3;
			this.tabControlRightView.Location = new System.Drawing.Point(0, 56);
			this.tabControlRightView.Name = "tabControlRightView";
			this.tabControlRightView.SelectedIndex = 0;
			this.tabControlRightView.ShowToolTips = true;
			this.tabControlRightView.Size = new System.Drawing.Size(680, 231);
			this.tabControlRightView.TabIndex = 7;
			this.tabControlRightView.Tag = "Main Tab";
			this.tabControlRightView.SelectedIndexChanged += new System.EventHandler(this.tabControlRightView_SelectedIndexChanged);
			// 
			// tabPageThreads
			// 
			this.tabPageThreads.Controls.Add(this.listViewThreads);
			this.tabPageThreads.ImageIndex = 6;
			this.tabPageThreads.Location = new System.Drawing.Point(4, 23);
			this.tabPageThreads.Name = "tabPageThreads";
			this.tabPageThreads.Size = new System.Drawing.Size(672, 204);
			this.tabPageThreads.TabIndex = 3;
			this.tabPageThreads.Text = "Threads";
			this.tabPageThreads.ToolTipText = "View working threads status";
			// 
			// listViewThreads
			// 
			this.listViewThreads.BackColor = System.Drawing.Color.WhiteSmoke;
			this.listViewThreads.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																							  this.columnHeaderTHreadID,
																							  this.columnHeaderThreadDepth,
																							  this.columnHeaderThreadAction,
																							  this.columnHeaderThreadURL,
																							  this.columnHeaderThreadBytes,
																							  this.columnHeaderThreadPersentage});
			this.listViewThreads.Dock = System.Windows.Forms.DockStyle.Fill;
			this.listViewThreads.FullRowSelect = true;
			this.listViewThreads.GridLines = true;
			this.listViewThreads.HideSelection = false;
			this.listViewThreads.Location = new System.Drawing.Point(0, 0);
			this.listViewThreads.MultiSelect = false;
			this.listViewThreads.Name = "listViewThreads";
			this.listViewThreads.Size = new System.Drawing.Size(672, 204);
			this.listViewThreads.SmallImageList = this.imageList3;
			this.listViewThreads.TabIndex = 0;
			this.listViewThreads.View = System.Windows.Forms.View.Details;
			this.listViewThreads.SelectedIndexChanged += new System.EventHandler(this.listViewThreads_SelectedIndexChanged);
			// 
			// columnHeaderTHreadID
			// 
			this.columnHeaderTHreadID.Text = "ID";
			this.columnHeaderTHreadID.Width = 40;
			// 
			// columnHeaderThreadDepth
			// 
			this.columnHeaderThreadDepth.Text = "Depth";
			this.columnHeaderThreadDepth.Width = 43;
			// 
			// columnHeaderThreadAction
			// 
			this.columnHeaderThreadAction.Text = "Action";
			// 
			// columnHeaderThreadURL
			// 
			this.columnHeaderThreadURL.Text = "Uri";
			this.columnHeaderThreadURL.Width = 300;
			// 
			// columnHeaderThreadBytes
			// 
			this.columnHeaderThreadBytes.Text = "Bytes";
			this.columnHeaderThreadBytes.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.columnHeaderThreadBytes.Width = 70;
			// 
			// columnHeaderThreadPersentage
			// 
			this.columnHeaderThreadPersentage.Text = "%";
			this.columnHeaderThreadPersentage.Width = 40;
			// 
			// imageList3
			// 
			this.imageList3.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
			this.imageList3.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList3.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream")));
			this.imageList3.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// tabPageRequests
			// 
			this.tabPageRequests.Controls.Add(this.textBoxRequest);
			this.tabPageRequests.Controls.Add(this.splitter1);
			this.tabPageRequests.Controls.Add(this.listViewRequests);
			this.tabPageRequests.ImageIndex = 8;
			this.tabPageRequests.Location = new System.Drawing.Point(4, 23);
			this.tabPageRequests.Name = "tabPageRequests";
			this.tabPageRequests.Size = new System.Drawing.Size(672, 204);
			this.tabPageRequests.TabIndex = 5;
			this.tabPageRequests.Text = "Requests";
			// 
			// textBoxRequest
			// 
			this.textBoxRequest.BackColor = System.Drawing.Color.WhiteSmoke;
			this.textBoxRequest.Dock = System.Windows.Forms.DockStyle.Fill;
			this.textBoxRequest.Location = new System.Drawing.Point(0, 155);
			this.textBoxRequest.Multiline = true;
			this.textBoxRequest.Name = "textBoxRequest";
			this.textBoxRequest.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.textBoxRequest.Size = new System.Drawing.Size(672, 49);
			this.textBoxRequest.TabIndex = 5;
			this.textBoxRequest.Text = "";
			this.textBoxRequest.WordWrap = false;
			// 
			// splitter1
			// 
			this.splitter1.Dock = System.Windows.Forms.DockStyle.Top;
			this.splitter1.Location = new System.Drawing.Point(0, 152);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(672, 3);
			this.splitter1.TabIndex = 4;
			this.splitter1.TabStop = false;
			// 
			// listViewRequests
			// 
			this.listViewRequests.BackColor = System.Drawing.Color.WhiteSmoke;
			this.listViewRequests.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																							   this.columnHeader2,
																							   this.columnHeader3,
																							   this.columnHeader4});
			this.listViewRequests.Dock = System.Windows.Forms.DockStyle.Top;
			this.listViewRequests.FullRowSelect = true;
			this.listViewRequests.GridLines = true;
			this.listViewRequests.HideSelection = false;
			this.listViewRequests.Location = new System.Drawing.Point(0, 0);
			this.listViewRequests.MultiSelect = false;
			this.listViewRequests.Name = "listViewRequests";
			this.listViewRequests.Size = new System.Drawing.Size(672, 152);
			this.listViewRequests.TabIndex = 3;
			this.listViewRequests.View = System.Windows.Forms.View.Details;
			this.listViewRequests.SelectedIndexChanged += new System.EventHandler(this.listViewRequests_SelectedIndexChanged);
			// 
			// columnHeader2
			// 
			this.columnHeader2.Text = "Date";
			this.columnHeader2.Width = 140;
			// 
			// columnHeader3
			// 
			this.columnHeader3.Text = "Request";
			this.columnHeader3.Width = 400;
			// 
			// columnHeader4
			// 
			this.columnHeader4.Text = "Description";
			this.columnHeader4.Width = 0;
			// 
			// tabPageErrors
			// 
			this.tabPageErrors.Controls.Add(this.textBoxErrorDescription);
			this.tabPageErrors.Controls.Add(this.splitter3);
			this.tabPageErrors.Controls.Add(this.listViewErrors);
			this.tabPageErrors.ImageIndex = 7;
			this.tabPageErrors.Location = new System.Drawing.Point(4, 23);
			this.tabPageErrors.Name = "tabPageErrors";
			this.tabPageErrors.Size = new System.Drawing.Size(672, 204);
			this.tabPageErrors.TabIndex = 4;
			this.tabPageErrors.Text = "Errors";
			this.tabPageErrors.ToolTipText = "View reported errors";
			// 
			// textBoxErrorDescription
			// 
			this.textBoxErrorDescription.BackColor = System.Drawing.Color.WhiteSmoke;
			this.textBoxErrorDescription.Dock = System.Windows.Forms.DockStyle.Fill;
			this.textBoxErrorDescription.Location = new System.Drawing.Point(0, 155);
			this.textBoxErrorDescription.Multiline = true;
			this.textBoxErrorDescription.Name = "textBoxErrorDescription";
			this.textBoxErrorDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.textBoxErrorDescription.Size = new System.Drawing.Size(672, 49);
			this.textBoxErrorDescription.TabIndex = 2;
			this.textBoxErrorDescription.Text = "";
			this.textBoxErrorDescription.WordWrap = false;
			// 
			// splitter3
			// 
			this.splitter3.Dock = System.Windows.Forms.DockStyle.Top;
			this.splitter3.Location = new System.Drawing.Point(0, 152);
			this.splitter3.Name = "splitter3";
			this.splitter3.Size = new System.Drawing.Size(672, 3);
			this.splitter3.TabIndex = 1;
			this.splitter3.TabStop = false;
			// 
			// listViewErrors
			// 
			this.listViewErrors.BackColor = System.Drawing.Color.WhiteSmoke;
			this.listViewErrors.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																							 this.columnHeaderErrorID,
																							 this.columnHeaderDate,
																							 this.columnHeaderErrorItem,
																							 this.columnHeaderErrorDescription});
			this.listViewErrors.Dock = System.Windows.Forms.DockStyle.Top;
			this.listViewErrors.FullRowSelect = true;
			this.listViewErrors.GridLines = true;
			this.listViewErrors.HideSelection = false;
			this.listViewErrors.Location = new System.Drawing.Point(0, 0);
			this.listViewErrors.MultiSelect = false;
			this.listViewErrors.Name = "listViewErrors";
			this.listViewErrors.Size = new System.Drawing.Size(672, 152);
			this.listViewErrors.TabIndex = 0;
			this.listViewErrors.View = System.Windows.Forms.View.Details;
			this.listViewErrors.SelectedIndexChanged += new System.EventHandler(this.listViewErrors_SelectedIndexChanged);
			// 
			// columnHeaderErrorID
			// 
			this.columnHeaderErrorID.Text = "ID";
			// 
			// columnHeaderDate
			// 
			this.columnHeaderDate.Text = "Date";
			this.columnHeaderDate.Width = 160;
			// 
			// columnHeaderErrorItem
			// 
			this.columnHeaderErrorItem.Text = "Error";
			this.columnHeaderErrorItem.Width = 343;
			// 
			// columnHeaderErrorDescription
			// 
			this.columnHeaderErrorDescription.Text = "Description";
			this.columnHeaderErrorDescription.Width = 0;
			// 
			// comboBoxWeb
			// 
			this.comboBoxWeb.AllowDrop = true;
			this.comboBoxWeb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.comboBoxWeb.BackColor = System.Drawing.Color.WhiteSmoke;
			this.comboBoxWeb.ContextMenu = this.contextMenuNavigate;
			this.comboBoxWeb.ItemHeight = 13;
			this.comboBoxWeb.Location = new System.Drawing.Point(80, 29);
			this.comboBoxWeb.MaxDropDownItems = 20;
			this.comboBoxWeb.Name = "comboBoxWeb";
			this.comboBoxWeb.Size = new System.Drawing.Size(544, 21);
			this.comboBoxWeb.TabIndex = 9;
			this.comboBoxWeb.Tag = "Settings";
			this.comboBoxWeb.Text = "http://";
			this.comboBoxWeb.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comboBoxWeb_KeyDown);
			// 
			// contextMenuNavigate
			// 
			this.contextMenuNavigate.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {

⌨️ 快捷键说明

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