示例#1
0
        /*public override bool ApplicationShouldHandleReopen (NSApplication sender, bool flag)
        {
            var window = NSApplication.SharedApplication.KeyWindow;
            if (window == null)
                welcomeScreenController.Window.MakeKeyAndOrderFront (this);
            return true;
        }*/

        public override void DidFinishLaunching (NSNotification notification)
        {
            welcomeScreenController = new WelcomeScreenController ();
            welcomeScreenController.Window.MakeKeyAndOrderFront (this);
        }
示例#2
0
        /*public override bool ApplicationShouldHandleReopen (NSApplication sender, bool flag)
         * {
         *  var window = NSApplication.SharedApplication.KeyWindow;
         *  if (window == null)
         *      welcomeScreenController.Window.MakeKeyAndOrderFront (this);
         *  return true;
         * }*/

        public override void DidFinishLaunching(NSNotification notification)
        {
            welcomeScreenController = new WelcomeScreenController();
            welcomeScreenController.Window.MakeKeyAndOrderFront(this);
        }