DataGridView 结束编辑不用鼠标点其它地方

DataGridView1.CurrentCell = null;
原文地址:https://www.cnblogs.com/lzxianren/p/2880236.html