Beispiel #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);
            }
        }
Beispiel #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;
            }
        }
Beispiel #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;
            }
        }