📄 form1.designer.cs
字号:
namespace MyBrowser
{
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.simpleBrowserToolStrip = new System.Windows.Forms.ToolStrip();
this.browserBackButton = new System.Windows.Forms.ToolStripButton();
this.browserForwardButton = new System.Windows.Forms.ToolStripButton();
this.browserStopButton = new System.Windows.Forms.ToolStripButton();
this.browserRefreshButton = new System.Windows.Forms.ToolStripButton();
this.browserSeparator = new System.Windows.Forms.ToolStripSeparator();
this.browserAddressLabel = new System.Windows.Forms.ToolStripLabel();
this.browserAddressTextBox = new System.Windows.Forms.ToolStripTextBox();
this.browserGoButton = new System.Windows.Forms.ToolStripButton();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.simpleBrowserToolStrip.SuspendLayout();
this.SuspendLayout();
//
// simpleBrowserToolStrip
//
this.simpleBrowserToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.browserBackButton,
this.browserForwardButton,
this.browserStopButton,
this.browserRefreshButton,
this.browserSeparator,
this.browserAddressLabel,
this.browserAddressTextBox,
this.browserGoButton});
this.simpleBrowserToolStrip.Location = new System.Drawing.Point(0, 0);
this.simpleBrowserToolStrip.Name = "simpleBrowserToolStrip";
this.simpleBrowserToolStrip.Size = new System.Drawing.Size(446, 25);
this.simpleBrowserToolStrip.TabIndex = 1;
this.simpleBrowserToolStrip.Text = "toolStrip1";
//
// browserBackButton
//
this.browserBackButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.browserBackButton.Name = "browserBackButton";
this.browserBackButton.Size = new System.Drawing.Size(35, 22);
this.browserBackButton.Text = "后退";
this.browserBackButton.Click += new System.EventHandler(this.browserBackButton_Click);
//
// browserForwardButton
//
this.browserForwardButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.browserForwardButton.Name = "browserForwardButton";
this.browserForwardButton.Size = new System.Drawing.Size(35, 22);
this.browserForwardButton.Text = "前进";
this.browserForwardButton.Click += new System.EventHandler(this.browserForwardButton_Click);
//
// browserStopButton
//
this.browserStopButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.browserStopButton.Name = "browserStopButton";
this.browserStopButton.Size = new System.Drawing.Size(35, 22);
this.browserStopButton.Text = "停止";
this.browserStopButton.Click += new System.EventHandler(this.browserStopButton_Click);
//
// browserRefreshButton
//
this.browserRefreshButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.browserRefreshButton.Name = "browserRefreshButton";
this.browserRefreshButton.Size = new System.Drawing.Size(35, 22);
this.browserRefreshButton.Text = "刷新";
this.browserRefreshButton.Click += new System.EventHandler(this.browserRefreshButton_Click);
//
// browserSeparator
//
this.browserSeparator.Name = "browserSeparator";
this.browserSeparator.Size = new System.Drawing.Size(6, 25);
//
// browserAddressLabel
//
this.browserAddressLabel.Name = "browserAddressLabel";
this.browserAddressLabel.Size = new System.Drawing.Size(43, 22);
this.browserAddressLabel.Text = "网址:";
//
// browserAddressTextBox
//
this.browserAddressTextBox.AutoSize = false;
this.browserAddressTextBox.Name = "browserAddressTextBox";
this.browserAddressTextBox.Size = new System.Drawing.Size(200, 21);
this.browserAddressTextBox.Text = "msdn.microsoft.com";
//
// browserGoButton
//
this.browserGoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.browserGoButton.Name = "browserGoButton";
this.browserGoButton.Size = new System.Drawing.Size(24, 22);
this.browserGoButton.Text = "Go";
this.browserGoButton.Click += new System.EventHandler(this.browserGoButton_Click);
//
// webBrowser1
//
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
this.webBrowser1.Location = new System.Drawing.Point(0, 25);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.Size = new System.Drawing.Size(446, 292);
this.webBrowser1.TabIndex = 2;
this.webBrowser1.Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.webBrowser1_Navigated);
this.webBrowser1.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.webBrowser1_Navigating);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(446, 317);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(this.simpleBrowserToolStrip);
this.Name = "Form1";
this.Text = "我的Web浏览器";
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Form1_KeyPress);
this.Load += new System.EventHandler(this.Form1_Load);
this.simpleBrowserToolStrip.ResumeLayout(false);
this.simpleBrowserToolStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip simpleBrowserToolStrip;
private System.Windows.Forms.ToolStripButton browserBackButton;
private System.Windows.Forms.ToolStripButton browserForwardButton;
private System.Windows.Forms.ToolStripButton browserStopButton;
private System.Windows.Forms.ToolStripButton browserRefreshButton;
private System.Windows.Forms.ToolStripSeparator browserSeparator;
private System.Windows.Forms.ToolStripLabel browserAddressLabel;
private System.Windows.Forms.ToolStripTextBox browserAddressTextBox;
private System.Windows.Forms.ToolStripButton browserGoButton;
private System.Windows.Forms.WebBrowser webBrowser1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -