I have this method:
private void listView1_DoubleClick(object sender, EventArgs e)
{
if (listView1.SelectedItems.Count > 0)
{
ListViewItem selectedFile = listView1.SelectedItems[0];
label7.Text = selectedFile.ToString();
string selectedFileLocation = selectedFile.Tag.ToString();
PlaySoundFile(selectedFileLocation);
}
}
The result is this:
How can I retrieve the exact text that is selected in the ListView? :D