Files
Oogynize/Platform/ErrorReporting/UserError.cs

25 lines
764 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Foo.Platform.ErrorReporting
{
public class UserError
{
/// <summary>
/// Display an Error to the User
/// </summary>
/// <param name="title">Error Title</param>
/// <param name="detail">Any Details about the Error that maybe pertinent to the User</param>
public static void Show(string title, string detail)
{
string strTitle = "Error - " + title;
string strDetail = detail + "\n\n\nContact Ooganizer Support at http://ooganizer.com/support for more help and information.";
MessageBox.Show(strDetail,strTitle);
}
}
}