using System; using System.Collections.Generic; using System.Text; namespace ExtendedWebBrowser2 { /// /// Represents event information for the main form, when the command state of the active browser changes /// class CommandStateEventArgs : EventArgs { /// /// Creates a new instance of the class /// /// A list of commands that are available public CommandStateEventArgs(BrowserCommands commands) { _commands = commands; } private BrowserCommands _commands; /// /// Gets a list of commands that are available /// public BrowserCommands BrowserCommands { get { return _commands; } } } }