private void AddToMyWork(object sender)
 {
     ToolWindowHelper.AddToMyWork(SelectedItem?.Entity);
 }
 private void SearchResults_ContextMenuOpened(object sender, RoutedEventArgs e)
 {
     ToolWindowHelper.ConstructContextMenu(sender as ContextMenu, SelectedItem,
                                           ViewDetails, ViewTaskParentDetails, null,
                                           OpenInBrowser, null, DownloadScript, null, null, AddToMyWork, null);
 }
 private void DownloadScript(object sender)
 {
     ToolWindowHelper.DownloadScript(SelectedItem);
 }
 private void OpenInBrowser(object param)
 {
     ToolWindowHelper.OpenInBrowser(SelectedItem?.Entity);
 }
 private void ViewTaskParentDetails(object param)
 {
     ToolWindowHelper.ViewTaskParentDetails(SelectedItem);
 }
 private void ViewDetails(object param)
 {
     ToolWindowHelper.ViewDetails(SelectedItem?.Entity);
 }
 private void SearchItems_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ToolWindowHelper.HandleDoubleClickOnItem(SelectedItem?.Entity);
 }