Graphic Class to make Different Shapes:
Before you can draw lines and shapes, render text, or display and manipulate images with GDI+, you need to create a Graphics object. The Graphics object represents a GDI+ drawing surface, and is the object that is used to create graphical images.There are two steps in working with graphics:
- If you want to make on form you will just write:
To Make Circle using Graphics in C#:
To Make Square using Graphics in C#:
To Make Triangle using Graphics in C#:
To Change Color of Pen using Graphics in C#:
Commenting on a post is a great way to show some love for what you're seeing.