What do you have to do to get DirectX to draw to a Panel control correctly?
I have a program that draws to the Form, but when you change the device to a Panel, the grey background of the panel is drawn over the lines.
I set the Panel background to transparent. This allows the lines to display, but it flickers when the Panel is resized.