//焦点跳过只读列,直接跳到下一个焦点
private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
{
if (this.dataGridView1.CurrentCell.ReadOnly == true)
{
SendKeys.Send("{Tab}");
}
}
焦点跳过只读列,直接跳到下一个焦点
最新推荐文章于 2020-12-18 21:04:30 发布