Method Add
Add(Keys, KeyEventEx, object, int, int)
When implemented by a class, adds a new key to key collection with specified parameters.
void Add(Keys keys, KeyEventEx action, object param, int state, int leaveState)
Parameters
keys
KeysKey added to the collection.
action
KeyEventExExtended action that executes when the key is pressed.
param
objectObject passed as a parameter to the extended action.
state
intState of the Edit control when key is pressed.
leaveState
intState of the Edit control after key is pressed.
Add(Keys, KeyEvent, int, int)
When implemented by a class, adds a new key to key collection with specified parameters.
void Add(Keys keys, KeyEvent action, int state, int leaveState)
Parameters
keys
KeysKey added to the collection.
action
KeyEventAction that executes when the key is pressed.
state
intState of the Edit control before key is pressed.
leaveState
intState of the Edit control after key is pressed.
Add(Keys, KeyEventEx, object)
When implemented by a class, adds a new key to key collection with specified parameters.
void Add(Keys keys, KeyEventEx action, object param)
Parameters
keys
KeysKey added to the collection.
action
KeyEventExExtended action that executes when the key is pressed.
param
objectObject passed as a parameter to the extended action.
Add(Keys, KeyEvent)
When implemented by a class, adds a new key to key collection with specified action.
void Add(Keys keys, KeyEvent action)