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(); }
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(); }