I have 9 Pictures Boxes. If I click one Box it should change the Label to something like :
label_selectedcar = "Selected Car : " + 'ImageName'
I did create the Same Click Event for all of the PictureBoxes.
private void SelectCar(object sender, MouseEventArgs e)
{
var pictureBox = (PictureBox)sender;
}
How can i get the Image Name from the PictureBox that i clicked on. The Images all have the car name in it.
