示例#1
0
 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;
        }
示例#3
0
        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();
 }
示例#5
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Navegacion.NavegarAtras();
     Controles.Limpiar_lista();
 }