Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I has a form that has a listview for display picture.
I want my form same to form windows.
In Windows form XP when it include of Picture ,in botton windows display a background's picture.
please help me. :rose::rose::rose:
Posted

1 solution

You can use the ListView.SelectedItems property to tell which picture is selected. If there is only one, then put the image into a PictureBox (or paint it yourself in the Paint event) from the ListView.SelectedIndexChanged event.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900