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