Пример #1
0
 private void dataGridOrders_Loaded(object sender, RoutedEventArgs e)
 {
     textBlockFirstName.Text    = _repository.AccountFirstName(_repository.CurrentLogin);
     textBlockLastName.Text     = _repository.AccountLastName(_repository.CurrentLogin);
     textBlockEmail.Text        = _repository.AccountEmail(_repository.CurrentLogin);
     dataGridOrders.ItemsSource = _repository.PaymentsHistory();
     _repository.CurrentName    = textBlockFirstName.Text + " " + textBlockLastName.Text;
 }