Пример #1
0
 private void EditAdvertisement_Click(object sender, RoutedEventArgs e)
 {
     newAds.AdvertisementName        = nameBox.Text;
     newAds.AdvertisementDescription = descriptionBox.Text;
     ac.updateAdvertisement(oldAds, newAds);
     MessageBox.Show("Update Succesful!");
     this.Close();
 }