Bug ? in CellPainting Event of Datagridview

OmkarHcl 206 Reputation points

I have a custom datagridview in which there is a OnCellPainting event . now i am making frequent changes to this event but i don't know if it is a bug or what but everytime when i make changes in this event , i had to delete the previous version of it from the form and then drag-drop from toolbox again and again to see the changes which makes my work harder and harder and even worse if i had to debug any line . Can you please suggest how to overcome this .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,864 questions
{count} votes