Winfrom 失去焦点

在用户编辑时,无法获取单元格的值,此时需要手动使其失去焦点。

在执行方法前加上

this.Validate();

posted @ 2020-05-25 18:18  秋刀鱼罐头  阅读(185)  评论(0编辑  收藏  举报