示例#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;
        }