public override void DidFinishLaunching (NSNotification notification) { mainWindow = new MyKeyWindow (CGRect.Empty, NSWindowStyle.Borderless, NSBackingStore.Buffered, false) { IsOpaque = false, IsMovable = true, MovableByWindowBackground = true, ReleasedWhenClosed = false, BackgroundColor = NSColor.Clear, ContentViewController = new TestLauncherViewController () }; mainWindow.Center (); mainWindow.MakeKeyAndOrderFront (null); }
public override void DidFinishLaunching(NSNotification notification) { mainWindow = new MyKeyWindow(CGRect.Empty, NSWindowStyle.Borderless, NSBackingStore.Buffered, false) { IsOpaque = false, IsMovable = true, MovableByWindowBackground = true, ReleasedWhenClosed = false, BackgroundColor = NSColor.Clear, ContentViewController = new TestLauncherViewController() }; mainWindow.Center(); mainWindow.MakeKeyAndOrderFront(null); }