void ReleaseDesignerOutlets() { if (AreaCollection != null) { AreaCollection.Dispose(); AreaCollection = null; } if (AreaCollectionHeight != null) { AreaCollectionHeight.Dispose(); AreaCollectionHeight = null; } if (cnCollectionViewHeight != null) { cnCollectionViewHeight.Dispose(); cnCollectionViewHeight = null; } if (cnsAreaCollectionTop != null) { cnsAreaCollectionTop.Dispose(); cnsAreaCollectionTop = null; } if (CollectionView != null) { CollectionView.Dispose(); CollectionView = null; } if (EmptyCollectionView != null) { EmptyCollectionView.Dispose(); EmptyCollectionView = null; } if (TableView != null) { TableView.Dispose(); TableView = null; } if (ViewForImage != null) { ViewForImage.Dispose(); ViewForImage = null; } }
void ReleaseDesignerOutlets() { if (AllRewardsButton != null) { AllRewardsButton.Dispose(); AllRewardsButton = null; } if (AreaCollection != null) { AreaCollection.Dispose(); AreaCollection = null; } if (AreaCollectionHeight != null) { AreaCollectionHeight.Dispose(); AreaCollectionHeight = null; } if (AvailableRewardsButton != null) { AvailableRewardsButton.Dispose(); AvailableRewardsButton = null; } if (ClaimedButton != null) { ClaimedButton.Dispose(); ClaimedButton = null; } if (cnsAreaCollectionTop != null) { cnsAreaCollectionTop.Dispose(); cnsAreaCollectionTop = null; } if (CollectionView != null) { CollectionView.Dispose(); CollectionView = null; } if (EmptyCollectionView != null) { EmptyCollectionView.Dispose(); EmptyCollectionView = null; } if (tabBarView != null) { tabBarView.Dispose(); tabBarView = null; } if (ViewForImage != null) { ViewForImage.Dispose(); ViewForImage = null; } }