C# 如何在Windows CE中关注窗体?
我有这个方法:C# 如何在Windows CE中关注窗体?,c#,windows-ce,C#,Windows Ce,我有这个方法: private void Form1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '1') { 在文本框中插入任何文本后,如何关注Form1 提前感谢调用表单上的Focus方法,即 this.Focus() 表单不应获得焦点。发布更多代码,这个事件处理程序到底在做什么?
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '1')
{
在文本框中插入任何文本后,如何关注Form1
提前感谢调用表单上的
Focus
方法,即
this.Focus()
表单不应获得焦点。发布更多代码,这个事件处理程序到底在做什么?