Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 11:53:58 (9 years ago)
Author:
gkronber
Message:

#2522 added overrides for ShowError in IMainForm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.MainForm.WindowsForms/3.3/Dialogs/ErrorDialog.cs

    r13338 r13352  
    2626namespace HeuristicLab.MainForm.WindowsForms {
    2727  public partial class ErrorDialog : Form {
    28     public ErrorDialog() {
     28    public ErrorDialog() : this(null, null) { }
     29    public ErrorDialog(Exception exception) : this(null, exception) { }
     30    public ErrorDialog(string message) : this(message, null) { }
     31    public ErrorDialog(string message, Exception exception) {
    2932      InitializeComponent();
    30       Initialize(null, null);
    31     }
    32     public ErrorDialog(Exception exception)
    33       : this() {
    34       Initialize(null, exception);
    35     }
    36     public ErrorDialog(string message, Exception exception)
    37       : this() {
    3833      Initialize(message, exception);
    3934    }
     
    5954        System.Diagnostics.Process.Start("mailto:" + supportLinkLabel.Text);
    6055        supportLinkLabel.LinkVisited = true;
    61       }
    62       catch (Exception) { }
     56      } catch (Exception) { }
    6357    }
    6458  }
Note: See TracChangeset for help on using the changeset viewer.