Question: The programming language is C# we are using wpf forms. Hello, I would like to get my clear button to work. So when clear is
The programming language is C# we are using wpf forms.
Hello, I would like to get my clear button to work. So when clear is click everything is clear not only the total, tax or subtotal but also the combox and the data grid. For the Delete button if the user selects a specific item it will be deleted and for the receipt button, it should create a pdf that contains the Name, Price, quantity, tax, total and subtotal. it is WPF forms. Also if you can create the user login part of the homework I would really like that.
I can upload the project to google drive if you would like.
Rubric Question 1 Marks 1+1 3+2+3+1+2 Functionality WPF GUI (XAML) Data Binding + ObseverableCollection Status Bar Functionality 1. Selected item(s) from combobox is added to the DataGrid row; if the selected item(s) exists in the DataGrid, change the quantity of the corresponding items rather than add new row 2. The selected item can be removed from the DataGrid 3. The quantity can be updated directly in DataGrid, other columns are not editable 4. All currency items (e.g., unit price, subtotal, total, etc.) should be displayed in currency by using Binding class's StringFormat property 5. The invoice is generated correctly Overall, Question 2 Functionality UserControl Dependency Property Application to use Login User Control Marks 1.5 1.5 (Restaurant Bill Calculator) A restaurant wants a WPF app that calculates a table's 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 table's 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 company's (i.e., Centennial College) logo at the status bar, when user clicks the logo, company's website is opened in Internet explorer. Name Category Price Name Category Price $13.95 $13.95 $11.95 $19.95 Soda Beverage Tea Beverage Coffee Beverage Mineral Water Beverage Juice Beverage Milk Beverage Buffalo Wings Appetizer Buffalo Fingers Appetizer Potato Skins Appetizer Nachos Appetizer Mushroom Caps Appetizer Shrimp Cocktail Appetizer Chips and Salsa Appetizer Seafood Alfredo Main Course $1.95 $1.50 $1.25 $2.95 $2.50 $1.50 $5.95 $6.95 $8.95 $20.95 Chicken Alfredo Chicken Picatta Turkey Club Lobster Pie Prime Rib Shrimp Scampi Turkey Dinner Stuffed Chicken Apple Pie Sundac Carrot Cake Mud Pie Apple Crisp Main Course Main Course Main Course Main Course Main Course Main Course Main Course Main Course Dessert $18.95 $13.95 $14.95 $5.95 $3.95 $5.95 $4.95 $5.95 $8.95 $10.95 $12.95 $6.95 $15.95 Dessert Dessert Dessert Dessert Question2 [5 marks) (Login User Control) Create a UserControl (similar as below) called Login User Control that contains two labels and two TextBoxs. Login User Control 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 Login UserControl. User Name Password