F
fuiru2000
Basically, what I'm trying to do is as follows:
in one .vb ...
Friend Class frmBase(Of T)
Inherits System.Windows.Forms.Form
Dim m_Obj as T
....
End Class
in another .vb ...
Friend Class frmDerived1
Inherits frmBase(Of SomeConcreteType)
....
End Class
The code itself works, but s you might expect, I'm getting an error
when trying to open up the derived forms in the Designer in VS2005,
with a "base class X could not be loaded" message. Is there something I
should look for that might prevent it, or it just the fact that I'm
trying to use Generics like this?
Thanks for any help,
-Phil M
in one .vb ...
Friend Class frmBase(Of T)
Inherits System.Windows.Forms.Form
Dim m_Obj as T
....
End Class
in another .vb ...
Friend Class frmDerived1
Inherits frmBase(Of SomeConcreteType)
....
End Class
The code itself works, but s you might expect, I'm getting an error
when trying to open up the derived forms in the Designer in VS2005,
with a "base class X could not be loaded" message. Is there something I
should look for that might prevent it, or it just the fact that I'm
trying to use Generics like this?
Thanks for any help,
-Phil M