The objective of this program is to create a drawing program that allows the user to select colors to use and objects to draw. The user will select a colored object to indicate which colors to use for drawing. A second set of objects will display objects the program will draw for the user. After selecting a color and an object, the user will use the mouse to show the program where to draw the objects. The user must have at least four objects to draw. The figure below shows an example of a GUI.


1. Create a number of pictureboxes on the form and set their colors.
2. Create a second set of pictureboxes to indicate the shapes that the program will draw.
3. Create global variables to store the colors and shapes the user has chosen.
4. Create mouse events to draw objects of the selected shapes and colors.
5. Add menu items to clear the form and to exit from the application.
6. Create additional shapes options such as triangles, pentagons.
7. Allow the user to select different pen thickness for lines.

Recommended Answers

All 5 Replies

For a project of this magnitude, you should probably try a site like CodeProject.

But...
If you have a specific question about some code you've written or that you are going to write, please ask it here.

Are you asking us to do this for you? Or did you have a question? People on this site won't typically do your homework for you.

Are you asking us to do this for you? Or did you have a question? People on this site won't typically do your homework for you.

oops, i'm sorry. i forgotten to put the question that i need to ask. what i want to do is how to allow the user to select different pen thickness for lines. i had search from the youtube, but i don't know why i typed the same thing as them but fail to debug.

.

To be deleted

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.