예제 #1
0
        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;
        }
예제 #2
0
        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;
        }
예제 #3
0
        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;
        }
예제 #4
0
        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;
        }