private void BuildAmbigousNode(PineappleTreeNode node, SearchResults result)
    {
      node.BacklightColorIndex = (int)Highlights.Ambigous;
      node.Subitems.Add("Ambigous. See tree subitems for details.");

      if (Configs.Instance.ShowOriginal)
        node.Subitems.Add("Original line: " + result.Original);

      node.ToolTipText = "Unable to precisely determine method. Set of variants provided.";
      node.ImageIndex = 8;

      foreach (INamedEntity entity in result.Results)
      {
        PineappleTreeNode entityNode = new PineappleTreeNodeMultiline(GetEntityName(entity));
        node.Nodes.Add(entityNode);
        BuildNormalNode(entityNode, entity, null);
      }
    }
    public SearchResultsForm(MainForm mainForm, SearchResults items, string name)
    {
      InitializeComponent();
      lvItems.SmallImageList = mainForm.IconsList;

      Text = name;
      foreach (INamedEntity item in items.Results)
      {
        string itemName = item.NameFull;

        ListViewItem lv = new ListViewItem(itemName);
        lv.ImageIndex = TreeBuilder.GetIconForEntity(item.EntityType);
        lv.Tag = item;
        lvItems.Items.Add(lv);
        lv.ToolTipText = ((RenamedBase)item).TreeNode.ToolTipText + "Double-click to select in classes tree."; ;
      }

      chItem.Width = lvItems.ClientSize.Width;
    }