示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            // добавить
            var form = new PatientAdd();

            form.Show();
        }
示例#2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var patients = ListPatient.SelectedItem as Patients;

            if (patients != null)
            {
                var form = new PatientAdd(patients);
                form.Show();
            }
        }