public override void Run() { if (string.IsNullOrEmpty(HelpLibraryManager.Manager)) { using (HelpLibraryManagerNotFoundForm form = new HelpLibraryManagerNotFoundForm()) { form.ShowDialog(SD.WinForms.MainWin32Window); } return; } HelpLibraryManager.Start(); }
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(); } }
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(); } } }