Hello,
I have the code below and somehow the message from RaiseEvent doesn't
pop up at all. Can someone help me please?
'------CODE
'------/form1.vb/VB2005/Framework20---------
Imports System
Public Class Form1
Public Event TimeExpired(ByV al Status As String)
Public Sub RaiseTimeExpire dEvent()
RaiseEvent TimeExpired("Yo ur time has run out")
End Sub
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button1.Click
RaiseTimeExpire dEvent()
End Sub
End Class
'-------END-----------------
Thank you very much.
P Nguyen
I have the code below and somehow the message from RaiseEvent doesn't
pop up at all. Can someone help me please?
'------CODE
'------/form1.vb/VB2005/Framework20---------
Imports System
Public Class Form1
Public Event TimeExpired(ByV al Status As String)
Public Sub RaiseTimeExpire dEvent()
RaiseEvent TimeExpired("Yo ur time has run out")
End Sub
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button1.Click
RaiseTimeExpire dEvent()
End Sub
End Class
'-------END-----------------
Thank you very much.
P Nguyen
Comment