Click here to Skip to main content
15,884,628 members
Articles / Programming Languages / C#

Extended .NET 2.0 WebBrowser Control

Rate me:
Please Sign up or sign in to vote.
4.90/5 (118 votes)
29 Mar 20069 min read 1.4M   37.7K   341  
Extending the .NET 2.0 WebBrowser control.
using System;
using System.Collections.Generic;
using System.Text;

namespace ExtendedWebBrowser2
{
  /// <summary>
  /// Represents event information for the main form, when the command state of the active browser changes
  /// </summary>
  class CommandStateEventArgs : EventArgs
  {
    /// <summary>
    /// Creates a new instance of the <see cref="CommandStateEventArgs"/> class
    /// </summary>
    /// <param name="commands">A list of commands that are available</param>
    public CommandStateEventArgs(BrowserCommands commands)
    {
      _commands = commands;
    }
    private BrowserCommands _commands;

    /// <summary>
    /// Gets a list of commands that are available
    /// </summary>
    public BrowserCommands BrowserCommands
    {
      get { return _commands; }
    }
  }
}

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.

License

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


Written By
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" (http://www.thewheel.nl)
- 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.

Comments and Discussions