Microsoft.Toolkit.Win32/Microsoft.Toolkit.Sample.Fo.../Form1.Designer.cs

164 строки
8.6 KiB
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Windows.Forms;
namespace Microsoft.Toolkit.Sample.Forms.WebView
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.webView1 = new Microsoft.Toolkit.Forms.UI.Controls.WebView();
this.button2 = new System.Windows.Forms.Button();
this.url = new System.Windows.Forms.TextBox();
this.Go = new System.Windows.Forms.Button();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.webView1)).BeginInit();
this.SuspendLayout();
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Location = new System.Drawing.Point(0, 0);
this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(45, 46);
this.button1.TabIndex = 2;
this.button1.Text = "<";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 45F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 45F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 45F));
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.webView1, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.url, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.Go, 3, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 46F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.Size = new System.Drawing.Size(1142, 886);
this.tableLayoutPanel1.TabIndex = 4;
//
// webView1
//
this.webView1.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.tableLayoutPanel1.SetColumnSpan(this.webView1, 4);
this.webView1.IsPrivateNetworkClientServerCapabilityEnabled = true;
this.webView1.IsScriptNotifyAllowed = true;
this.webView1.Location = new System.Drawing.Point(3, 49);
this.webView1.MinimumSize = new System.Drawing.Size(20, 20);
this.webView1.Name = "webView1";
this.webView1.Size = new System.Drawing.Size(1136, 834);
this.webView1.Source = new System.Uri("https://www.bing.com", System.UriKind.Absolute);
this.webView1.TabIndex = 3;
this.webView1.ContainsFullScreenElementChanged += new System.EventHandler<object>(this.webView1_ContainsFullScreenElementChanged);
this.webView1.NavigationCompleted += new System.EventHandler<Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.WebViewControlNavigationCompletedEventArgs>(this.webView1_NavigationCompleted);
this.webView1.NavigationStarting += new System.EventHandler<Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.WebViewControlNavigationStartingEventArgs>(this.webView1_NavigationStarting);
this.webView1.PermissionRequested += new System.EventHandler<Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.WebViewControlPermissionRequestedEventArgs>(this.webView1_PermissionRequested);
this.webView1.ScriptNotify += new System.EventHandler<Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.WebViewControlScriptNotifyEventArgs>(this.webView1_ScriptNotify);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Location = new System.Drawing.Point(45, 0);
this.button2.Margin = new System.Windows.Forms.Padding(0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(45, 46);
this.button2.TabIndex = 4;
this.button2.Text = ">";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// url
//
this.url.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.url.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.AllUrl;
this.url.Dock = System.Windows.Forms.DockStyle.Fill;
this.url.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.url.Location = new System.Drawing.Point(90, 0);
this.url.Margin = new System.Windows.Forms.Padding(0);
this.url.Name = "url";
this.url.Size = new System.Drawing.Size(1007, 44);
this.url.TabIndex = 5;
this.url.KeyUp += new System.Windows.Forms.KeyEventHandler(this.url_KeyUp);
//
// Go
//
this.Go.Dock = System.Windows.Forms.DockStyle.Fill;
this.Go.Location = new System.Drawing.Point(1097, 0);
this.Go.Margin = new System.Windows.Forms.Padding(0);
this.Go.Name = "Go";
this.Go.Size = new System.Drawing.Size(45, 46);
this.Go.TabIndex = 6;
this.Go.Text = "Go";
this.Go.UseVisualStyleBackColor = true;
this.Go.Click += new System.EventHandler(this.Go_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1142, 886);
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "Form1";
this.Text = "WinForms WebView";
this.Load += new System.EventHandler(this.OnFormLoaded);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.webView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Button button1;
private TableLayoutPanel tableLayoutPanel1;
private Microsoft.Toolkit.Forms.UI.Controls.WebView webView1;
private Button button2;
private TextBox url;
private Button Go;
}
}