I am working with a WinForms DataGridView control. I have put this control in a base form and subscribed it to the DoubleClick event. But on the inherited form I want to unsubscribe it from the parent event, and subscribe it to a new event. Is this possible ?
I am working with a WinForms DataGridView control. I have put this control in
Share
You need to set
protectedvalue toDataGridView1.Modifiersproperty and change the modifier ofDoubleClickhandler ofDataGridView1_DoubleClickas protected.Base form,
In inherited from’s load handler,