mac-samples/NSComboBoxTest/AppDelegate.cs

25 строки
454 B
C#

using System;
using CoreGraphics;
using Foundation;
using AppKit;
using ObjCRuntime;
namespace NSComboBoxTest
{
public partial class AppDelegate : NSApplicationDelegate
{
MainWindowController mainWindowController;
public AppDelegate ()
{
}
public override void DidFinishLaunching (NSNotification notification)
{
mainWindowController = new MainWindowController ();
mainWindowController.Window.MakeKeyAndOrderFront (this);
}
}
}