Programming with Microsoft Visual Basic 2015 (MindTap Course List)
Programming with Microsoft Visual Basic 2015 (MindTap Course List)
7th Edition
ISBN: 9781285860268
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 4.LC, Problem 6E
Program Plan Intro

Beachwood Industries

Program plan:

  • Create new Windows Forms Application.
  • Design the form by placing the labels, textbox, and button and then change their name and properties.
  • Inside the “Calcualte” button,
    • Declare required variables.
    • Parse the numbers.
    • Calculate total due.
    • Calculate discount amount.
    • Check whether the “dlgButton” has values.
      • If so calculate the discount and the total amount.
    • Display the discount and the total due.
  • Definition of “txtPrice_Enter()”.
    • Select all the values.
  • Definition of “txtQuantity_Enter()”.
    • Select all the values.
  • Definition of “txtQuantity_KeyPress()”.
    • Condition to accepts only number and the backspace key.
  • Definition of “txtPrice_KeyPress()”.
    • Condition to accepts only number and the backspace key.
  • Inside the “Clear” button,
    • Clear the form.
  • Inside the “Exit” button,
    • Close the form.

Blurred answer
Students have asked these similar questions
Write the SQL code that permits to implement the tables: Student and Transcript. NB: Add the constraints on the attributes – keys and other.
Draw an ERD that will involve the entity types: Professor, Student, Department and Course. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.
Draw an ERD that represents a book in a library system. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage