Example #1
0
        public override NSApplicationTerminateReply ApplicationShouldTerminate(NSApplication sender)
        {
            _statusPanelController.Dispose();
            _statusPanelController = null;

            return NSApplicationTerminateReply.Now;
        }
Example #2
0
 public override void FinishedLaunching(NSObject notification)
 {
     _statusPanelController = new StatusPanelController(new PanelController());
 }