void ReleaseDesignerOutlets() { if (MainImage != null) { MainImage.Dispose(); MainImage = null; } if (Name != null) { Name.Dispose(); Name = null; } if (Date != null) { Date.Dispose(); Date = null; } if (Description != null) { Description.Dispose(); Description = null; } if (ForkImage != null) { ForkImage.Dispose(); ForkImage = null; } if (CommentImage != null) { CommentImage.Dispose(); CommentImage = null; } if (StarsImage != null) { StarsImage.Dispose(); StarsImage = null; } if (Forks != null) { Forks.Dispose(); Forks = null; } if (Comments != null) { Comments.Dispose(); Comments = null; } if (Stars != null) { Stars.Dispose(); Stars = null; } }