Ejemplo n.º 1
0
 private void addRegistationForANeedsButton_Click(object sender, RoutedEventArgs e)
 {
     Forms.RegistrationForANeedsWindow g = new Forms.RegistrationForANeedsWindow(true);
     if (g.ShowDialog() == true)
     {
         this.ShowAll();
     }
 }
Ejemplo n.º 2
0
 private void editRegistationForANeedsButton_Click(object sender, RoutedEventArgs e)
 {
     if (registrationforaneedsGrid.SelectedIndex != -1)
     {
         var naz = (WpfApplicationEntity.API.Registration_for_a_needs)registrationforaneedsGrid.SelectedItem;
         Forms.RegistrationForANeedsWindow g = new Forms.RegistrationForANeedsWindow(false, naz.ID);
         g.ShowDialog();
         this.ShowAll();
     }
 }