0
我有这样的方法:如何关注Windows-CE中的窗体?
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '1')
{
如何采取集中Form1上后,我在文本框中插入任何文字
感谢的提前
我有这样的方法:如何关注Windows-CE中的窗体?
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '1')
{
如何采取集中Form1上后,我在文本框中插入任何文字
感谢的提前
调用Focus
方法的形式,即
this.Focus()
表单不应该得到焦点。发布一些更多的代码,这个事件处理程序真的在做什么? – 2010-09-07 22:19:34