extraordinare
Member
In my module I would like to respond to a click event raised by another object (my form). There seems to be little documentation on how to do this. The code I have so far is listed below. I am a very programmer, in fact have only been doing it for about year as a hobby so if I don't understand certain concepts I do apologize.
VB.NET:
'declares 3 thread objects
Dim t1 As Thread
Dim t2 As Thread
Dim t3 As Thread
Sub Main()
'intiated 3 thread objects
t1 = New Thread(AddressOf splash())
t2 = New Thread(AddressOf splash())
t3 = New Thread(AddressOf splash())
t.Start
End Sub
Private Sub Splash()
Dim form As New frmSplash
Application.Run(form)
form.Show
Dim b1 As Control
Dim b2 As Control
b1 = form.btnEnter
b2 = form.btnExit
'need code here to respond to click event
End Sub