Problems with Visual inheritance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ashutosh Bhalerao

    #1

    Problems with Visual inheritance

    Hi,

    I have a solution file(VB.Net) where some of the forms have already
    been created. Now I want to derive all these forms from mybaseform to
    move common functionality there.

    So the original forms were :

    Form A
    Inherits Windows.Forms.F orm

    and I now want them to be:
    Form A
    Inherits MyBaseForm

    Where myBaseForm Inherits Windows.Forms.F orm.

    When I manually make this change, I end with a lot of designer
    problems. I cannot see the designer of Form A. It gives me an error
    of not being able to load the resources of MyBaseForm.

    Now when I close all windows and rebuild my solution the views
    miraculously come back. This happens too often for comfort.

    Can anybody point me in some direction to fix this problem? Thanks
    Ashu
Working...