Exemplo n.º 1
0
        private void Admin_CityAdd_Click(object sender, RoutedEventArgs e)
        {
            DialogBoxCity d = new DialogBoxCity(Service, 1);

            d.ShowDialog();
            if (d.okClick == false)
            {
                return;
            }
            Service.InsertCity(d.result, d.selectedCountry, username, password);
        }