namespace WinFormsApp3 { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (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() { tableLayoutPanel1 = new TableLayoutPanel(); webView21 = new Microsoft.Web.WebView2.WinForms.WebView2(); tableLayoutPanel2 = new TableLayoutPanel(); urlTxt = new TextBox(); goBut = new Button(); displayBut = new Button(); cssBut = new Button(); addLinkBut = new Button(); linkBut = new Button(); dlBut = new Button(); statusStrip1 = new StatusStrip(); statusLbl = new ToolStripStatusLabel(); progressBar = new ToolStripProgressBar(); cancelBut = new ToolStripButton(); tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)webView21).BeginInit(); tableLayoutPanel2.SuspendLayout(); statusStrip1.SuspendLayout(); SuspendLayout(); // // tableLayoutPanel1 // tableLayoutPanel1.ColumnCount = 1; tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F)); tableLayoutPanel1.Controls.Add(webView21, 0, 1); tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 0); tableLayoutPanel1.Controls.Add(statusStrip1, 0, 2); tableLayoutPanel1.Dock = DockStyle.Fill; tableLayoutPanel1.Location = new Point(0, 0); tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.RowCount = 3; tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.Size = new Size(1416, 785); tableLayoutPanel1.TabIndex = 1; // // webView21 // webView21.AllowExternalDrop = true; webView21.DefaultBackgroundColor = Color.White; webView21.Dock = DockStyle.Fill; webView21.Location = new Point(3, 38); webView21.Name = "webView21"; webView21.Size = new Size(1410, 715); webView21.TabIndex = 0; webView21.ZoomFactor = 1D; // // tableLayoutPanel2 // tableLayoutPanel2.AutoSize = true; tableLayoutPanel2.ColumnCount = 7; tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel2.Controls.Add(urlTxt, 0, 0); tableLayoutPanel2.Controls.Add(goBut, 1, 0); tableLayoutPanel2.Controls.Add(displayBut, 5, 0); tableLayoutPanel2.Controls.Add(linkBut, 4, 0); tableLayoutPanel2.Controls.Add(cssBut, 3, 0); tableLayoutPanel2.Controls.Add(addLinkBut, 2, 0); tableLayoutPanel2.Controls.Add(dlBut, 6, 0); tableLayoutPanel2.Dock = DockStyle.Fill; tableLayoutPanel2.Location = new Point(3, 3); tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.RowCount = 1; tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); tableLayoutPanel2.Size = new Size(1410, 29); tableLayoutPanel2.TabIndex = 1; // // urlTxt // urlTxt.Dock = DockStyle.Fill; urlTxt.Location = new Point(3, 3); urlTxt.Name = "urlTxt"; urlTxt.Size = new Size(1134, 23); urlTxt.TabIndex = 0; // // goBut // goBut.Image = Google_Chrome.Properties.Resources.ok_16; goBut.Location = new Point(1143, 3); goBut.Name = "goBut"; goBut.Size = new Size(55, 23); goBut.TabIndex = 1; goBut.UseVisualStyleBackColor = true; goBut.Click += goBut_Click; // // displayBut // displayBut.Image =Google_Chrome.Properties.Resources.view_16; displayBut.Location = new Point(1387, 3); displayBut.Name = "displayBut"; displayBut.Size = new Size(20, 23); displayBut.TabIndex = 1; displayBut.UseVisualStyleBackColor = true; displayBut.Click += displayBut_Click; // // cssBut // cssBut.Image = Google_Chrome.Properties.Resources.element; cssBut.Location = new Point(1265, 3); cssBut.Name = "cssBut"; cssBut.Size = new Size(55, 23); cssBut.TabIndex = 1; cssBut.UseVisualStyleBackColor = true; cssBut.Click += cssBut_Click; // // addLinkBut // addLinkBut.Image = Google_Chrome.Properties.Resources.element_plus_16; addLinkBut.Location = new Point(1204, 3); addLinkBut.Name = "addLinkBut"; addLinkBut.Size = new Size(55, 23); addLinkBut.TabIndex = 1; addLinkBut.UseVisualStyleBackColor = true; addLinkBut.Click += addLinkBut_Click; // // linkBut // linkBut.Image = Google_Chrome.Properties.Resources.page_link; linkBut.Location = new Point(1326, 3); linkBut.Name = "linkBut"; linkBut.Size = new Size(55, 23); linkBut.TabIndex = 1; linkBut.UseVisualStyleBackColor = true; linkBut.Click += linkBut_Click; // // dlBut // dlBut.Image = Google_Chrome.Properties.Resources.save_16; dlBut.Location = new Point(1382, 3); dlBut.Name = "dlBut"; dlBut.Size = new Size(75, 23); dlBut.TabIndex = 1; dlBut.Text = "下载"; dlBut.TextImageRelation = TextImageRelation.ImageBeforeText; dlBut.UseVisualStyleBackColor = true; dlBut.Click += dlBut_Click; // // statusStrip1 // statusStrip1.Items.AddRange(new ToolStripItem[] { statusLbl, progressBar, cancelBut }); statusStrip1.Location = new Point(0, 759); statusStrip1.Name = "statusStrip1"; statusStrip1.Size = new Size(1410, 26); statusStrip1.TabIndex = 2; // // statusLbl // statusLbl.Name = "statusLbl"; statusLbl.Size = new Size(1080, 21); statusLbl.Spring = true; statusLbl.Text = "就绪"; statusLbl.TextAlign = ContentAlignment.MiddleLeft; // // progressBar // progressBar.Name = "progressBar"; progressBar.Size = new Size(200, 18); progressBar.Visible = false; // // cancelBut // cancelBut.DisplayStyle = ToolStripItemDisplayStyle.Text; cancelBut.Enabled = false; cancelBut.Name = "cancelBut"; cancelBut.Size = new Size(60, 23); cancelBut.Text = "取消下载"; cancelBut.Click += cancelBut_Click; // // Form1 // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(1416, 785); Controls.Add(tableLayoutPanel1); Name = "Form1"; Text = "在线"; FormClosing += Form1_FormClosing; Load += Form1_Load; tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)webView21).EndInit(); tableLayoutPanel2.ResumeLayout(false); tableLayoutPanel2.PerformLayout(); statusStrip1.ResumeLayout(false); statusStrip1.PerformLayout(); ResumeLayout(false); } #endregion private TableLayoutPanel tableLayoutPanel1; private Microsoft.Web.WebView2.WinForms.WebView2 webView21; private TableLayoutPanel tableLayoutPanel2; private TextBox urlTxt; private Button goBut; private Button displayBut; private Button cssBut; private Button addLinkBut; private Button linkBut; private Button dlBut; private StatusStrip statusStrip1; private ToolStripStatusLabel statusLbl; private ToolStripProgressBar progressBar; private ToolStripButton cancelBut; } }