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