private void showMyImageWindow(string filePath) { PictureBox showClickedPicture = new PictureBox(); showClickedPicture.Name = filePath; GlobalCommon.shownPicture = showClickedPicture; ImageShowForm showImageForm = new ImageShowForm(); showImageForm.Show(); }
private void myImageClickListener(object sender, MouseEventArgs e) { // Tıklanılan resmi büyü ekranda gösterir PictureBox pic = sender as PictureBox; GlobalCommon.shownPicture = pic; ImageShowForm showImageForm = new ImageShowForm(); showImageForm.Text = pic.Name; showImageForm.Show(); }