Exemple #1
0
        public void OnFileOpened(object source, OpenFileArgs e)
        {
            if (e.path != null)
            {
                textBox1.Text = e.path;
            }

            if (e.image != null)
            {
                newImage = e.image;
                DisplayImage(newImage, 1);
            }
        }
Exemple #2
0
        public void OnFileOpened(object source, OpenFileArgs e)
        {
            if (e.image != null && e.path != null)
            {
                newImage      = e.image;
                textBox1.Text = e.path;
            }

            if (e.file != null && e.path != null)
            {
                newFile       = e.file;
                textBox2.Text = e.path;
            }
        }
Exemple #3
0
        public void OnFileOpened(object source, OpenFileArgs e)
        {
            if (e.path != null)
            {
                textBox1.Text = e.path;
            }

            if (e.image != null)
            {
                newImage             = e.image;
                pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
                pictureBox1.Image    = newImage;
            }
        }