Visual Basic (Declaration) | |
---|---|
Public Shadows Event KeyPress As KeyPressEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ConvertCtrl Dim handler As KeyPressEventHandler AddHandler instance.KeyPress, handler |
C# | |
---|---|
public new event KeyPressEventHandler KeyPress |
C++/CLI | |
---|---|
public: new event KeyPressEventHandler^ KeyPress |