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

Pros and cons of Assembly language, What are the main pros and cons of asse...

What are the main pros and cons of assembly programming language?

Perform dbscan clustering and k means, Perform Dbscan Clustering and K mean...

Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

Output for the following instruction if CX=9087H AX=9090H, What will be the...

What will be the output for the following instruction if CX=9087H and AX=9090H? 1) BTR AH,2? 10010000=10010000 2) BTC CX,9?1001000010000111=1001000110000111 3) NEG AX?

Advance microprocessor, Write a program to mask bits D3D2D1D0 and to set bi...

Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of the AX register.

Fortran source code, For this programming assignment, you are to develop a ...

For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo

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++, You are to write a program which will answer a pair of questions for s...

You are to write a program which will answer a pair of questions for squares, triangles, circles and ellipses. A square is defined by its lower left corner (SLLx,SLLy), and the len

Describe informally how to draw a pda diagram, Suppose L is a context-free ...

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

Shell script, find value of nCr using function

find value of nCr using function

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