P
Pj
hi,
i am new to vb.net and i am stuck at a particular point in my project.
i have two nested classes (because vb.net does NOT allow multiple
inheritance)
-----------------------------------------
Class DrawingCanvas
Inherit System.Windows.Forms.Form
Class OurView
Inherit CsGL.OpenGL.OpenGLControl
Sub A
Sub B
Sub C
End Class
End Class
-----------------------------------------
Then i have another class somewhere else
-----------------------------------------
Class Controls
Inherit System.Windows.Forms.Form
Sub Z
End Class
-----------------------------------------
Now from class Controls i am trying to access Sub A (from class
OurView) but can not access it. How is this possible in vb.net?
thanks
pj
i am new to vb.net and i am stuck at a particular point in my project.
i have two nested classes (because vb.net does NOT allow multiple
inheritance)
-----------------------------------------
Class DrawingCanvas
Inherit System.Windows.Forms.Form
Class OurView
Inherit CsGL.OpenGL.OpenGLControl
Sub A
Sub B
Sub C
End Class
End Class
-----------------------------------------
Then i have another class somewhere else
-----------------------------------------
Class Controls
Inherit System.Windows.Forms.Form
Sub Z
End Class
-----------------------------------------
Now from class Controls i am trying to access Sub A (from class
OurView) but can not access it. How is this possible in vb.net?
thanks
pj