protected virtual void OnContextMenuInstanceEntryClick(object sender, InstanceEntryClickArgs e)
 {
   MouseClickInformation clickInfo = e.ClickInformation;
   if (clickInfo.OnlyLeftMouseButtonPressed)
   {
     bool useBackendBrowser = TrayPluginSettingsManager.OpenPagesInBackendBrowser;
     string suffix = TrayPluginSettingsManager.PageToRunOnClick;
     Instance instance = e.Instance;
     InstanceHelperEx.BrowseInstance(instance, MainWindow.Instance, suffix, !useBackendBrowser);
   }
 }
 public virtual void OnInstanceClick(object sender, InstanceEntryClickArgs args)
 {
     MouseClickInformation clickDetails = args.ClickInformation;
       this.ActualMappings.HandleEvent(ClickHandlersMappings.InstanceClickKey, new ClickDetailsWrapper(clickDetails, args.Instance, args));
 }