Example #1
0
        /// <inheritdoc />
        protected override void OnSMStarted(bool wasSMAlreadyStarted)
        {
            Svc.SM.UI.ElementWdw.OnElementChanged += new ActionProxy <SMDisplayedElementChangedEventArgs>(OnElementChanged);

            PDFHotKeys.RegisterHotKeys();

            base.OnSMStarted(wasSMAlreadyStarted);
        }
Example #2
0
        protected override void PluginInit()
        {
            PDFState.Instance.CaptureContext();

            if (!PdfCommon.IsInitialize)
            {
                PdfCommon.Initialize(PDFLicense.LicenseKey);
            }

            Svc.SMA.UI.ElementWindow.OnElementChanged += new ActionProxy <SMDisplayedElementChangedArgs>(OnElementChanged);

            PDFHotKeys.RegisterHotKeys();
        }