日期:2014-05-17  浏览次数:20738 次

取c# textbox 光标位置以及设置光标位置
获取光标位置:
int i = this.textBox1.SelectionStart;




设置光标位置
this.textBox1.SelectionStart=this.textBox1.Text.Length;