Example #1
0
        private void showMyImageWindow(string filePath)
        {
            PictureBox showClickedPicture = new PictureBox();

            showClickedPicture.Name   = filePath;
            GlobalCommon.shownPicture = showClickedPicture;

            ImageShowForm showImageForm = new ImageShowForm();

            showImageForm.Show();
        }
Example #2
0
        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();
        }