Question
Programming Language C# I need this assignment As soon as possible please help me Purpose: The purpose of this assignment is to help you: Become
Programming Language C#
I need this assignment As soon as possible please help me
Purpose: The purpose of this assignment is to help you:
- Become familiar with WPF Data binding
- Learn to use advanced GUI
Question 1 [15 marks]
(Restaurant Bill Calculator) A restaurant wants a WPF app that calculates a tables bill. The app
should display all following menu items (shown below) in four ComboBoxes. Each ComboBox should contain a category of food offered by the restaurant (Beverage, Appetizer, Main Course and Dessert).
The user can choose from one of these ComboBoxes to add an item to a tables bill. As each item is
selected in the ComboBoxes, add to the DataGrid Control, and add the price of that item to the bill. The user can click the Clear Bill Button to restore the Subtotal:, Tax: and Total: fields to $0.00. Add your student name and your companys (i.e., Centennial College) logo at the status bar, when user clicks the logo, companys website is opened in Internet explorer.
Question2 [5 marks]
(Login User Control) Create a UserControl (similar as below) called LoginUserControl that contains two labels and two TextBoxs. LoginUserControl must provide public read-only properties that allow an application to retrieve the user inputs (i.e., login name and password). Write a driver to test LoginUserControl.
Rubric
Question 1
|
|
Functionality | Marks |
WPF GUI (XAML) | 2 |
Data Binding + ObseverableCollection | 1+1 |
Status Bar | 1 |
Functionality
| 3+2+2+2 |
Overall, | 1 |
|
|
Question 2 |
|
Functionality | Marks |
UserControl | 1.5 |
Dependency Property | 1.5 |
Application to use LoginUserControl | 2 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started