private void pic_1_Click(object sender, EventArgs e) { int _id = Convert.ToInt32(((PictureBox)sender).Tag); frmOriginal foi = new frmOriginal(_id); foi.ShowDialog(); foi.Dispose(); }
private void pic_1_Click(object sender, EventArgs e) { if (((PictureBox)sender).ImageLocation != null) { string _path = ((PictureBox)sender).ImageLocation; Image _img = Image.FromFile(_path); frmOriginal ff = new frmOriginal(_img); ff.ShowDialog(); ff.Dispose(); } }
private void pic_1_Click(object sender, EventArgs e) { if (((PictureBox)sender).ImageLocation != null) { string _path = ((PictureBox)sender).ImageLocation; Image _img = Image.FromFile(_path); frmOriginal ff = new frmOriginal(_img); ff.ShowDialog(); ff.Dispose(); } }
private void pic_1_Click(object sender, EventArgs e) { int _id = Convert.ToInt32(((PictureBox)sender).Tag); frmOriginal foi = new frmOriginal(_id); foi.ShowDialog(); foi.Dispose(); }