Esempio n. 1
0
		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;	
		}
Esempio n. 2
0
 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;
 }