System.Windows.Forms.Html.BrowserCommandStateChangeEventArgs.BrowserCommandStateChangeEventArgs C# (CSharp) Method

BrowserCommandStateChangeEventArgs() public method

public BrowserCommandStateChangeEventArgs ( int commandState, bool enable ) : System
commandState int
enable bool
return System
		public BrowserCommandStateChangeEventArgs(int commandState, bool enable) { 
			this.enable = enable; 
			this.commandState = BrowserCommandStates.UpdateCommands;
			if (commandState == 1)
				this.commandState = BrowserCommandStates.NavigateForward;	
			else if  (commandState == 2)
				this.commandState = BrowserCommandStates.NavigateBack;	
		}
	}
BrowserCommandStateChangeEventArgs