public ContinuousMoonPdfPanel(PdfPanel parent) { InitializeComponent(); this.parent = parent; this.SizeChanged += ContinuousMoonPdfPanel_SizeChanged; }
public MoonPdfPanelInputHandler(PdfPanel source) { this.source = source; this.source.PreviewKeyDown += source_PreviewKeyDown; this.source.PreviewMouseWheel += source_PreviewMouseWheel; this.source.PreviewMouseLeftButtonDown += source_PreviewMouseLeftButtonDown; //this.mouseHookListener = new MouseHookListener(new GlobalHooker()); //this.mouseHookListener.Enabled = false; //this.mouseHookListener.MouseMove += mouseHookListener_MouseMove; //this.mouseHookListener.MouseUp += mouseHookListener_MouseUp; }
public SinglePageMoonPdfPanel(PdfPanel parent) { InitializeComponent(); this.parent = parent; this.SizeChanged += SinglePageMoonPdfPanel_SizeChanged; }