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 (11th Edition)
- Q)POST OFFICE Management System- This simple website holds the account information of the users and their details. It also provide the details of the branches and also the employees. It also provides the various type of bonds present and term period. Rules and regulations can be viewed by anyone. The user can login to this website. This also depicts to send a telegram via credit card. Draw the Domain model for the given case study. (Note::Subject ::: object oriented analysis design)arrow_forwardTASK 02 Part A The rate of change of a population of bacteria in a petri-dish can be described as the difference between the birth rate and the death rate. If the birth rate = bx, where b is a constant and x is the number of bacteria, and if death rate= px^2, where p is a constant, answer the following questions based on the description provided. 2.A.1) Provide the differential equation related to the rate of change of bacterial population with time based on the above given information. 2.A.2) If b=1, and p=-0.8, solve the differential equation stated in 2.1 using Matlab assuming there were 1500 bacteria present in the dish initially. (Provide a clear screen shot of the code and solution obtained in the answer script) 2.A.3) "ezplot" command is useful to obtain a quick visualization of a function. Plot a graph of the solution using the 'ezplot' command to show the population of bacteria present after 2 hours. 2.A.4) Comment on the state of the population of bacteria after 2 hours using…arrow_forwardPart 2 onlyarrow_forward
- #this is a python programtopic: operation overloading, Encapsulation please find the attached imagearrow_forwardWrite 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_forward
- Computer Science CREATE A GUI PROGRAM FOR THE PURPOSE OF FINDING THE TEMPERATURE OF A BODY USING NEWTON'S COOLING EQUATION, ALSO PLACE THE INTERFACE.FIG SCREEN. PLEASE AT MATLABarrow_forwardWrite a program that uses the class productType defined in Exercises 8 and 10 of this chapter.arrow_forwardplease use c# i will upload figure 11.3 as image and please follow the requirement below the question (Shape Hierarchy) Implement the Shape hierarchy of Fig. 11.3. Omit the Triangle and Tetrahedron classes. Each TwoDimensionalShape should contain read-only abstract property Area to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have read-only abstract properties Area and Volume to calculate the surface area and volume, respectively, of the three-dimensional shape. Create an app that uses an array of Shape references to objects of each concrete class in the hierarchy. Display a text description of the object to which each array element refers. Also, in the loop that processes all the shapes in the array, determine whether each shape is a TwoDimensionalShape or a ThreeDimensionalShape. If a shape is a TwoDimensionalShape, display its area. If a shape is a ThreeDimensionalShape, display its area and volume. please use the below requirement when doing…arrow_forward
- Part C: Function, for and plotting We did a project in the lecture on calculating the free fall speeds and plotting them on a graph. This part is similar to the project. An engineer has derived a relationship between the force applied to a material and the extension in length that the force would cause. The relationship between force f and extension e is given by: You are asked to plot a graph showing the relationship between force and extension. You are asked to complete the following tasks: Task 1 Write a Python function which returns the value of e for a given input f. Do not use literals (e.g. 5.5, 10) in the expressions for e in the function. Instead you should define constants and use them. Note that the relationship between e and f depends on whether f is bigger than 10 or not, this means you need a certain Python construction in your function. If you can't think of that, have a look at Part A of Lab03.arrow_forwardQuestion#1 Scenario of web shop application: A supplier (with Supp-#) processes many purchase orders (with PO-#) and sells a number of products (with Prod-#). A product is sold by only one supplier. Each of the purchase orders that a supplier may process includes several products. The relationship between order and product is defined as "Line Item". A customer (with Cust-#) may place one or more purchase orders. A purchase order may be placed by only one customer. Design a complete ER diagram for the above verbal description of web shop application.arrow_forwardThe ACTION and METHOD attributes are used by both code and forms to perform a wide range of tasks.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