public static void ViewPresentationOld(PowerPointLink powerPointLink) { if (!MainController.Instance.CheckPowerPointRunning(() => MainController.Instance.PopupMessages.ShowWarningQuestion(String.Format("PowerPoint is required to run this application.{0}Do you want to go ahead and open PowerPoint?", Environment.NewLine)) == DialogResult.Yes)) return; using (var form = new FormPowerPointQuickViewOld()) { form.PowerPointLink = powerPointLink; form.ShowDialog(MainController.Instance.MainForm); RegistryHelper.SalesDepotHandle = MainController.Instance.MainForm.Handle; RegistryHelper.MaximizeSalesDepot = true; } }
public static void ViewPresentation(PowerPointLink powerPointLink) { using (var form = new FormPowerPointQuickView()) { form.PowerPointLink = powerPointLink; form.ShowDialog(MainController.Instance.MainForm); form.AfterClose?.Invoke(); RegistryHelper.SalesDepotHandle = MainController.Instance.MainForm.Handle; RegistryHelper.MaximizeSalesDepot = true; } }
public LinkPowerPointOptions(PowerPointLink data) : this() { _data = data; }
public PowerPointLinkProcessor(LibraryFileLink fileLink) : base(fileLink) { _powerPointLink = (PowerPointLink)fileLink; }
public PresentationPreviewContainer(PowerPointLink sourceLink) { _sourceLink = sourceLink; Thumbnails = new List<PresentationSlideThumbnail>(); }