Problem
I have datagridview have button if i focus on it and click outisde button meaning click in any place on datagridview header
it will execute the button code although i dont make click on button only I focus on it .
i work on visual studio 2015 windows form
How to solve this problem please ?
actually i need when focus on button and click on button execute button click but in my case
button click execute if i click outside button .