简体   繁体   中英

how to focus on form in Windows-CE?

i have this method:

private void Form1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '1')
            {

how to take focus on Form1 after i insert any text on TextBox

thank's in advance

在窗体上调用Focus方法,即

this.Focus()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM