How to work with delegates and event handler for user control.

Posted by Shantanu Gupta on Stack Overflow See other posts from Stack Overflow or by Shantanu Gupta
Published on 2010-05-27T10:08:09Z Indexed on 2010/05/27 10:11 UTC
Read the original article Hit count: 187

I have created a user control that contains a button. I am using this control on my winform which will be loaded at run time after fetching data from database.

Now I need to remove a row from a datatable on the Click event of that button.

The problem is that how do I capture that event in my form. Currently it goes in that user control's btn click event defination.

© Stack Overflow or respective owner

Related posts about c#

Related posts about usercontrols