Method Add
Add(Keys, KeyEvent, KeyEventEx, object, int, int)
Adds a new key to key collection with specified parameters.
public virtual void Add(Keys keys, KeyEvent action, KeyEventEx actionEx, object param, int state, int leaveState)
Parameters
keysKeysKey added to the collection.
actionKeyEventAction that executes when the key is pressed.
actionExKeyEventExExtended action that executes when the key is pressed.
paramobjectObject passed as a parameter to the extended action.
stateintState of the Edit control when key is pressed.
leaveStateintState of the Edit control after key is pressed.
Add(Keys, KeyEventEx, object, int, int)
Adds a new key to key collection with specified parameters.
public virtual void Add(Keys keys, KeyEventEx action, object param, int state, int leaveState)
Parameters
keysKeysKey added to the collection.
actionKeyEventExExtended action that executes when the key is pressed.
paramobjectObject passed as a parameter to the extended action.
stateintState of the Edit control when key is pressed.
leaveStateintState of the Edit control after key is pressed.
Add(Keys, KeyEvent, int, int)
Adds a new key to key collection with specified parameters.
public virtual void Add(Keys keys, KeyEvent action, int state, int leaveState)
Parameters
keysKeysKey added to the collection.
actionKeyEventAction that executes when the key is pressed.
stateintState of the Edit control before key is pressed.
leaveStateintState of the Edit control after key is pressed.
Add(Keys, KeyEventEx, object)
Adds a new key to key collection with specified parameters.
public virtual void Add(Keys keys, KeyEventEx action, object param)
Parameters
keysKeysKey added to the collection.
actionKeyEventExExtended action that executes when the key is pressed.
paramobjectObject passed as a parameter to the extended action.
Add(Keys, KeyEvent)
Adds a new key to key collection with specified action.
public virtual void Add(Keys keys, KeyEvent action)
Parameters
keysKeysKey added to the collection.
actionKeyEventAction that executes when the key is pressed.
Add(Keys, KeyEvent, KeyEventEx, object, int, int)
public virtual void Add(Keys keys, KeyEvent action, KeyEventEx actionEx, object param, int state, int leaveState)
Parameters
Add(Keys, KeyEventEx, object, int, int)
public virtual void Add(Keys keys, KeyEventEx action, object param, int state, int leaveState)
Parameters
keysKeysactionKeyEventExparamobjectstateintleaveStateint
Add(Keys, KeyEvent, int, int)
public virtual void Add(Keys keys, KeyEvent action, int state, int leaveState)
Parameters
Add(Keys, KeyEventEx, object)
public virtual void Add(Keys keys, KeyEventEx action, object param)
Parameters
keysKeysactionKeyEventExparamobject
Add(Keys, KeyEvent)
public virtual void Add(Keys keys, KeyEvent action)