initial oogynize check in _ this actually used to work!
This commit is contained in:
24
Platform/ErrorReporting/UserError.cs
Normal file
24
Platform/ErrorReporting/UserError.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user