开发者

Access a BindingSource from another Thread

i have a beautiful开发者_如何学运维 method that I use for interacting with controls that accessed from another thread. But now i see that i need to access a BindingSource and remove an entity. This BindingSource is on a DevExpress GridControl -> GridView.

How can i achieve this operation?

Thank you.


It should work the same way you would access controls from another thread. Is it safe to assume that the BindingSource was created on the same thread as the form it is on? If so, rely on the form's InvokeRequired property to tell you if you need to call the forms Invoke method to invoke your function that manipulates the BindingSource.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜