void ReleaseDesignerOutlets() { if (AllRewardsButton != null) { AllRewardsButton.Dispose(); AllRewardsButton = null; } if (AviableRewardsButton != null) { AviableRewardsButton.Dispose(); AviableRewardsButton = null; } if (ClaimedButton != null) { ClaimedButton.Dispose(); ClaimedButton = null; } if (mainView != null) { mainView.Dispose(); mainView = null; } if (tabBarView != null) { tabBarView.Dispose(); tabBarView = 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 (AviableRewardsButton != null) { AviableRewardsButton.Dispose(); AviableRewardsButton = null; } if (ClaimedButton != null) { ClaimedButton.Dispose(); ClaimedButton = null; } if (RewardsTableView != null) { RewardsTableView.Dispose(); RewardsTableView = null; } if (tabBarView != null) { tabBarView.Dispose(); tabBarView = 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; } }