void ReleaseDesignerOutlets() { if (ChoosePictureButton != null) { ChoosePictureButton.Dispose(); ChoosePictureButton = null; } if (DescriptionText != null) { DescriptionText.Dispose(); DescriptionText = null; } if (ItemImage != null) { ItemImage.Dispose(); ItemImage = null; } if (ItemText != null) { ItemText.Dispose(); ItemText = null; } if (TakePictureButton != null) { TakePictureButton.Dispose(); TakePictureButton = null; } if (LatitudeLabel != null) { LatitudeLabel.Dispose(); LatitudeLabel = null; } if (LongitudeLabel != null) { LongitudeLabel.Dispose(); LongitudeLabel = null; } }