NBTExplorer/Mac/AppDelegate.cs
Justin Aquadro f6aeb77ffe Merge commit '491b13aec3002d075f9dc7bc3c05833951234176' into mac-ui
Conflicts:
	NBTExplorer.csproj
Restructuring project
2012-11-04 23:34:59 -05:00

29 lines
577 B
C#

using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
namespace NBTExplorer
{
public partial class AppDelegate : NSApplicationDelegate
{
MainWindowController mainWindowController;
public AppDelegate ()
{
}
public override void FinishedLaunching (NSObject notification)
{
mainWindowController = new MainWindowController ();
mainWindowController.Window.MakeKeyAndOrderFront (this);
}
partial void ActionRename (NSObject sender)
{
mainWindowController.Window.ActionEditValue();
}
}
}