/* OPEN DETAILS OF A PATIENT */ private void lblTitle_Click(object sender, RoutedEventArgs e) { var pd = new PatientDetails(Patient); pd.Owner = this; pd.ShowDialog(); }
/* ADD NEW PATIENT */ private void btnAddNewPatient_Click(object sender, RoutedEventArgs e) { var pd = new PatientDetails(); pd.Owner = this; pd.ShowDialog(); }