Explanation of Solution
Given: A blank form.
To find: The method to create three PictureBox with different colors and change the name of the title of the forms window as “3 Rectangles�.
Solution:
To change the title of the forms windows as “3 Rectangles�, follow the steps below:
Right click on the Form1 window and then click on the properties.
After clicking on the properties, click on the Text property and then change the name as “3 Rectangles�.
To create the picturebox, follow the steps below:
Find the Toolbox option in the fly-out menu.
From there select the option of picturebox and drag and drop it on the form.
Similarly, add other two picturebox.
To change the colour of the picturebox, follow the steps below:
Right-click on each element and then click on Properties...
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
Introduction to Programming Using Visual Basic (10th Edition)
- Part 2 onlyarrow_forwardExercise 4 E Design Preview [SimpleFrame2] Number 1 Increment Decrement 1. Design the above frame 2. The number is initialized with the constructor of the frame to the first number in the combo box. 3. Each time the combo box changes selection, the number changes to its current selection, and the text area is cleared. 4. The text area is updated each time one of the two buttons is pressed. If the button "Increment" is pressed, the number is incremented and appended to the text area. If the button "Decrement" is pressed, the number is decremented and appended to the text area. CS Scanned with CamScanner ロarrow_forwardExercise (3-4): Create a Visual Basic project to enter an angle value (used InputBox statement). Design the program to find the value of angle (in Degrees, Minutes, and Seconds). Display Degrees, Mínutes, and Seconds in PictureBox. Pointer the controf objects are used on the form window.arrow_forward
- MULTIPLE CHOICE -The answer is one of the options below please solve carefully and circle the correct option Please write clear .arrow_forwardplease use c# i will include both figures Be sure to thoroughly document your coding, explaining what you did and why you did it. Comments should explain what your code does (each line or each block of lines...etc.). Enhanced Painter) Extend the program of Fig. 14.38 to include options for changing the size and color of the lines drawn. Create a GUI similar to Fig. 14.43. The user should be able to draw on the app’s Panel. To retrieve a Graphics object for drawing, call method panelName.CreateGraphics(), substituting in the name of yourarrow_forwardWhite an presentation using the speech you composed.arrow_forward
- Write a program that uses the class houseType defined in Exercises 11 and 12 of this chapter.arrow_forwardMoon effect. Some people believe that the Moon controls their activities. If the Moon moves from being directly on the opposite side of Earth from you to being directly overhead, by what percentage does (a) the Moon's gravitational pull on you increase and (b) your weight (as measured on a scale) decrease? Assume that the Earth-Moon (center-to-center) distance is 3.82 x 10° m, Earth's radius is 6.37 x 106 m, Moon's mass is 7.36 x 1022 kg, and Earth's mass is 5.98 x 1024 kg. (a) Number 6.89 Units percent (b) Number i 6.8713e-4 Units percentarrow_forwardAssignment Create a video showing how your game runs, play the game and explain how it plays. (don't worry about code in video).arrow_forward
- the huntington high school basketball team has five players named art, bob, cal, dan, and eli. accept the number of points scored by each player in a game and create a bar chart that illustrates the points scored, similar to the chart in figure.arrow_forwardQuestion 9 Draw a perspective drawing of the following shape, using the vanishing point provided.arrow_forwardAssignment Instructions Below, create a table and graph like the ones in the 'Example | Part 1' tab. Follow the steps below to do this. 2.In the 'Table Area' below, create a table with three headings with the following order: Year, Total Money Earned at Current Job, Total Money Earned at Future Job. (See 'Example | Part 1' tab) 3.In the column under year, start with the number 1 and fill the cells down to 20 years. 4.In the column under "Total Money Earned at Current Job" calculate the total amount of money Cindy will have earned by the end of each of the corresponding years. Do this by writing an equation that multiplies the year by 12 and then by the monthly earnings for that job. (See 'Multiplication' on 'Grading Sheet | Help' tab) Be sure to use a relative reference for the year and an absolute reference for the earnings number. (See 'Cell References' on 'Grading Sheet | Help' tab) Copy the equation down the column for all 20 years. 5.Do the same type of equation for the column…arrow_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning