Groups | Blog | Home
all groups > visual studio .net ide > june 2005 >

visual studio .net ide : Inheritance


Christopher Weaver
6/27/2005 12:23:30 PM
I am using inheritance to place code in common to several forms in a
superclass. This is working quite well. However, when I place a control on
the superclass form and compile, it doesn't show up in any of the
subclasses. What's the trick here?

Christopher Weaver
6/29/2005 1:02:31 PM
I've just reopened the project and found the inherited control present. I
thought that compiling it would do, but apparently I needed to close and
reopen it.

If anyone has had a different experience with this, please let me know.


[quoted text, click to view]

Christopher Weaver
6/29/2005 1:15:43 PM
For the sake of anyone listening in on this conversation that I'm having
with myself, rebuilding the project does the trick. I don't know why it
didn't show up before, but I've made several additions and deletions to the
superclass and in each case it appears in the subclasses soon after the
compilation is complete. Perhaps I need to visit my optometrist?


[quoted text, click to view]

AddThis Social Bookmark Button