Visual Basic (Declaration) | |
---|---|
Public Event StateChanged As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AutoHidePanel Dim handler As EventHandler AddHandler instance.StateChanged, handler |
C# | |
---|---|
public event EventHandler StateChanged |
Managed Extensions for C++ | |
---|---|
public: __event EventHandler* StateChanged |
C++/CLI | |
---|---|
public: event EventHandler^ StateChanged |