怎样把键盘输入的‘+’符号变成‘A’?

来源:互联网 发布:linux c 线程同步 编辑:程序博客网 时间:2024/04/28 23:03
发表时间:2007年3月5日 8时47分 [%=@count%]票 [[%=@percent%]%]
提交
textBox的KeyPress事件中
if(e.KeyChar == '+')
{
  SendKeys.Send("A");
  e.Handled = true;
}
 
 
原创粉丝点击