void OnHelpExecuted(Object sender, ExecutedRoutedEventArgs e) { if (this.Context != null) { IIntegratedHelpService help = this.Context.Services.GetService <IIntegratedHelpService>(); if (help != null) { help.ShowHelpFromKeyword(this.helpKeyword); return; } } System.Diagnostics.Process.Start(SR.DefaultHelpUrl); }
private void OnHelpExecuted(object sender, ExecutedRoutedEventArgs e) { if (this.Context == null) { return; } IIntegratedHelpService help = this.Context.Services.GetService <IIntegratedHelpService>(); if (help != null) { help.ShowHelpFromKeyword(HelpKeywords.ErrorView); } else { System.Diagnostics.Process.Start(SR.DefaultHelpUrl); } }