Click here to Skip to main content
15,921,454 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I am looking for Dynamic Properties in C#.net in Windows application.One flowLayoutpanel in the form.Dynamic properties are Group box ,Picture Boxes and Labels In that flowLayoutPanel.My question is when i click the One Picture Box ,Label text should change and another picture box picture should change .please help me How to do this task ?.
Regards,
Lakshmi Narayanan.S
Posted
Comments
Sergey Alexandrovich Kryukov 20-Jul-11 2:21am    
Incorrect question. Those are ***not*** "dynamic properties" in any way.
--SA

1 solution

From the context I understand by typing "Dynamic properties" you mean "controls created at runtime".

If that's the case, then I would create a bunch of business objects that represent the data behind those controls (Images for picture boxes, Strings for labels, Enumerations for group boxes or whatever suits your needs).

Then clicking on a picture box would cause some object to react in a way you define. That could include changing some other controls or sending messages to other objects that in turn react in changing some controls.

Generally, it's hard to tell in detail. At least without knowing your needs.
 
Share this answer
 
Comments
naraayanan 19-Jul-11 6:45am    
Hi,
thanks for u reply.Please tell an Idea for my task.
Thanks
Regards,
Lakshmi Narayanan.s

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