protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e)
{
if(e.KeyChar == Keys.Return) // Enter, send a Tab.
{
e.Handled = true;
SendKeys.Send("{TAB}");
}
}
{
if(e.KeyChar == Keys.Return) // Enter, send a Tab.
{
e.Handled = true;
SendKeys.Send("{TAB}");
}
}
解决方案 »
- 实体设计里面有过多的属性,好不好?我下面这两种设计两种比较好
- 在winform程序中,如何用进度条显示调用web服务的进度,谢谢各位高手指点!!!
- 软件安装的问题
- 如何在控件事件里触发另一个事件?
- 怎么让浏览器显示自己的html文档
- ASP.NET主机不支持文件夹和文件的操作怎么办?但支持ASP的FSO权限。
- 自己拼写的table怎么实现excel汇出功能。代码如下,本人对汇出是第一次做,求高手指点,不胜感激
- 紧急求教,关于PrintDocument
- 一个关于DataGrid绑定的问题.
- 如何在c#中把int转化为string?
- C#怎样访问Oracle9
- Public CrystalReport1 oRpt = new CrystalReport1(); //这个CrystalReport1是怎么建的
protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e)
{
if(e.KeyChar == char(13)) // Enter, send a Tab.
{
e.Handled = true;
SendKeys.Send("{TAB}");
}
}