-4

Currently I have defined an event like this:

Public Event SoundCompleted(ByVal uGUID As String, ByVal uPath As String, ByVal uStatus As Integer)

I would like to ask how I can put all these 3 variables into one variable as Microsoft does with the "e." events.

I would like to have something like this:

Public Event SoundCompleted(Byval e As SoundCompletedArgs)

but I don't know how this is done.

Thank you!

tmighty
  • 10,734
  • 21
  • 104
  • 218

1 Answers1

0

Got it. I just need to create a new class for the eventargs.

tmighty
  • 10,734
  • 21
  • 104
  • 218