Пример #1
0
        private void btnCase_AddCourt_Click(object sender, RoutedEventArgs e)
        {
            addNewCourt newCourt = new addNewCourt();

            newCourt.ShowDialog();
            courtList = new CourtDA().getAllCourts();

            cbCaseCourtType.DataContext   = courtList;
            cbCaseCourtCity.DataContext   = courtList;
            cbCaseCourtType.SelectedValue = type;
            cbCaseCourtCity.SelectedValue = city;
        }
Пример #2
0
        private void btnCase_AddCourt_Click(object sender, RoutedEventArgs e)
        {
            addNewCourt newCourt = new addNewCourt();

            newCourt.ShowDialog();
        }