resideozsoy
New member
- Joined
- Aug 27, 2008
- Messages
- 2
- Programming Experience
- 1-3
Hi
I am trying to inherit a form from an othe form
I works if i try with c# however if i use vb.net I have problem
It sows following error:
Any idea?
I am trying to inherit a form from an othe form
I works if i try with c# however if i use vb.net I have problem
VB.NET:
Public Class Form1
End Class
Public Class Form2
Inherits Form1
End Class
It sows following error:
Error 4 Base class 'Form1' specified for class 'Form2' cannot be different from the base class 'System.Windows.Forms.Form' of one of its other partial types. C:\Documents and Settings\rozsoy\My Documents\myvs2008_projects\ONSITEV3\winmobile5_6_vb_csharp_SVS_V3_controls_vs2008\winmob5\Form2.vb 2 14 winmob5
Any idea?