In this section you’ll learn how to write your first GDI+ application, step-by-step. You will create a Windows application and draw a few simple objects, such as lines, rectangles, and ellipses, on a Windows Form.
Here are the steps we will cover:
Creating a Windows application
Adding references to the GDI+ library
Obtaining the graphics surface
Setting the graphics surface properties (optional)
Drawing or filling graphics shapes
Building and running the application
The first step of this tutorial is to create a Windows application using Visual Studio .NET.
Open Visual Studio .NET, select File | New | Project, and then choose Visual C# Projects ...