コード例 #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;	
		}
コード例 #2
0
ファイル: BrowserEvents.cs プロジェクト: jayongg/Utilities
 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;
 }