按下Shift键文本框文本时的代码将被更改

问题描述:

代码会更改

好吧,这不是一个很好的问题,但是您要做的就是处理KeyDown事件,然后检查e.Shift或e.KeyCode = Keys.ShiftKey.

没那么难.然后,根据是否按下Shift键,对文本执行任何操作.
well, it wasn''t a great question, but all that you need to do is handle the KeyDown event and check e.Shift or if e.KeyCode = Keys.ShiftKey.

It''s not that hard. Then, do whatever it is you want to do to the text based on whether or not shift is pressed.


这很好.怎么了?