예제 #1
0
 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);
         }
     }
 }
예제 #2
0
 private void requester_HelpRequested(object sender, HelpEventHandlerArgs args)
 {
     ShowHelp(args);
 }
예제 #3
0
 private void ShowHelp(HelpEventHandlerArgs args)
 {
     Help.ShowHelp(defaultProxy as Control, helpSource, HelpNavigator.TopicId, args.TopicId);
 }