c#中怎么使光标存在于textbox中

2025-02-27 13:58:54
推荐回答(2个)
回答1:

textbox有个focus方法,调用下就可以了如:this.textbox1.focus();

回答2:

this.TextBox1.Focus();