void ReleaseDesignerOutlets() { if (ButtonAdd != null) { ButtonAdd.Dispose(); ButtonAdd = null; } if (ButtonLeft != null) { ButtonLeft.Dispose(); ButtonLeft = null; } if (ButtonRight != null) { ButtonRight.Dispose(); ButtonRight = null; } if (CollectionView != null) { CollectionView.Dispose(); CollectionView = null; } if (UILabelHeader != null) { UILabelHeader.Dispose(); UILabelHeader = null; } }
void ReleaseDesignerOutlets() { if (ButtonLeft != null) { ButtonLeft.Dispose(); ButtonLeft = null; } if (ButtonRight != null) { ButtonRight.Dispose(); ButtonRight = null; } if (CollectionView != null) { CollectionView.Dispose(); CollectionView = null; } }