datagridview rowleave事件在页面加载时工作 [英] datagridview rowleave event working when page load

查看:52
本文介绍了datagridview rowleave事件在页面加载时工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i我在使用c#的Windows应用程序中工作,使用datagridview的形式,当表单加载rowleave事件时,我将事件rowleave放入其中,这也适用于ma应用程序不需要在表单加载时处理rowleave事件,它只在行离开时才起作用。

否则它工作我需要离开该部分而不用工作ma rowleave事件代码plas help

Hello everybody,
i am working in a windows application using c#,in a form am using datagridview and i put the event rowleave in it when the form loads the rowleave event also working so in ma application need not to work the rowleave event when the form loads and it only work when the row leaves.
otherwise it working i need to leave the section without working ma rowleave event code plas help

推荐答案

作为datagridview初始化它调用rowleave事件并且必须由一个标志维护。
as the datagridview initialize it calls rowleave event and has to be maintained by a flag.


这篇关于datagridview rowleave事件在页面加载时工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆