예제 #1
0
 public AddCreditScorePage()
 {
     InitializeComponent();
     ScoreDate.Focus();
     CmbProvider.Items.Add("TransUnion");
     CmbProvider.Items.Add("Experian");
     CmbProvider.Items.Add("Equifax");
 }
예제 #2
0
 /// <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();
 }
예제 #3
0
 /// <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();
 }