listbox textbox滚动条自动向下的问题
对于listbox:
listBox1.SelectedItem = listBox1.Items[listBox1.Items.Count-1];
对于textbox:
this.textBox1.SelectionStart = this.textBox1.Text.Length;
this.textBox1.ScrollToCaret();
对于listbox:
listBox1.SelectedItem = listBox1.Items[listBox1.Items.Count-1];
对于textbox:
this.textBox1.SelectionStart = this.textBox1.Text.Length;
this.textBox1.ScrollToCaret();