private void ShowHelp(HelpEventHandlerArgs args) { try { Process.Start("Acrobat.exe", "/a nameddest=" + args.TopicId + " \"" + helpSource + "\""); } catch { try { Process.Start(helpSource); } catch { MessageBox.Show("An error occured while opening help file", new TermsProvider()["SystemName"].ToString(), MessageBoxButtons.OK, MessageBoxIcon.Error); } } }
private void requester_HelpRequested(object sender, HelpEventHandlerArgs args) { ShowHelp(args); }
private void ShowHelp(HelpEventHandlerArgs args) { Help.ShowHelp(defaultProxy as Control, helpSource, HelpNavigator.TopicId, args.TopicId); }