My goal is to make checkers game , where user can move checkers on the board.
The board I have made is from DataGridView class .
Right now what am i doing is creating picture boxes for each checker with transparent background and when the user moves the selected checker i am setting him BringToFront.
The problem is that the "transparent" effect is actually relative to parent control, and the parent of all checkers is the DataGridView.
So the result is when there is 2 checkers overlapping there is no transparent effect .
Example of my problem image
I have got some solution but its takes a lot of memory and all freezes even on thread which is not in UI thread.
My solution was to have one big panel (parent of all checkers) that its background is build of client screenshot and changes while moving the checker.
What is the correct way of doing thing like that ? I was looking and trying solutions on the net from the mooring ): Please help !
Almost done :
So if anyone in the future will need help with this issue .