예제 #1
0
        private void MostrarError(ErrorEstructura error)
        {
            if (error.Tipo == TipoError.Error)
            {

                ErrorGestor err = new ErrorGestor();

                webBrowser1.DocumentText = err.obtenerError(error.Titulo, error.Seccion, error.Comentario, error.Mensaje, error.Trazo);

                showErrorPanel(EstadoPanelError.Abierto);
            }
            else if (error.Tipo == TipoError.Confirmacion)
            {
                notificacionRapidaAlerta1.mostrarNotificacion(error.Mensaje);
            }
        }
예제 #2
0
        private void MostrarError(string titulo, String mensaje, string seccion, string trazo, string comentario, Exception ex)
        {
            ErrorGestor err = new ErrorGestor();

            webBrowser1.DocumentText = err.obtenerError(titulo, seccion, comentario, ex.Message, ex.StackTrace);

            showErrorPanel(EstadoPanelError.Abierto);
        }