Exemplo n.º 1
0
        partial void ShowPreferenceWindow(MonoMac.Foundation.NSObject sender)
        {
            Console.WriteLine("I can has perfences?");
            if (_preferencesWindowController == null)
            {
                _preferencesWindowController = new PreferencesWindowController();
            }

            //NSApplication.SharedApplication.RunModalForWindow(_preferencesWindowController.Window);
            _preferencesWindowController.ShowWindow(this);
            _preferencesWindowController.Window.Level = NSWindowLevel.Status;
            //_preferencesWindowController.Window.MakeMainWindow();
        }
Exemplo n.º 2
0
partial         void ShowPreferenceWindow(MonoMac.Foundation.NSObject sender)
        {
            Console.WriteLine("I can has perfences?");
            if(_preferencesWindowController == null)
                _preferencesWindowController = new PreferencesWindowController();

            //NSApplication.SharedApplication.RunModalForWindow(_preferencesWindowController.Window);
            _preferencesWindowController.ShowWindow(this);
            _preferencesWindowController.Window.Level = NSWindowLevel.Status;
            //_preferencesWindowController.Window.MakeMainWindow();
        }