private void guardar() { CONTRASEÑA_D = caja_contrasena.Password.Trim(); NOMBRE_D = "ADMINISTRADOR"; TIPO_USUARIO_D = TIPO_ADMINISTRADOR; metodos_bd.GUARDAR(NOMBRE_TABLA, (NOMBRE, NOMBRE_D), (CONTRASEÑA, CONTRASEÑA_D), (TIPO_USUARIO, TIPO_USUARIO_D)); Navegacion.NavegarAtras(); }
private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { principal._contenedorClient.Unsubscribe(); Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, (DispatcherOperationCallback) delegate(object o) { Navegacion.NavegarAtras(); return(null); }, null); e.Cancel = true; }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { // Navegacion.GoBack(); Controles.Limpiar_lista(); Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, (DispatcherOperationCallback) delegate(object o) { Navegacion.NavegarAtras(); return(null); }, null); e.Cancel = true; }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Navegacion.NavegarAtras(); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Navegacion.NavegarAtras(); Controles.Limpiar_lista(); }