protected virtual void OnExpand() { if (this.IsSnapInRootNode) { ExchangeHelpService.Initialize(); } }
private void ResultPane_HelpRequested(object sender, HelpEventArgs hevent) { if (!hevent.Handled && !string.IsNullOrEmpty(base.ScopeNode.HelpTopic)) { ExchangeHelpService.ShowHelpFromHelpTopicId(base.ScopeNode.HelpTopic); hevent.Handled = true; } }
private static void ShowHelpFromUrl(Control control, string helpUrl) { if (!string.IsNullOrEmpty(helpUrl)) { ExTraceGlobals.ProgramFlowTracer.TraceFunction <string>(0L, "*--ExchangeHelpService.ShowHelpFromUrl: {0}", helpUrl); string url = helpUrl.Substring(helpUrl.IndexOf("http")); ExchangeHelpService.ieHelper.NavigateInSingleIE(url, ExchangeHelpService.GetUIService(control)); } }
private void HelpCallBack(object o) { ScopeNode scopeNode = o as ScopeNode; string helpTopic; if (scopeNode != null) { helpTopic = scopeNode.HelpTopic; } else { helpTopic = (o as SelectionData).HelpTopic; } ExchangeHelpService.ShowHelpFromHelpTopicId(helpTopic); }
protected override void OnDoRefreshWork(RefreshRequestEventArgs e) { this.progress = new RefreshRequestEventArgsToIProgressAdapter(e); try { this.ResetStatus(); PSConnectionInfoSingleton.GetInstance().ReportProgress = this.progress; PSConnectionInfoSingleton.GetInstance().GetMonadConnectionInfo(); this.progress.ReportProgress(50, 100, Strings.ProgressReportInitializeHelpService, Strings.ProgressReportInitializeHelpServiceErrorText); ExchangeHelpService.Initialize(); this.erc = CmdletBasedRunspaceConfiguration.Create(PSConnectionInfoSingleton.GetInstance().GetMonadConnectionInfo(), PSConnectionInfoSingleton.GetInstance().UserAccount, this.progress); this.TenantDomain = ((this.erc.LogonUserLiveID == SmtpAddress.Empty) ? null : this.erc.LogonUserLiveID.Domain); } finally { this.progress.ReportProgress(100, 100, Strings.ProgressReportEnd, string.Empty); PSConnectionInfoSingleton.GetInstance().ReportProgress = null; } base.OnDoRefreshWork(e); }
private static void ShowHelpFromUrl(string helpUrl) { ExchangeHelpService.ShowHelpFromUrl(null, helpUrl); }
public static void ShowHelpFromPage(ExchangePage page) { string helpUrlFromPage = ExchangeHelpService.GetHelpUrlFromPage(page); ExchangeHelpService.ShowHelpFromUrl(page, helpUrlFromPage); }
public static void ShowHelpFromHelpTopicId(Control control, string helpTopicId) { string helpUrlForTopic = ExchangeHelpService.GetHelpUrlForTopic(helpTopicId); ExchangeHelpService.ShowHelpFromUrl(control, helpUrlForTopic); }
public static void ShowHelpFromHelpTopicId(string helpTopicId) { ExchangeHelpService.ShowHelpFromHelpTopicId(null, helpTopicId); }