예제 #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);
            }
        }
예제 #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;
            }
        }
예제 #3
0
파일: Form4.cs 프로젝트: theDuhh/StegaRYze
        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;
            }
        }