Exemple #1
0
        private void Admin_CountryDelete_Click(object sender, RoutedEventArgs e)
        {
            ConfirmBox confirm = new ConfirmBox();

            confirm.ShowDialog();
            if (confirm.okClick == false)
            {
                return;
            }
            Service.DeleteCounty((int)Admin_CountryCombo.SelectedValue, username, password);
            Admin_CountryCombo.ItemsSource = Service.GetComboCountry().Tables[0].DefaultView;
        }