Creating a Full Screen DirectDraw Device
Before you can create your DirectDraw device, a new project will need to be created. Since this will still be an application where items will need to be rendered, windows forms should still be used. Use these steps to get started:
Create a new Windows Forms project named whatever you like.
Add a reference to Microsoft.DirectX.dll and Microsoft.DirectDraw.dll.
Include a new using clause for Microsoft.DirectX.DirectDraw into your main code file.
Set the window style to Opaque and AllPaintingInWmPaint, just like you did for 3D applications.
Add a private variable for your DirectDraw device.
You'll notice that most of these steps are similar to what was done for the 3D applications that were built ...