Exemplo n.º 1
0
        public ScrnControl(Scrn scrn)
        {
            InitializeComponent();

            this.scrn            = scrn;
            this.lblTotal.Text   = string.Format("of {0}", this.scrn.NumberImages - 1);
            this.numImgs.Maximum = this.scrn.NumberImages - 1;
            this.UpdateImage(0);

            if (this.scrn.NumberImages == 1)
            {
                this.picBox2.Hide();
                this.label3.Hide();
                this.panel1.Size = new Size(367, 489);
            }
        }
Exemplo n.º 2
0
        public ScrnControl(Scrn scrn)
        {
            InitializeComponent();

            this.scrn = scrn;
            this.lblTotal.Text = string.Format("of {0}", this.scrn.NumberImages - 1);
            this.numImgs.Maximum = this.scrn.NumberImages - 1;
            this.UpdateImage(0);

            if (this.scrn.NumberImages == 1)
            {
                this.picBox2.Hide();
                this.label3.Hide();
                this.panel1.Size = new Size(367, 489);
            }
        }