对于listbox:

listBox1.SelectedItem = listBox1.Items[listBox1.Items.Count-1];

对于textbox:

this.textBox1.SelectionStart = this.textBox1.Text.Length;
this.textBox1.ScrollToCaret();

相关文章:

  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-06
  • 2021-12-26
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案