public AddCreditScorePage() { InitializeComponent(); ScoreDate.Focus(); CmbProvider.Items.Add("TransUnion"); CmbProvider.Items.Add("Experian"); CmbProvider.Items.Add("Equifax"); }
/// <summary>Resets all controls to their default state.</summary> private void Reset() { ScoreDate.Text = ""; TxtSource.Text = ""; TxtScore.Text = ""; CmbProvider.SelectedIndex = -1; ChkFICO.IsChecked = false; ScoreDate.Focus(); }
/// <summary>Resets all controls to their default state.</summary> private void Reset() { ScoreDate.SelectedDate = SelectedCreditScore.Date; TxtSource.Text = SelectedCreditScore.Source; TxtScore.Text = SelectedCreditScore.Score.ToString(); CmbProvider.SelectedItem = SelectedCreditScore.ProviderToString; ChkFICO.IsChecked = SelectedCreditScore.FICO; ScoreDate.Focus(); }