Пример #1
0
 private void pbImage_DoubleClick(object sender, EventArgs e)
 {
     frmPreview f = new frmPreview(pbImage.Image);
     f.ShowDialog(this);
     f.Dispose();
 }
Пример #2
0
 private void btnViewWaterMark_Click(object sender, EventArgs e)
 {
     if (imgWM != null)
     {
         frmPreview f = new frmPreview(imgWM.ImgWaterMark);
         f.ShowDialog(this);
         f.Dispose();
     }
 }