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