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(); } } }