public Add ( KeyCode code, Option option, System onKeyEvent ) : void | ||
code | KeyCode | |
option | Option | |
onKeyEvent | System | |
Résultat | void |
private void InitializeArrowKeys() { keyEvent_.Add(KeyCode.UpArrow, Prev); keyEvent_.Add(KeyCode.DownArrow, Next); foreach (var k in new KeyCode[] { KeyCode.Home, KeyCode.End, KeyCode.LeftArrow, KeyCode.RightArrow }) { keyEvent_.Add(k, StopCompletion); } }
private void InitializeArrowKeys() { keyEvent_.Add(KeyCode.UpArrow, Prev); keyEvent_.Add(KeyCode.DownArrow, Next); keyEvent_.Add(KeyCode.LeftArrow, StopCompletion); keyEvent_.Add(KeyCode.RightArrow, StopCompletion); }