Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

picture box

Status
Not open for further replies.

DESMAN2003

Programmer
Oct 27, 2003
24
AU
Hi,

I currently have 10 check boxes, some radio buttons as well as a picture box. what I am trying to do is write a function that loads a bmp into the picture box, if a specific radio button is selected as well as all 10 check boxes checked. Does anything know how and where on the form you would write this?

Thanks heaps in advance!
 
1) Add a change event to all the control (Pointing to the same function)
2) Load of if statements, if success then picbox.image = your image.


Or is that too easy? To make it nicer you could loop though all the controls to replace point 2

Tom
 
Hi,
I dont understand what you mean. I am very new to C#. Could you please be more specific???

thanks heaps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top