Arithmetic calculator application

Assignment Help Software Engineering
Reference no: EM1379886

Create an application that permits the user to enter a series of numbers and manipulate them. The application should provide users with the option of adding or multiplying the numbers. Users should enter each number in a TextBox. After entering each number, the user clicks a Button, and the number is inserted in a ListBox.

a. Copying the template to your working directory. Copy the directory:
C:ExamplesTutorial10ExercisesArithmeticCalculator to your C: SimplyVB2008 directory

b. Opening the application's template file. Double click ArithmeticCalculator.sln in the Ari thmeti cCal cul ator directory to open the application.

c. Adding a ListBox to display the entered numbers. Add a Li stBox. Place and size it

d. Creating an event handler for the Enter Button. Create the Cl i ck event handler forthe Enter Button. If the result of a previous calculation is displayed, this event handler should clear the result, clear the ListBox and disable the addition and multiplication Buttons. It should then insert the current number in the Operands list:
ListBox. When the ListBox contains at least two numbers, the event handler should then enable the addition and multiplication Buttons.

e. Summing the values in the ListBox. Define the Cl i ck event handler for the AddButton. This event handler should compute the sum of all the values in the Oper-ands list: ListBox and display the result in resultLabel .

f. Multiplying the values in the ListBox. Define the Cl i ck event handler for the Multiply Button. This event handler should compute the product of all the values in the Operands list: ListBox and display the result in resultLabel.

g. Running the application. Select Debug > Start Debugging to run your application. Enter two values, then click the Add and Multiply Buttons. Verify that the results displayed are correct. Also, make sure that the Add and Multiply Buttons are not enabled until two values have been entered. Enter a new value and verify that the previous result and the ListBox is cleared. Enter two more values, then click the Add and Multiply Buttons. Verify that the results displayed are correct.

h. Closing the application. Close your running application by clicking its close box.

i. Closing the IDE. Close the Visual Basic IDE by clicking its close box.

Reference no: EM1379886

Questions Cloud

What are general pitfalls that someone would expect : What are general pitfalls that someone would expect to encounter in negotiating their salary for a new job (be specific)
What three qualities of leadership they exhibited : Did you experience a greater belief in your abilities as a result of something this person did or said. Describe ways in which this person acted as a leader for you also what three qualities of leadership they exhibited.
Define the communication channels in your organizations : Define the communication channels in your organizations in terms of form, formality and functionality
How much product is wasted when we have inventory that goes : How much product is wasted when we have inventory that goes obsolete or is spoiled (from having too much on hand)? Also, what does it cost to receive, store, track also re-locate this entire inventory.
Arithmetic calculator application : Create an application that permits the user to enter a series of numbers and manipulate them. The application should provide users with the option of adding or multiplying numbers.
Critical component in business communication : Writing clear as well as effective emails that get read is a critical component in business communication. Take a look at the attached website as well as read about the key points to an effective email.
What is real discount rate in percentage : Real discount rate is 8 percent. Corporation tax rate is 34%. Sanders have or ongoing profitable operation. Should company accept.
Shortly prior to the scheduled representation election : Shortly prior to the scheduled representation election the hospital employees in the unit subject to the election received a letter that seemed to be a letter from the NLRB
Explain steps you conducted in completing this assignment : Explain steps you conducted in completing this assignment. Submit your answers in a three- to five-page Microsoft Word document also a Microsoft Excel sheet.

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd