Using C# Programming Language Please display all code and steps for the following program. Store the data of (Customer#, Order#, OrderQty, UnitPrice) has shown below int a text file named Order.txt to be processed. Customer# Order# OrderQty UnitPrice 0155 76533 3 10.95 0140 75446 12 8.50 0150 75550 1 89.95 0145 75648 25 2.50 0130 76360 5 17.90 Create a form, ProcessOrder, that reads each order record, computes the extended cost, and displays Cust#, Order#, OrderQty, UnitPrice and ExtendedCost in a ListBox, with the columns aligned. An extended cost is the unit price multiplied by the order quantity Use a button, named btnDisplayOrders, to display orders (i.e., the records in the data file, Order.txt) – use Resize() method (in case the data file is large) Use another button, named btnDisplayExtendedCosts, to display the extended cost of each order (including the original 4 data items) Use 4 TextBoxes to allow the user to enter a new order (including its Customer#, Order#, OrderQty, and UnitPrice) Use the 3rd button, named btnSaveToFile, to write the new order to the data file, Order.txt – NOTE: do NOT overwrite the existing orders Incluse a Clear button and an Exit button
Using C# Programming Language Please display all code and steps for the following program. Store the data of (Customer#, Order#, OrderQty, UnitPrice) has shown below int a text file named Order.txt to be processed. Customer# Order# OrderQty UnitPrice 0155 76533 3 10.95 0140 75446 12 8.50 0150 75550 1 89.95 0145 75648 25 2.50 0130 76360 5 17.90 Create a form, ProcessOrder, that reads each order record, computes the extended cost, and displays Cust#, Order#, OrderQty, UnitPrice and ExtendedCost in a ListBox, with the columns aligned. An extended cost is the unit price multiplied by the order quantity Use a button, named btnDisplayOrders, to display orders (i.e., the records in the data file, Order.txt) – use Resize() method (in case the data file is large) Use another button, named btnDisplayExtendedCosts, to display the extended cost of each order (including the original 4 data items) Use 4 TextBoxes to allow the user to enter a new order (including its Customer#, Order#, OrderQty, and UnitPrice) Use the 3rd button, named btnSaveToFile, to write the new order to the data file, Order.txt – NOTE: do NOT overwrite the existing orders Incluse a Clear button and an Exit button
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Using C# Programming Language
Please display all code and steps for the following program. Store the data of (Customer#, Order#, OrderQty, UnitPrice) has shown below int a text file named Order.txt to be processed.
Customer# | Order# | OrderQty | UnitPrice |
0155 | 76533 | 3 | 10.95 |
0140 | 75446 | 12 | 8.50 |
0150 | 75550 | 1 | 89.95 |
0145 | 75648 | 25 | 2.50 |
0130 | 76360 | 5 | 17.90 |
- Create a form, ProcessOrder, that reads each order record, computes the extended cost, and displays
- Cust#, Order#, OrderQty, UnitPrice and ExtendedCost in a ListBox, with the columns aligned.
- An extended cost is the unit price multiplied by the order quantity
- Use a button, named btnDisplayOrders, to display orders (i.e., the records in the data file, Order.txt) – use Resize() method (in case the data file is large)
- Use another button, named btnDisplayExtendedCosts, to display the extended cost of each order (including the original 4 data items)
- Use 4 TextBoxes to allow the user to enter a new order (including its Customer#, Order#, OrderQty, and UnitPrice)
- Use the 3rd button, named btnSaveToFile, to write the new order to the data file, Order.txt – NOTE: do NOT overwrite the existing orders
- Incluse a Clear button and an Exit button
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education