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; } }