Develop a windows forms application, Programming Languages

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)
Posted Date: 3/9/2013 5:11:26 AM | Location : United States

Related Discussions:- Develop a windows forms application, Assignment Help, Ask Question on Develop a windows forms application, Get Answer, Expert's Help, Develop a windows forms application Discussions

Write discussion on Develop a windows forms application
Your posts are moderated
Related Questions
Expertsmind brings you unique solution in java assignments Exception Handling An exception is an issue that appears during the performance of an application. An exception

Write a program to handle a book collection. The data on each book might be title, author, publication date, book number and  cataloging details. Allow for adding or deleting books

Write a program to draw the truck following figure. The program should buttons to provide When the truck runs left wheels must rotate in the correct direction. Rotating whe

A number of simple student records are written to a text file. The format of some typical linesshould be - Task (1): Using a text editor, create a file with 10 such reco

1.  A function that produces the Collatz sequence and counts the number of terms. 2.  A main function that calculates interesting values about the Collatz sequence. 1.The Col

Version Control is a critical tool in development and production environments that allows a user to make snapshots of working con?gurations or code. In this assignment, you will de

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives