private void AddAdvertisement_Click(object sender, RoutedEventArgs e) { ac.addAdvertisement(nameBox.Text, descriptionBox.Text); MessageBox.Show("Insert Succesfully"); this.Close(); }
private void AddAdvertisement_Click(object sender, RoutedEventArgs e) { ac.addAdvertisement(nameBox.Text, descriptionBox.Text); MessageBox.Show("Insert Succesfully"); this.Close(); }