Hello There,
i just to ask some question regarding on how to raise an event in vb2003
this my code:
Code:
Public Class Form1
Public Event TimerStart()
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
RaiseEvent TimerStart
End Sub
End Class
this is my recieving class
Code:
Public Class Form2
Private WithEvents frm as Form1
Private Sub TimerReceiver()Handles frm.TimerStart
Messagebox.show("Testing")
End Sub
End Class
please give me suggestion if what im done wrong here..thanks!