Exemple #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);
		}
Exemple #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);
        }