void ReleaseDesignerOutlets() { if (btnContentProvider != null) { btnContentProvider.Dispose(); btnContentProvider = null; } if (lblDescription != null) { lblDescription.Dispose(); lblDescription = null; } if (lblPrice != null) { lblPrice.Dispose(); lblPrice = null; } if (lblQuantity != null) { lblQuantity.Dispose(); lblQuantity = null; } if (PopUpOuterView != null) { PopUpOuterView.Dispose(); PopUpOuterView = null; } if (PopUpView != null) { PopUpView.Dispose(); PopUpView = null; } if (ProductImage != null) { ProductImage.Dispose(); ProductImage = null; } if (ProductTitleLable != null) { ProductTitleLable.Dispose(); ProductTitleLable = null; } if (Seprator1 != null) { Seprator1.Dispose(); Seprator1 = null; } }
void ReleaseDesignerOutlets() { if (ProductDescription != null) { ProductDescription.Dispose(); ProductDescription = null; } if (ProductImage != null) { ProductImage.Dispose(); ProductImage = null; } if (ProductName != null) { ProductName.Dispose(); ProductName = null; } }
void ReleaseDesignerOutlets() { if (ProductDescriptionLable != null) { ProductDescriptionLable.Dispose(); ProductDescriptionLable = null; } if (ProductImage != null) { ProductImage.Dispose(); ProductImage = null; } if (ProductPriceLable != null) { ProductPriceLable.Dispose(); ProductPriceLable = null; } }