public MoonPdfPanel() { InitializeComponent(); this.ChangeDisplayType(this.PageRowDisplay); this.inputHandler = new MoonPdfPanelInputHandler(this); this.SizeChanged += PdfViewerPanel_SizeChanged; resizeTimer = new DispatcherTimer(); resizeTimer.Interval = TimeSpan.FromMilliseconds(150); resizeTimer.Tick += resizeTimer_Tick; }
public MoonPdfPanel() { InitializeComponent(); timer.Interval = new TimeSpan(200); timer.Tick += timer_Tick; timer.IsEnabled = true; timer.Start(); ChangeDisplayType(PageRowDisplay); inputHandler = new MoonPdfPanelInputHandler(this); SizeChanged += PdfViewerPanel_SizeChanged; resizeTimer = new DispatcherTimer(); resizeTimer.Interval = TimeSpan.FromMilliseconds(150); resizeTimer.Tick += resizeTimer_Tick; }