protected override void pictureBox_DoubleClick(object sender, EventArgs e) { PictureBox here = (PictureBox)sender; Form_ImageView form2 = new Form_ImageView(here.BackgroundImage, mode); form2.ShowDialog(); }
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(); } }
protected virtual void pictureBox_DoubleClick(object sender, EventArgs e) { PictureBox here = (PictureBox)sender; Form_ImageView form2 = new Form_ImageView(here.Image, mode); form2.ShowDialog(); }