Event handling in Usercontrol in winform
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.
精彩评论