void ReleaseDesignerOutlets() { if (DisplayImage != null) { DisplayImage.Dispose(); DisplayImage = null; } if (DisplayText != null) { DisplayText.Dispose(); DisplayText = null; } if (DisplayTime != null) { DisplayTime.Dispose(); DisplayTime = null; } }
public void Dispose() { originalImage.Dispose(); DisplayImage.Dispose(); Spermatosoids.Dispose(); }