开发者

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.

  1. 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?
  2. 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      %  
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜