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