O
Onokiyo
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(ByVal Status As String)
Public Sub RaiseTimeExpiredEvent()
RaiseEvent TimeExpired("Your time has run out")
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
RaiseTimeExpiredEvent()
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(ByVal Status As String)
Public Sub RaiseTimeExpiredEvent()
RaiseEvent TimeExpired("Your time has run out")
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
RaiseTimeExpiredEvent()
End Sub
End Class
'-------END-----------------
Thank you very much.
P Nguyen