示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Examination exam = ec.ViewScheduledExaminationById(idExam);

            ec.SaveExaminationInPatientCard(exam);
            ec.DeleteScheduledExamination(idExam);

            var s = new HomePage(d);

            s.Show();
            this.Close();
        }