90 likes | 109 Views
This tool includes two combo boxes, a label, a Numerical UpDown control, a button, another label, and another button for drawing various shapes and colors.
E N D
The form should have two comboboxes, a label, a Numerical UpDown control, a button, another large label and another button.
The shape combobox contains the list seen above. The color combobox has a list of the “web” colors.
If the user clicks the Draw Shape button without selecting a shape, a messagebox should appear. Similarly, if the user clicks the draw Shape button without selecting a color, a messagebox should appear.
The choices Square and Triangle look like the screen captures above. The Size which is the Value of the Numerical UpDown control determines how many rows.
The choices Triangle 2 and Triangle 3 look like the screen captures above.
The choice Triangle 4 and looks like the screen capture above. If the user changes the Size the display label is cleared out.
If the Shape selection is changed, the display label should be cleared out.
If the color selection is changed, the display should change color.
If the clear button is clicked, then the comboboxes and updown control should be reset to their starting values and the display label should be cleared.