hi folks,
i have this sub-routine that needs to be able to take an Object as a parameter. so the routine looks something like this:
Sub AlignAlpha(ByRef FormToInitialize As System.Windows.Forms.Form)
.....
End Sub
and then i have this form called CourseSelPanel.vb and within it, i need to be able to call the sub-routine AlignAlpha and pass the object CourseSelPanel itself as a parameter.
so i guess something like this:
Friend Class CourseSelPanel
Inherits System.Windows.Forms.Form
...............
AlignAlpha(pass CourseSelPanel as a parameter???????)
...............
End Class
How do i do that?
Thanks all.
i have this sub-routine that needs to be able to take an Object as a parameter. so the routine looks something like this:
Sub AlignAlpha(ByRef FormToInitialize As System.Windows.Forms.Form)
.....
End Sub
and then i have this form called CourseSelPanel.vb and within it, i need to be able to call the sub-routine AlignAlpha and pass the object CourseSelPanel itself as a parameter.
so i guess something like this:
Friend Class CourseSelPanel
Inherits System.Windows.Forms.Form
...............
AlignAlpha(pass CourseSelPanel as a parameter???????)
...............
End Class
How do i do that?
Thanks all.