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

Create single page to demonstrates an xhtml form, Create a single page that...

Create a single page that demonstrates an XHTML form. The form should include all the fields you feel are necessary for submitting an order of books and must include at least one

Opening and closing the document object on web page, Although the Document ...

Although the Document object's write()and writeln() methods are part of the DOM, they cannot be used to change content after a Web page has been rendered. You can write code that e

Example of arithmetic involving matrices, Example- Arithmetic :  Given th...

Example- Arithmetic :  Given the subsequent two matrices, So calculate A-5B. Solution There isn't much to do now other than the work. We first multiplied

determine if dna sequence is periodic or not, A string s is said to be per...

A string s is said to be periodic with a period α, if s is α k for some k > 2. (Note that α k is the string formed by concatenating k times.) A DNA sequence s is called a tande

Pseudocode for a program that reads a temperature, Write a pseudocode for a...

Write a pseudocode for a program that reads a temperature as a whole number from a user and outputs a “probable” season (winter, sprint, summer, or fall) depending on the temperatu

Prims algorithm for minimum spanning tree, Implement the Prim's algorithm w...

Implement the Prim's algorithm with array data structure as described in slide 12 of the file 04mst.ppt. Your program should have a runtime complexity of O(n2) and should be as eff

Implement a program that can draw graphs, 1. Implement a program where an e...

1. Implement a program where an ellipse follows the perimeter of the window. 2. Implement a program that can draw graphs, possibly following your plan from last week. Have it gr

Simple corba program, You are working in charge of a group of programmers a...

You are working in charge of a group of programmers at a software company. Your task is to assess and research CORBA and to produce a report to be given to the programmers detailin

Write a program to compute the standard deviation, Write three functions, s...

Write three functions, statistics, average, and sD as follows. The statistics function returns no value and has six parameters: four scores followed by their average and standard d

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