-using System;
-using System.Collections.Generic;
-using System.Linq;
-using MonoMac.AppKit;
-using MonoMac.Foundation;
+using AppKit;
+using Foundation;
namespace SuperPolarity
{
+ [Register ("AppDelegate")]
static class Program
{
/// <summary>
{
SuperPolarity superPolarity;
- public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
+ public AppDelegate ()
+ {
+ }
+
+ public override void DidFinishLaunching (NSNotification notification)
{
superPolarity = new SuperPolarity();
superPolarity.Run ();
}
- public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender)
+ public override void WillTerminate (NSNotification notification)
{
- return true;
}
}
}