The Exception Handler should be instantiated from within the Program.cs file prior to the Application.Run() invocation.

    static void Main()
    {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);

        IExecptionHandler handler = new DxExceptionHandler();
        handler.ProductName = "My Product Name";
        handler.ToEmailAddress = "exceptions@MyCompany.com";
        handler.EmailConnectionInformation =
            new EmailConnectionInformation("mail.MyCompany.com", 25);
        // If you want to customize the logging,
        // localiztion or configuration services.
        // If you want to use the default services
        // helper ignore this next line.
        handler.ServicesHelper = new MyCustomServicesHelper();

        Application.Run(mainForm);
    }

If you don't want to bother with getting email back from your users you can disable this via setting the ShowEmailControls to false.

The default text of the interface elements can be changed via the SetExceptionDisplayText method.

 

Back to task-based help.