private void onKeyUp(object sender, KeyEventArgs e) { //按鍵放開的通知 keySpace.onKeyUp(e.KeyCode); keyUp.onKeyUp(e.KeyCode); keyDown.onKeyUp(e.KeyCode); keyLeft.onKeyUp(e.KeyCode); keyRight.onKeyUp(e.KeyCode); }
private void onKeyup(object sender, KeyEventArgs e) { //按鍵放開的通知 keySpace.onKeyUp(e.KeyCode); }