开发者

Event handling in Usercontrol in winform

开发者 https://www.devze.com 2023-01-15 20:43 出处:网络
I have a usercontrol to provide a data grid view and using it in a form. I have a decorator for this data grid view which provides the grouping functionality to this data grid view. Now all times a ce

I have a usercontrol to provide a data grid view and using it in a form. I have a decorator for this data grid view which provides the grouping functionality to this data grid view. Now all times a cell is clicked, the data grid view cell changed event is fired first and then the grouper event. Is there any way to change the event firing seque开发者_JAVA百科nce?


You need to unregister the event from the datagridview, attach the decorator and then reregister the event.

0

精彩评论

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