Exemplo n.º 1
0
        private void NewInfo_Click(object sender, RoutedEventArgs e)
        {
            NewPatientWindow wind = new NewPatientWindow(user, datetime1);

            wind.Show();
            Close();
        }
Exemplo n.º 2
0
 private void ChangeInfo_Click(object sender, RoutedEventArgs e)
 {
     if (ResSet.SelectedItem != null)
     {
         PATIENT          p    = (PATIENT)ResSet.SelectedItem;
         NewPatientWindow wind = new NewPatientWindow(p, user, datetime1);
         wind.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Выберите пациента");
     }
 }