void getHelp(object sender, EventArgs e) { try { LocalHelp.OpenHelpFile(_localHelpUri); } catch (Exception ex) { MessageBox.Show("Could not open help file at " + _localHelpUri + "\n" + ex.Message, "Could not open help", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
void onlineHelpButton_Click(object sender, EventArgs e) { try { if (WebUtilities.IsInternetAvailable() == false) { LocalHelp.OpenHelpFile(_localHelpUri); } else { OpenUri(_remoteHelpUri); } } catch (Exception ex) { MessageBox.Show("Could not open help file at " + _localHelpUri + "\n" + ex.Message, "Could not open help", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
void quickStartButton_Click(object sender, EventArgs e) { try { if (WebUtilities.IsInternetAvailable() == false) { string quickStartGuideFile = Properties.Settings.Default.QuickStartGuideName; LocalHelp.OpenHelpFile(quickStartGuideFile); } else { OpenUri(_quickStartUri); } } catch (Exception ex) { MessageBox.Show("Could not open help file at " + _localHelpUri + "\n" + ex.Message, "Could not open help", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// Opens a help topic for the item in context when the user presses F1. /// </summary> private void ThemeExportDialog_HelpRequested(object sender, HelpEventArgs hlpevent) { LocalHelp.OpenHelpFile(_localHelpUri); hlpevent.Handled = true; // Signal that we've handled the help request. }
/// <summary> /// Opens a help topic for the item in context when the Help button is clicked. /// </summary> private void ThemeExportDialog_HelpButtonClicked(object sender, CancelEventArgs e) { LocalHelp.OpenHelpFile(_localHelpUri); e.Cancel = true; // Prevents mouse cursor from changing to question mark. }
private void linkLabelHelp_click(object sender, LinkLabelLinkClickedEventArgs e) { LocalHelp.OpenHelpFile("welcome.html"); }
private void linkLabelQuickStart_click(object sender, LinkLabelLinkClickedEventArgs e) { LocalHelp.OpenHelpFile(QuickStartGuideFile); }
void getHelp(object sender, EventArgs e) { LocalHelp.OpenHelpFile(_localHelpUri); }