var c = Convert.ToChar(KeyInterop.VirtualKeyFromKey(key));
Debug.WriteLine("k: " + key);
Debug.WriteLine("c: " + c);
Reference:
http://stackoverflow.com/questions/289792/int-to-char-in-c-sharp
var c = Convert.ToChar(KeyInterop.VirtualKeyFromKey(key));
Debug.WriteLine("k: " + key);
Debug.WriteLine("c: " + c);
No comments:
Post a Comment