Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can we Save a form as a Class
Message
From
16/01/2006 03:42:19
 
 
To
16/01/2006 02:28:31
Raoshan Kumar
Softinfo Systems Pvt. Ltd.
New Delhi, India
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
01085501
Message ID:
01087070
Views:
9
Hi,

In .NET all forms ARE classes (if you don't specify otherwise a form inherits from System.Windows.Forms.Form so when you save it you save it as a class by definition.
' Form inheriting from .Net base form:
Public Class Form1
        Inherits System.Windows.Forms.Form
        'etc
End Class
'  To inherit from previous class:
Public Class Form2
        Inherits Form1
End Class
HTH,
Viv

>Please give me some more clarification, in case of VB.NET whether we can save a form as a class. and if yes, then how?
Previous
Reply
Map
View

Click here to load this message in the networking platform