private void allatokDG_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (vm.KivalsztottAllat != null)
     {
         AllatAblak aa = new AllatAblak(vm, true);
         aa.ShowDialog();
     }
 }
예제 #2
0
        private void btAllatModositas(object sender, RoutedEventArgs e)
        {
            AllatAblak aa = new AllatAblak(vm, false);

            if (aa.ShowDialog() == true)
            {
                allatClient.AllatModositas(vm.KivalsztottAllat, vm.Felhasznalo);
                ListaFrissites();
            }
        }
예제 #3
0
 private void allatokDG_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (vm.KivalsztottAllat != null)
     {
         AllatAblak aa = new AllatAblak(vm, false);
         if (aa.ShowDialog() == true)
         {
             allatClient.AllatModositas(vm.KivalsztottAllat, vm.Felhasznalo);
             ListaFrissites();
         }
     }
 }