foreach(String str in lstBox.Items) { if(str.SelectedText=="[Text u want to show in textbox"]) { textBox.Text=str.SelectedText; } }
ListViewItem foundItem = textListView.FindItemWithText(searchBox.Text, false, 0, true); if (foundItem != null) { textListView.TopItem = foundItem; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)