Application.DoEvents();

System.Threading.Thread.Sleep(30);

this.dataGridView1.FirstDisplayedScrollingRowIndex = this.dataGridView1.Rows.Count - 1;

this.dataGridView1.Rows[this.dataGridView1.Rows.Count - 1].Selected = true;
this.dataGridView1.CurrentCell = this.dataGridView1[0, this.dataGridView2.Rows.Count - 1];

相关文章: