How do I specify composite characters like CTRL + E?
I am echoeing the contents of a text file into a window. I can specify decipher \b as {BS}, \t as {TAB}, \n as {ENTER} etc.
- Where do I find a complete list of t开发者_如何学JAVAhe C# escape character and its associated typewriter string i.e. \b is the C# escape sequence and {BS} is the typewriter string?
- I need a list that includes composite typewriter strings like Shift+F1 etc.
Thanks.
MSDN notes the following:
To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes.
Key Code
SHIFT +
CTRL ^
ALT %
精彩评论