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