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;
}
}