public void LoadTable(string lastName) // Only shows the patient(s) with a matching last name { Patients patients = new Patients(lastName); dgOutput.ItemsSource = patients; }
public void LoadTable() // This method is used to load the table to save lines { Patients patients = new Patients(); dgOutput.ItemsSource = patients; }