private void pbImage_DoubleClick(object sender, EventArgs e) { frmPreview f = new frmPreview(pbImage.Image); f.ShowDialog(this); f.Dispose(); }
private void btnViewWaterMark_Click(object sender, EventArgs e) { if (imgWM != null) { frmPreview f = new frmPreview(imgWM.ImgWaterMark); f.ShowDialog(this); f.Dispose(); } }