예제 #1
0
 private void Choose_Click(object sender, RoutedEventArgs e)
 {
     if (ResSet.SelectedItem != null)
     {
         PATIENT  p    = (PATIENT)ResSet.SelectedItem;
         NewVisit wind = new NewVisit(p);
         wind.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Выберите пациента");
     }
 }
예제 #2
0
        private void NewVisit_Click(object sender, RoutedEventArgs e)
        {
            NewVisit wind = new NewVisit(user, currentPatient, datetime1);

            wind.ShowDialog();
        }