Exemplo n.º 1
0
        private void BankChanged(object sender, EventArgs e)
        {
            if (FinancialInstitutions.Where(r => r.IsChecked == true).Count() > 0)
            {
                Accounts = FinancialInstitutions.Where(r => r.IsChecked == true).First().Accounts;
                if (!Accounts.Any(r => r.IsChecked == true))
                {
                    Accounts.First().IsChecked = true;
                }
                AccountRadio.ItemsSource = Accounts;

                AccountTypeChecked();
            }
        }