110,534
社区成员
发帖
与我相关
我的任务
分享
private void textBox1_TextChanged(object sender, EventArgs e)
{
Control ctl;
ctl = (Control)sender;
ctl.SelectNextControl(ActiveControl, true, true, true, true);
}
Control ctl;
ctl = (Control)sender;
ctl.SelectNextControl(ActiveControl, true, true, true, true);
这样行不行?
((TextBox)sender).Parent.SelectNextControl(ActiveControl, true, true, true, true);
private void textBox1_TextChanged(object sender, EventArgs e)
{
textBox2.Focus();
}