Windows Graphics Assignment item options Your graphics assignment is to write a program for windows forms in C#. That will draw a red circle in the middle of the screen.
Here is the program for your description in C# Programming Language using Visual Studio 2017.
Steps to create a Windows Form Application in Visual Studio.
1. Open Visual Studio. File > New Project > Select "Visual C#" > Select "Windows Form Application(.Net Framework)> Name the app and choose the destination folder > Click "OK".
2. Now
you will see a project window like below and right click on it or
click "F4" to go to properties and choose "Paint".

3.Double click on paint . It will open Form1.cs file with some function code auto generated.
4. Now write the code for drawing circle.
CODE :
|
using System; //Identifying the center of the window. //Creating an object of rectangle class. //Drawing the circle using DrawEclipse method. //Filling the circle with red color.
|
SCREENSHOTS
Please see the screenshots of the code for indentations.


OUTPUT :

Any doubts regarding this can be explained with pleasure :)
Windows Graphics Assignment item options Your graphics assignment is to write a program for windows forms...