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

Microsoft intermediate language in .net, Microsoft Intermediate Language in...

Microsoft Intermediate Language in .NET When you create value in any terminology and gather, it will be changed to an 'Intermediate Language' (Microsoft Advanced Language - MSIL

What are program visible and invisible resisters, What are program visible ...

What are program visible and invisible resisters? A4) Program visible is those registers that can be programmed by the users, or which are customizable, whereas Program invisible

Define a prolog predicate flatten, Define a Prolog predicate flatten(List, ...

Define a Prolog predicate flatten(List, FlattenedList) that asserts List is any nested list of atoms and FlattenedList is the same list with the nesting removed. The atom [] should

Design and implement instantiable classes, Overview Goals: The goals for...

Overview Goals: The goals for this assignment are Design and implement instantiable classes. Use arrays of objects. Read from and write to files. Implement basic

Create program that displays levels of the fractal structure, In this Proje...

In this Project your task is to create a program that displays various levels of the fractal structure of the so called square shaped Sierpinski-carpet. The display of level 4 is s

Version control systems - delete and update, The next major set of tasks to...

The next major set of tasks to tackle are delete and update. Version control systems typically version updates to a ?le and only store the differences between the ?les. Two system

Data normalization and schema refinement, What is Data Normalization and Sc...

What is Data Normalization and Schema Refinement? Define briefly..

Write c sharp application to read a data, A number of simple student record...

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

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

Write the vhdl code for traffic light controller, The schematic of the traf...

The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke

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