示例#1
0
        private void listView_ItemActivate(object sender, System.EventArgs e)
        {
            SearchResultsItem searchResultsItem = (SearchResultsItem)this.listView.SelectedItems[0];

            this.OnItemActivate(this, new ItemActivateEventArgs(searchResultsItem.FileName, searchResultsItem.Line, searchResultsItem.Column, searchResultsItem.Text));
        }
示例#2
0
 private void Add(SearchResultsItem item)
 {
     this.listView.Items.Add(item);
 }