Develop a windows forms application, Programming Languages

Assignment Help:

Develop a Windows Forms Application by creating a new project named "xxxxxxxx" in a new folder named "xxxxxxxxas3" where xxxxxxxx is your student id. You should delete file(s) with extension ".sdf" and compressed the folder before submission.  

1.  Create a Form as follows:

31_Develop a Windows Forms Application 1.png

2.  Implement the actions:

1453_Develop a Windows Forms Application 2.png

  •  Save (on menu-bar): Save the input information and the selected item(s) to file(s). You may design the file format but the information should be readable (e.g. contains the item names). Before saving, check: 

o The ID has four digit starting from 1000, otherwise, display a message box:

o Once the OK button clicked, the text of ID should be cleared

o If the quantity of a item is not entered or not greater than zero, this item will be ignored  (you may put "none" as the item and quantity to be zero in the file)

o You must use native C++ unmanaged code to manipulate the file

o After successfully save the file, display a message box with the input Name:

o Once the OK button clicked, all entered information should be cleared

  • Exit (on menu-bar): Close the form/window
  • "Get ID record" button:  Retrieve the purchasing information of the ID entered, like:(hint:  radioButton1->Checked = true; //this changes the radio-button 1 being selected)
  • Space in the input text for Name field should be allowed
  • Only ONE radio-button can be selected for each row of item. Once a radio-button is selected, the corresponding price shouldbe shown  after  "Each Price (HK$)"  label  and the  price after  "Total Price  ->"  button  should be  hidden  (e.g.  in the above diagram, HK$ 1400 will be disappeared when radio-button "Clock" is clicked). The each price is as follows:

o  Clock: 180.00,  Watch: 200.00,  Timer: 220.00,  Alarm: 250.00

o  Baseball: 200.00,  Volleyball: 250.00,  Football: 300.00,  Basketball: 350.00

o  Mizuno: 150.00,  Puma: 180.00, Addidas: 200.00, Nike: 250.00

  • "Total Price ->" button: Calculate the sum of all item(s) price and display the sum. If the number for the Quantity field is not greater than zero or not entered, just neglect the item.
  • "Clear All" button: Clear all entered information (display the form as Figure 1)

Related Discussions:- Develop a windows forms application

Write a constructor for money data structure, Create a Money data structure...

Create a Money data structure that is made up of amount and currency.  (a) Write a constructor for this data structure   (b)  Create accessors for this data structure (c)

Explain the goto statement - computer programming, Explain the Goto Stateme...

Explain the Goto Statement - Computer Programming? The goto statement is employed to alter the normal sequence of program execution by transferring control to some other part o

Area under curve, Area Under Curve Write a program to find the area und...

Area Under Curve Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve be

Rewrite the xhtml code, Below is an example of an invalid XHTML page. Your ...

Below is an example of an invalid XHTML page. Your goal is to rewrite the code so that: No deprecated/obsolete tags are being used All elements are nested correctly (i.e

C# xna game project, I need to finish my game project within two weeks usin...

I need to finish my game project within two weeks using XNA. Would you guys can help me to finish it? Thank you

Create a raptor program - use class in raptor and in python, In this porti...

In this portion of the lab you will analyze a problem and create a Raptor program to solve it.  Make sure you use a class in Raptor and in Python to solve the problem.  Read the fo

Write a complete program using floating-point operations, Question 1: a...

Question 1: a) Assume that B is an array of 50 words; write a code which will place the smallest integer of array B in register AX. b) Write a small code (only three instr

Define a procedure which makes an avl tree with one node, (a) Define a proc...

(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree

Discuss about wap architecture, Question 1 How to call a WML Script from a...

Question 1 How to call a WML Script from a WML Page? Question 2 Write short notes on WML Script Operators and Expressions Question 3 Write short notes on WML Script Statements

Building an e-store website in xhtml, The last exercise of each assignment ...

The last exercise of each assignment will be continuous from assignment to assignment and will have the goal of building an e-store website by the end of the course. For the fir

Write Your Message!

Captcha
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