Esempio n. 1
0
        public override void SetElement(PdfProjectElement ppe)
        {
            this.ppp           = (PdfProjectPdf)ppe;
            this.textBox1.Text = this.ppp.Pages;
            this.radioButtonIncludeAllPages.Checked  = ppp.IncludeAllPages;
            this.radioButtonIncludePageRange.Checked = !ppp.IncludeAllPages;

            this.timer1_Tick(null, null);

            if (ppe.Error == null)
            {
                this.label1.Text = "PDF of " + ppp.PageCount + " pages.";
            }
            else
            {
                this.label1.Text = ppe.Error;
            }
        }
        public override void SetElement(PdfProjectElement ppe)
        {            
            this.ppp=(PdfProjectPdf)ppe;
            this.textBox1.Text = this.ppp.Pages;
            this.radioButtonIncludeAllPages.Checked = ppp.IncludeAllPages;
            this.radioButtonIncludePageRange.Checked = !ppp.IncludeAllPages;

            this.timer1_Tick(null, null);

            if (ppe.Error == null)
            {
                this.label1.Text = "PDF of " + ppp.PageCount + " pages.";
            }
            else
            {
                this.label1.Text = ppe.Error;
            }
        }
Esempio n. 3
0
 public override void SetElement(PdfProjectElement ppe)
 {
     this.pictureBox1.Image = Image.FromFile(ppe.Path);
 }
 public override void SetElement(PdfProjectElement ppe)
 {
     this.pictureBox1.Image = Image.FromFile(ppe.Path);
 }