I am in over my head this week. Please help :( Milestone One: Introduction to Fo
ID: 666885 • Letter: I
Question
I am in over my head this week. Please help :(
Milestone One: Introduction to Forms
For Milestone One you will build/design the basic infrastructure of the graphical user interface. The following operations/features must be provided at a minimum:
Provide widgets for specifying a departure city, destination city, number of travelers, cabin grade (first class, business, coach, etc.), and number of checked bags. The GUI should provide a total cost once all the selections are made.
There should be one main “form” that will contain the entire GUI.
There should be one pushbutton for gracefully exiting the application.
Use pull-down widgets (selection lists or combo boxes) to allow the user to select the cities and cabin grade.
Provide text widgets for specifying the number of travelers and number of checked bags.
Please provide explanation on how to build the GUI in Visual Studio
Explanation / Answer
In Visual C#, you can use either the Windows Form Designer or the Windows Presentation Foundation (WPF) Designer to quickly and conveniently create user interfaces. For information to help you decide what type of application to build, see Overview of Windows-based Applications. There are three basic steps in creating user interfaces:
Adding controls to the design surface.
Setting initial properties for the controls.
Writing handlers for specified events.
Although you can also create your UI by manually writing your own code, designers enable you to do this work much faster.
http://postimg.org/image/l296csbwf/ Please find the screenshot.
You have to create a database containg the details about the cities.And then connect your project with database through wizard. Thats an easy task. And now you get the required result. When selecting all the information from the combo box it will give the cost for that you need to give print command in the textbox and integer as argument.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.