public void Notify(Exception ex, string furtherMessage, string title)
{
//new ExceptionNotifyForm(ex, furtherMessage, title).ShowDialog();
_exceptionMessage = furtherMessage + Environment.NewLine + ex.Message;
if (ex is UserException)
{
string message = ex.Message;
if (!String.IsNullOrEmpty(furtherMessage))
{
furtherMessage = furtherMessage.TrimEnd('.', ':');
message = furtherMessage + ":" + Environment.NewLine + message;
}
MessageBox.Show(message, title, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
CollapsibleExceptionNotifyForm form = new CollapsibleExceptionNotifyForm(ex, furtherMessage, title);
form.ShowDialog();
}
}