Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
        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);
        }