private void UpdateTabButtons() { var buttons = new RewardsTabButton[] { AllRewardsButton, AvailableRewardsButton, ClaimedButton }; foreach (var button in buttons) { button.SetUnselected(); } }
partial void ClaimedButton_TouchUpInside(RewardsTabButton sender) { ChangeSelectedButton(2); }
partial void AviableRewardsButton_TouchUpInside(RewardsTabButton sender) { ChangeSelectedButton(1); }
partial void AllRewardsButton_TouchUpInside(RewardsTabButton sender) { ChangeSelectedButton(0); }
partial void TransactionsButton_TouchUpInside(RewardsTabButton sender) { SetSelectedPage(2); }
partial void AviableButton_TouchUpInside(RewardsTabButton sender) { SetSelectedPage(1); }
partial void AllRewardsButton_TouchUpInside(RewardsTabButton sender) { SetSelectedPage(0); }