void ReleaseDesignerOutlets()
        {
            if (DisplayImage != null)
            {
                DisplayImage.Dispose();
                DisplayImage = null;
            }

            if (DisplayText != null)
            {
                DisplayText.Dispose();
                DisplayText = null;
            }

            if (DisplayTime != null)
            {
                DisplayTime.Dispose();
                DisplayTime = null;
            }
        }
Example #2
0
 public void Dispose()
 {
     originalImage.Dispose();
     DisplayImage.Dispose();
     Spermatosoids.Dispose();
 }