public override void DidFinishLaunching(NSNotification notification) { mainWindowController = new MainWindowController(); view = new GLView(mainWindowController.Window.Frame, new NSOpenGLPixelFormat(new object [] { NSOpenGLPixelFormatAttribute.FullScreen, NSOpenGLPixelFormatAttribute.MinimumPolicy })); mainWindowController.Window.ContentView = view; mainWindowController.Window.MakeKeyAndOrderFront(this); }
public override void FinishedLaunching (NSObject notification) { mainWindowController = new MainWindowController (); view = new GLView (mainWindowController.Window.Frame, new NSOpenGLPixelFormat (new NSOpenGLPixelFormatAttribute [] { NSOpenGLPixelFormatAttribute.FullScreen, NSOpenGLPixelFormatAttribute.MinimumPolicy })); mainWindowController.Window.ContentView = view; mainWindowController.Window.MakeKeyAndOrderFront (this); }