public StatusPanelController(PanelController panelController)
 {
     _panelController = panelController;
     _statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(StatusItemViewWidth);
     _statusItemView = new StatusItemView(_statusItem)
     {
         Image = NSImage.ImageNamed(ImagePath),
         AlternateImage = NSImage.ImageNamed(HighlightImagePath)
     };
     _statusItemView.StatusItemClicked += OnStatusItemClicked;
     _panelController.StatusItemView = _statusItemView;
     _panelController.StatusController = this;
 }
 public StatusPanelController(PanelController panelController)
 {
     _panelController = panelController;
     _statusItem      = NSStatusBar.SystemStatusBar.CreateStatusItem(StatusItemViewWidth);
     _statusItemView  = new StatusItemView(_statusItem)
     {
         Image          = NSImage.ImageNamed(ImagePath),
         AlternateImage = NSImage.ImageNamed(HighlightImagePath)
     };
     _statusItemView.StatusItemClicked += OnStatusItemClicked;
     _panelController.StatusItemView    = _statusItemView;
     _panelController.StatusController  = this;
 }