|
-
November 16th, 2008, 03:31 PM
#1
User Preference
I have lots of form in my main form and those forms also contain lots of control...like tree, panel..
so when anyone select some font style and color in User preference form it should be affect on all the open form ..so how can i do that so it can affect all the text in all open form controls..
-
November 16th, 2008, 05:12 PM
#2
Re: User Preference
The basic pattern ("Observer") is that you implement a set of events in your preferences class, and have each of the UI elements listen for changes by registering for this event.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|