void ReleaseDesignerOutlets() { if (CategoryCountLabel != null) { CategoryCountLabel.Dispose(); CategoryCountLabel = null; } if (CategoryImage != null) { CategoryImage.Dispose(); CategoryImage = null; } if (CategoryImageOverlay != null) { CategoryImageOverlay.Dispose(); CategoryImageOverlay = null; } if (CategoryName != null) { CategoryName.Dispose(); CategoryName = null; } }
void ReleaseDesignerOutlets() { if (CategoryImage != null) { CategoryImage.Dispose(); CategoryImage = null; } if (lblName != null) { lblName.Dispose(); lblName = null; } }
void ReleaseDesignerOutlets() { if (CategoryImage != null) { CategoryImage.Dispose(); CategoryImage = null; } if (CategoryName != null) { CategoryName.Dispose(); CategoryName = null; } if (frameView != null) { frameView.Dispose(); frameView = null; } }