void WinGLCanvas_KeyPress(object sender, KeyPressEventArgs e) { GLEventHandler <GLKeyPressEventArgs> KeyPress = this.glKeyPress; if (KeyPress != null) { GLKeyPressEventArgs arg = e.Translate(); KeyPress(sender, arg); } }