コード例 #1
0
 public override void Run()
 {
     if (string.IsNullOrEmpty(HelpLibraryManager.Manager))
     {
         using (HelpLibraryManagerNotFoundForm form = new HelpLibraryManagerNotFoundForm()) {
             form.ShowDialog(SD.WinForms.MainWin32Window);
         }
         return;
     }
     HelpLibraryManager.Start();
 }
コード例 #2
0
        public override void Run()
        {
            if (!Help3Environment.IsHelp3ProtocolRegistered)
            {
                using (HelpLibraryManagerNotFoundForm form = new HelpLibraryManagerNotFoundForm()) {
                    form.ShowDialog(SD.WinForms.MainWin32Window);
                }
                return;
            }
            PadDescriptor search = SD.Workbench.GetPad(typeof(Help3SearchPad));

            if (search != null)
            {
                search.BringPadToFront();
            }
        }
コード例 #3
0
 public override void Run()
 {
     if (!Help3Environment.IsHelp3ProtocolRegistered)
     {
         using (HelpLibraryManagerNotFoundForm form = new HelpLibraryManagerNotFoundForm()) {
             form.ShowDialog(SD.WinForms.MainWin32Window);
         }
         return;
     }
     if (Help3Service.Config.ExternalHelp)
     {
         DisplayHelp.Catalog();
     }
     else
     {
         PadDescriptor toc = SD.Workbench.GetPad(typeof(Help3TocPad));
         if (toc != null)
         {
             toc.BringPadToFront();
         }
     }
 }