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