void OKActualButton_Click(object sender, RoutedEventArgs e) { this.IsBusy = true; this.StateAction = "Actualizando el Permiso"; _service = new SPVNServicesClient(); //_service.ActualizarPerfilAsync(temporalPerfil); }
void permisoService_SeleccionarTodosProductosCompleted(object sender, SeleccionarTodosProductosCompletedEventArgs e) { listProductos.Clear(); this.ListProductos = e.Result; _service = new SPVNServicesClient(); _service.SeleccionarTodasCategoriasAsync(); _service.SeleccionarTodasCategoriasCompleted += new EventHandler <SeleccionarTodasCategoriasCompletedEventArgs>(permisoService_SeleccionarTodasCategoriasCompleted); }
public void SeleccionarTodosProductos() { _service = new SPVNServicesClient(); this.IsBusy = true; StateAction = "Recopilando Información"; _service.SeleccionarTodosProductosAsync(); _service.SeleccionarTodosProductosCompleted += new EventHandler <SeleccionarTodosProductosCompletedEventArgs>(permisoService_SeleccionarTodosProductosCompleted); }
public void Init() { ListPerfil.Clear(); _service = new SPVNServicesClient(); this.IsBusy = true; this.StateAction = "Recopilando Información"; _service.SeleccionarTodosPerfilAsync(); _service.SeleccionarTodosPerfilCompleted += new System.EventHandler <SeleccionarTodosPerfilCompletedEventArgs>(permisoService_SeleccionarTodosPerfilCompleted); }
private void ConsultarTodosProductos() { service = new SPVNServicesClient(); service.SeleccionarTodosProductosAsync(); IsBusy = true; StateAction = "Recopilando información"; service.SeleccionarTodosProductosCompleted += new EventHandler <SeleccionarTodosProductosCompletedEventArgs>(service_SeleccionarTodosProductosCompleted); }
void OKRegisterButton_Click(object sender, RoutedEventArgs e) { this.IsBusy = true; this.StateAction = "Registrando Permiso"; _service = new SPVNServicesClient(); //temporalPermiso = new T_Permiso() //{ // Nombre_Permiso = _regPermiso.txtNombrePermiso.Text, // Descripcion_Permiso = _regPermiso.txtDescripcionPermiso.Text, // NombrePaquete_Permiso = _regPermiso.txtNombrePermiso.Text //}; _service.RegistrarPermisoAsync(temporalPermiso); _service.RegistrarPermisoCompleted += new System.EventHandler <RegistrarPermisoCompletedEventArgs>(permisoService_RegistrarPermisoCompleted); }
void OKRegisterButton_Click(object sender, RoutedEventArgs e) { this.IsBusy = true; this.StateAction = "Registrando Permiso"; _service = new SPVNServicesClient(); temporalPerfil = new T_Perfil() { Nombre_Perfil = _regPerfil.txtNombrePerfil.Text, Descripcion_Perfil = _regPerfil.txtDescripcionPerfil.Text }; //_service.RegistrarPerfilAsync(temporalPerfil); //_service.RegistrarPerfilAsync(temporalPerfil); _service.RegistrarPerfilCompleted += new EventHandler <RegistrarPerfilCompletedEventArgs>(permisoService_RegistrarPerfilCompleted); }
void OKActualButton_Click(object sender, RoutedEventArgs e) { this.IsBusy = true; this.StateAction = "Actualizando el Permiso"; _service = new SPVNServicesClient(); temporalPermiso = new T_Permiso() { ID_Permiso = int.Parse(_actPermiso.txtIDPermiso.Text), Nombre_Permiso = _actPermiso.txtNombrePermiso.Text, Descripcion_Permiso = _actPermiso.txtDescripcionPermiso.Text, NombrePaquete_Permiso = _actPermiso.txtNombrePermiso.Text }; _service.RegistrarPermisoCompleted += new System.EventHandler <RegistrarPermisoCompletedEventArgs>(permisoService_RegistrarPermisoCompleted); }