mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-10 09:56:25 +00:00
30 lines
577 B
C#
30 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();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|