textBox.AppendText("hello");textBox.Focus();textBox.SelectionStart = textBox.Text.Length;
在button按钮事件里写上一句private void button_click(object sender,eventargs e){textbox.text="hello";textbox.focus();}
设置输入焦点yourTextBoxName.focus();