Solved

Custom Controls - Refresh

Posted on 2006-11-10
1
184 Views
Last Modified: 2010-04-16
I have a set of custom controls in my project. I have added these to my Toolbox.

But when I change some properties in my custom controls, the changes do not seem to be reflected on the forms that already have instances of the custom controls. I am having to delete the instance and re-put there.

Am I missing something? This way I don't see any use of having custom controls, right? Is that how custom controls work? I want the changes I make to the controls to be auto-reflected on all the forms.
0
Comment
Question by:srinivas_vemla
1 Comment
 
LVL 2

Accepted Solution

by:
cybercrew earned 125 total points
Comment Utility
Try a Clean Solution and Rebuild solution from  Build menu.  That will assure that the new assembly is copied over.  Also under your References make sure that the it is specifically pointing at the dll file that contains the control. I had a few problems with this in VS 2003 but have not had trouble in VS 2005.

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now