C# Corner

Related resources for Pen class
  • Revised Gauge Custom Control in C#9/30/2012 4:05:38 AM. This is an enhanced version of the custom guage. Enclosed are the source code for the control, and the test program.
  • Lunar calendar in C#8/18/2010 12:18:51 AM. In this article I will show how to create a lunar calendar in C#.
  • Using Pens in GDI+2/4/2010 1:02:16 AM. In this article I will explain about using Pens in GDI+.
  • Graphics using GDI+1/31/2007 7:20:45 AM. This sample project shows how to draw various graphics objects on a Form using GDI+ objects.
  • Printing out your W2 Form using C# and .NET1/31/2007 7:16:37 AM. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.
  • Chart Recorder1/31/2007 7:03:42 AM. This is chart recorder program developed using C# and GDI+.
  • Implementing Prim's Algorithm using GDI+1/31/2007 6:10:43 AM. Prim's algorithm is an algorithm used in the graphics development to calculate the shortest route in a network when an object is moving from a source node to the destination node.
  • A Graphics Component in C#12/26/2005 11:29:59 PM. In this example we have an XYGraph Component and a form that uses it.
  • GDI+ Samples: Rectangle, 3D, and Ellipse12/26/2005 10:45:08 PM. This article has three sample examples on GDI+ - Rectangle, Ellipse, and 3D.
  • Working with GDI+ Pens and Fonts12/26/2005 7:17:52 AM. The System.Drawinging.Pen and System.Drawing.Font classes represent pen and font objects in GDI+.
  • Drawing With no OnPaint Method12/26/2005 7:09:33 AM. In this sample example, I draw GDI+ objects on button click.
  • A variety of Chart Engines12/26/2005 6:59:21 AM. The original code came from Scott Guthrie‚Äôs chart engine example. The differences from original code.
  • Charting in GDI+12/26/2005 6:44:23 AM. Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
  • Web Thermometer in C# and .NET12/26/2005 5:04:28 AM. The Web Thermometer is a good example for using GDI+.
  • ChessyOnline 1.0: An Online and Network Chess Game12/26/2005 4:22:16 AM. The attached project is a chess game that can be played by two users online as well as on the network.
  • Working with Drawing Class12/26/2005 1:36:41 AM. This article gives an overview to work with drawing and printing class. It explains how to use various methods in the drawing and printing class.
  • Drawing XY Plot Graph in C#12/26/2005 1:32:31 AM. The attached code is an update of Mike Gold's XY Plot graph.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...