Project Description
UI Exception Handler is a simple library that provides error windows for unexpected .Net application exceptions.

Applications periodically crash, it can happen for various reasons and developers should show a window for error messages.
UI Exception Handler project provides errors windows for WinForms and for WPF with sending errors to developer's email via SMTP.
Also the tool saves all exceptions in a log file.

How to use:
1. Download latest source https://uiexceptionhandler.codeplex.com/SourceControl/latest
2. Build in release mode
3. Add reference to your project from UIExceptionHandlerLibs\Deploy folder
4. Initialise it:
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            UIExceptionHandlerWPF.UIException.Start("SmtpServerURL",
                26,
                "Password",
                "User",
                "developer@gmail.com",
                "user@gmail.com",
                "Exception"
                );
        }
    }
Or
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            UIExceptionHandlerWinForms.UIException.Start("SmtpServer", 
                26, 
                "Password",
                "User",
                "developer@gmail.com",
                "user@gmail.com",
                "Exception"
                );
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }

Screenshots
Error Window for WinForms:


Error Window for WinForms full:


Error Window for WPF:


Error Window for WPF full:


My other activity
1. C# Database Migrator: https://csharpdatabasemigrator.codeplex.com/
2. Simple and Free Profiler for Entity Framework: http://ef-logger.com/
3. My articles at russian IT site: http://habrahabr.ru/users/Diaver/topics/

Last edited May 7, 2014 at 3:18 PM by Diaver, version 8