I would like to double click on an item in the list box and have that item show up in the textBox titled File name (please refer to the picture)
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
{
listBox1.Items.Add(textBox2.Text);
}
this code does not work, what am I doing wrong