48 lines
1023 B
C#
48 lines
1023 B
C#
using ClassLibraryStandard;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace UI
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
Participant pr3 = new Participant();
|
|
pr3.name = "Hans3";
|
|
pr3.lastname = "Wurst3";
|
|
|
|
List<Participant> par = new List<Participant>();
|
|
|
|
BindingList<Participant> list01 = new BindingList<Participant>();
|
|
|
|
list01.Add(pr3);
|
|
|
|
datagrid1.ItemsSource = list01;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|