Exemplo n.º 1
0
 private void addTypeServiceButton_Click(object sender, RoutedEventArgs e)
 {
     Forms.TypeServiceWindow g = new Forms.TypeServiceWindow(true);
     if (g.ShowDialog() == true)
     {
         this.ShowAll();
     }
 }
Exemplo n.º 2
0
 private void editTypeServiceButton_Click(object sender, RoutedEventArgs e)
 {
     if (typeServiceGrid.SelectedIndex != -1)
     {
         var naz = (WpfApplicationEntity.API.Type_Service)typeServiceGrid.SelectedItem;
         Forms.TypeServiceWindow g = new Forms.TypeServiceWindow(false, naz.ID);
         g.ShowDialog();
         this.ShowAll();
     }
 }