示例#1
0
        private void createAdmission_Click(object sender, RoutedEventArgs e)
        {
            Window create = new createAppoinment();

            create.Show();
            Close();
        }
        /// <summary>
        /// Действия при нажатии на кнопку записи к врачу
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addButton_Click(object sender, RoutedEventArgs e)
        {
            Window addAppointment = new createAppoinment(admissionsList.SelectedItem.ToString());

            addAppointment.Show();
            Close();
        }