2012-11-04 01:36:12 +00:00
|
|
|
using System;
|
|
|
|
using System.Drawing;
|
|
|
|
using MonoMac.Foundation;
|
|
|
|
using MonoMac.AppKit;
|
|
|
|
using MonoMac.ObjCRuntime;
|
|
|
|
|
2012-11-05 04:18:25 +00:00
|
|
|
namespace NBTExplorer
|
2012-11-04 01:36:12 +00:00
|
|
|
{
|
|
|
|
public partial class AppDelegate : NSApplicationDelegate
|
|
|
|
{
|
|
|
|
MainWindowController mainWindowController;
|
|
|
|
|
|
|
|
public AppDelegate ()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void FinishedLaunching (NSObject notification)
|
|
|
|
{
|
|
|
|
mainWindowController = new MainWindowController ();
|
|
|
|
mainWindowController.Window.MakeKeyAndOrderFront (this);
|
|
|
|
}
|
2012-11-05 04:18:25 +00:00
|
|
|
|
|
|
|
partial void ActionRename (NSObject sender)
|
|
|
|
{
|
|
|
|
mainWindowController.Window.ActionEditValue();
|
|
|
|
}
|
2012-11-04 01:36:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|