Click here to Skip to main content
11,487,406 members (71,540 online)
Click here to Skip to main content
Add your own
alternative version

Extended .NET 2.0 WebBrowser Control

, 29 Mar 2006 802K 28.9K 324
Extending the .NET 2.0 WebBrowser control.
namespace ExtendedWebBrowser2
  partial class BrowserControl
    /// <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))

    #region Component 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()
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BrowserControl));
      this.containerPanel = new System.Windows.Forms.Panel();
      this.panel2 = new System.Windows.Forms.Panel();
      this.goButton = new System.Windows.Forms.Button();
      this.addressTextBox = new System.Windows.Forms.TextBox();
      this.label1 = new System.Windows.Forms.Label();
      // containerPanel
      resources.ApplyResources(this.containerPanel, "containerPanel");
      this.containerPanel.Name = "containerPanel";
      // panel2
      resources.ApplyResources(this.panel2, "panel2");
      this.panel2.Name = "panel2";
      // goButton
      resources.ApplyResources(this.goButton, "goButton");
      this.goButton.Name = "goButton";
      this.goButton.UseVisualStyleBackColor = false;
      this.goButton.Click += new System.EventHandler(this.goButton_Click);
      // addressTextBox
      resources.ApplyResources(this.addressTextBox, "addressTextBox");
      this.addressTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
      this.addressTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.AllUrl;
      this.addressTextBox.Name = "addressTextBox";
      this.addressTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.addressTextBox_KeyUp);
      // label1
      resources.ApplyResources(this.label1, "label1");
      this.label1.Name = "label1";
      // BrowserControl
      resources.ApplyResources(this, "$this");
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.Name = "BrowserControl";



    private System.Windows.Forms.Panel containerPanel;
    private System.Windows.Forms.Panel panel2;
    private System.Windows.Forms.Button goButton;
    private System.Windows.Forms.TextBox addressTextBox;
    private System.Windows.Forms.Label label1;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Jeroen Landheer
Web Developer
Chile Chile
I am
- born in The Netherlands
- living in Chile together with my wife.
- a Microsoft Certified Professional Developer on all 3 areas (Windows, Web and Enterprise)
- an MCITP on Microsoft SQL Server 2005 (Database Administrator)
- an active programmer for about 14 years.
- a business owner, of a Dutch company called "The Wheel Automatisering" (
- a coder in C#, VB.Net and Managed C++.
- someone who likes to share knowledge

For fun I like to go out with my dogs, enjoy the sun or write some articles that I share with the community.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 29 Mar 2006
Article Copyright 2006 by Jeroen Landheer
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid