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