示例#1
0
 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);
     }
 }
示例#2
0
 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);
     }
 }
示例#3
0
 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);
     }
 }
示例#4
0
 /// <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.
 }
示例#5
0
 /// <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.
 }
示例#6
0
 private void linkLabelHelp_click(object sender, LinkLabelLinkClickedEventArgs e)
 {
     LocalHelp.OpenHelpFile("welcome.html");
 }
示例#7
0
 private void linkLabelQuickStart_click(object sender, LinkLabelLinkClickedEventArgs e)
 {
     LocalHelp.OpenHelpFile(QuickStartGuideFile);
 }
示例#8
0
 void getHelp(object sender, EventArgs e)
 {
     LocalHelp.OpenHelpFile(_localHelpUri);
 }