Sets or removes key-bind entry. Note that giving null to action will remove the key-bind.

Namespace: Sgry.Azuki.WinForms
Assembly: Azuki (in Azuki.dll) Version: 1.7.5.21597

Syntax

C#
public void SetKeyBind(
	Keys keyCode,
	ActionProc action
)
Visual Basic
Public Sub SetKeyBind ( _
	keyCode As Keys, _
	action As ActionProc _
)

Parameters

keyCode
Type: System.Windows.Forms..::..Keys
key code to set/remove new action
action
Type: Sgry.Azuki..::..ActionProc
action to be associated or null in case of removing key-bind.

See Also