private void listBox1_DoubleClick(object sender, EventArgs e) { string item; item = listBox1.SelectedItem.ToString(); MessageBox.Show("Selected Index = " + item); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)