private void frmSignature_FormClosed(object sender, FormClosedEventArgs e) { if (pictureBox1 != null) { pictureBox1.Dispose(); } if (mbmsignhere != null) { mbmsignhere.Dispose(); } if (_signatureService != null) { _signatureService.Dispose(); } if (SigPlusNET1 != null) { SigPlusNET1.Dispose(); } }