Imports System
Imports System.Collections
Imports System.Data
Imports System.IO
Imports System.Xml.Serialization
Imports System.Windows.Forms
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Text
Imports System.Drawing.Printing
Public Class MainClass
Shared Sub Main()
Dim aForm As New Windows.Forms.Form()
Dim aType As Type
aType = aForm.GetType()
Dim member As Object
Console.WriteLine("Members of the Form class")
For Each member In aType.GetMembers
Console.Write(member.ToString)
Next
End Sub
End Class
|