Visual Basic (Declaration) | |
---|---|
Public Event StateChanged As StateChangedEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PlayCtrl Dim handler As StateChangedEventHandler AddHandler instance.StateChanged, handler |
C# | |
---|---|
public event StateChangedEventHandler StateChanged |
C++/CLI | |
---|---|
public: event StateChangedEventHandler^ StateChanged |