BindingSource 有什么方法可以知道值的变化吗?
我在 Windows 窗体应用程序中使用 BindingSource
,有许多控件与 BindingSource 绑定。
我不想监视控件来获取更改,我可以知道 BindingSource 中的值是否通过事件发生更改吗?
我在其中寻找事件,但没有找到。
提前致谢。
I'm using a BindingSource
in a windows forms application, there are many controls was bound with a BindingSource.
I don't want to monitor the controls to get the changes, can I know if a value changed from the BindingSource by an event?
I looked for an event in it, but I didn't find.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 BindingSource.ListChanged事件。
You can use the BindingSource.ListChanged event.