I have listview which is populated with list of data. Now I want to select desired row and on click button to recognize that item to delete from a collection.
Question is how to recognize selected row from the listview?
private void buttonDelete_Click(object sender, EventArgs e)
//selected data is of custom type SelectedData
var selected = (SelectedData)....?
Thanks in Advanced!