'Declaration
Public Event KeyPress As KeyPressEventHandler
public event KeyPressEventHandler KeyPress
public event KeyPress: KeyPressEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event KeyPressEventHandler* KeyPress
public: event KeyPressEventHandler^ KeyPress