How to refresh the generated code??

E

Ellis Yu

Dear all

I would like to know how to refresh the coding which is generated by .Net
when I put my custom control on the form. Since the setting of control may
often change during
development, I found that the generated code will not be updated if my
custom control has been changed. And it seems that it will run the code in
the initialization of control first and then the generated code afterward.
At last, it make the control look like using the old coding instead. The
only thing I can do is delete the control on my form first and put it back
again :( Is there any better way to do?

Ellis
 
M

Mohamoss

Hi Ellis
That is because this is the version of the control that you added to
your project . try rebuild your control then update the link from the add
reference tab .
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top