Exemple #1
0
 private void PrintList()
 {
     contacts.Items.Clear();
     foreach (Person p in a.ListAll())
     {
         PersonHMI pHMI = new PersonHMI(p);
         contacts.Items.Add(pHMI);
     }
 }
Exemple #2
0
 public PersonWindow(Person p)
 {
     InitializeComponent();
     DataContext = new PersonHMI(p);
 }