'Declaration
Public Event StateChanged As EventHandler(Of StateEventArgs)
'Usage
Dim instance As UIManager Dim handler As EventHandler(Of StateEventArgs) AddHandler instance.StateChanged, handler
public event EventHandler<StateEventArgs> StateChanged