http://www.bandicam.com/downloads/
Now, you should open your Bandicam and your CS2D. After that in the Bandicam's window click: Target -> DirectX / OpenGL window -> and click CS2D window. Now all you have to do is press F12 to record, and again F12 to stop the recording.
I hope I have been helpful.