packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/Direct2D/D2DShapes/D2DShapesControl.cs
/// <summary>
/// This method creates the render target and associated D2D and DWrite resources
/// </summary>
This method creates the render target and associated D2D and DWrite resources
This method creates the render target and associated D2D and DWrite resources
void CreateDeviceResources()
        {
            SetRenderMode(renderMode);
        }
void CreateDeviceResources ( ) { SetRenderMode ( renderMode ) ; }
This method creates the render target and associated D2D and DWrite resources
This method creates the render target and associated D2D and DWrite resources
// Only calls if resources have not been initialize before //if (RenderTarget != null) //    return;