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