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.