Click here to Skip to main content
15,893,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i have win form
now i want to make a change in form:
while i choose any item of combo box,change image of picture box in same form
how can i make it????????
Posted

Handle the ComboBox.SelectedIndexChanged or CombnoBox.SelectedValueChanged event, and set the PictureBox.Image property in the handler.
 
Share this answer
 
Comments
behnamhaji 20-May-12 10:20am    
good ! but i need a cleary guide
tanx
OriginalGriff 20-May-12 11:00am    
How much clearer do you need it?
It's what? Six lines of code? Maybe less depending on what you put in your ComboBox?
 
Share this answer
 
Comments
behnamhaji 20-May-12 14:23pm    
tnx.
it is good.
Maciej Los 20-May-12 14:29pm    
Thank you ;)
VJ Reddy 21-May-12 8:44am    
Good answer. 5!
Maciej Los 21-May-12 8:52am    
Thank you, VJ ;)

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