TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
prathameshk
NA
5
0
How do I refresh designed forms after a controls library is rebuilt?
Feb 23 2005 6:47 AM
Hi All, I have prepared a library of controls (say MyControls.dll) extended from Windows Form Controls (Button, TextBox, etc). These extended controls are then placed on forms at design time. When I make any changes in the visual properties of my extended controls (BackColor, etc) and rebuild MyControls.dll, I want the controls put on the designed forms to reflect these changes (i.e. if I have already put MyButton1 on a form, then I want it to now show the new BackColor). How do I achieve this? -- I have traced the problem to InitializeComponent() in "Windows Form Designer generated code" -- All attributes set in the InitializeComponent() of MyButton (BackColor, etc) are again set in the InitializeComponent() of the form once a MyButton is placed on it -- When I change the original MyButton (and rebuild MyControls.dll), the attributes for MyButton controls in InitializeComponent() of the form DO NOT change! (Hence the problem) Please help!!! Thanks and Regards Prathu
Reply
Answers (
2
)
Getting Form Refrence
Datagrid V Scroll Position Changes on Editing