int IBrowserHostServices.ExecCommand(Guid guidCommandGroup, uint command, object arg) { XappLauncherApp xappLauncherApp = Application.Current as XappLauncherApp; if (xappLauncherApp != null && guidCommandGroup == Guid.Empty) { if (command == 22U) { xappLauncherApp.HandleRefresh(); return(0); } if (command == 23U) { xappLauncherApp.UserStop(); return(0); } } if (this._appProxyInternal != null) { OleCmdHelper oleCmdHelper = this._appProxyInternal.OleCmdHelper; if (oleCmdHelper != null) { oleCmdHelper.ExecCommand(guidCommandGroup, command, arg); return(0); } } return(-2147221244); }
int IBrowserHostServices.QueryStatus(Guid guidCmdGroup, uint command, out uint flags) { flags = 0U; if (this._appProxyInternal != null) { OleCmdHelper oleCmdHelper = this._appProxyInternal.OleCmdHelper; if (oleCmdHelper != null) { oleCmdHelper.QueryStatus(guidCmdGroup, command, ref flags); return(0); } } return(-2147221244); }