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