mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-09 17:36:25 +00:00
f6aeb77ffe
Conflicts: NBTExplorer.csproj Restructuring project
36 lines
927 B
C#
36 lines
927 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using MonoMac.Foundation;
|
|
using MonoMac.AppKit;
|
|
using MonoMac.ObjCRuntime;
|
|
|
|
namespace NBTExplorer
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
//[STAThread]
|
|
static void Main (string[] args)
|
|
{
|
|
NSApplication.Init ();
|
|
NSApplication.Main (args);
|
|
}
|
|
|
|
/*public static void StaticInitFailure (Exception e)
|
|
{
|
|
Console.WriteLine("Static Initialization Failure:");
|
|
|
|
Exception original = e;
|
|
while (e != null) {
|
|
Console.WriteLine(e.Message);
|
|
Console.WriteLine(e.StackTrace);
|
|
e = e.InnerException;
|
|
}
|
|
|
|
MessageBox.Show("Application failed during static initialization: " + original.Message);
|
|
Application.Exit();
|
|
}*/
|
|
}
|
|
}
|