Beispiel #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     Historico h = new Historico("Thiago");
     h.Inserir(new Disciplina("POO", 80));
     h.Inserir(new Disciplina("Design", 70));
     h.Inserir(new Disciplina("Física", 95));
     list.ItemsSource = h.Listar(); // h.discs;
     txt.Text = h.IRA().ToString();
 }
Beispiel #2
0
 private void Button_Aluno(object sender, RoutedEventArgs e)
 {
     h = new Historico(aluno.Text);
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     a = new Historico(NomeAluno.Text);
 }