コード例 #1
0
        protected override void pictureBox_DoubleClick(object sender, EventArgs e)
        {
            PictureBox     here  = (PictureBox)sender;
            Form_ImageView form2 = new Form_ImageView(here.BackgroundImage, mode);

            form2.ShowDialog();
        }
コード例 #2
0
        private void pictureBox_DoubleClick(object sender, EventArgs e)
        {
            PictureBox here = (PictureBox)sender;

            if (here.Image != null)
            {
                Form_ImageView form2 = new Form_ImageView(here.Image, mode);
                form2.ShowDialog();
            }
        }
コード例 #3
0
ファイル: EmptyForm.cs プロジェクト: imgc0312/ImageProcessing
 protected virtual void pictureBox_DoubleClick(object sender, EventArgs e)
 {
     PictureBox here = (PictureBox)sender;
     Form_ImageView form2 = new Form_ImageView(here.Image, mode);
     form2.ShowDialog();
 }