Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objectives: 1. Develop a UWP event-based application 2. Create a summary view based on user input 3. Use LINQ to obtain results from a

 

Objectives: 1. Develop a UWP event-based application 2. Create a summary view based on user input 3. Use LINQ to obtain results from a collection and produce output. 4. Decouple programming logic and create an event based on business logic. Preamble: Lab 5 is a continuation of the Employee Payroll System. You must develop custom event(s) and use UNQ to provide Decision Support with a summary view that incorporates user input. The key requirements of this final lab include: 1. Create a custom event for your application. The event alerts the user of a business rule or potential concern. Use a custom delegate to create the event. The event based on pay, bonus, or deductions for an employee type or types and/or could involve employee data such as birthday or active. 2. Note: The event can occur for any situation unique to your solution. The event executes implicitly when the situation (business logic decided by you) arises. Example: an employee's pay exceeds an illegal threshold. When the event occurs display an appropriate message to the user. Provide the user with a query search to support decision-making. Use LINQ in your solution to retrieve results from the employee collection. This result incorporates user input. Example: Which employees earn more than a certain amount entered by the user for a period of dates enter by the user? How many employees are paid minimum wage or a certain wage entered by the user and come from a province or city selected by the user? Display the results to the user. Include employee names in the result. 3. Provide the user with summary payroll data using LINQ to determine the output. Instructions: 1. Create a UWP solution named Lab5YourName. Your solution references your Lab 3 Employee Class Library or the Library provided. 2. The application starts with a sample of at least 20 employees of all types. 3. Design a xaml interface that provides the user with components for obtaining distinct results. Make sure the result incorporates input from the user based on employees and their pay as described above. Use LINQ in your solution. 4. Display information from the following table in the view. Use LINQ to determine the output and label all values appropriately. This information should appear automatically when the page loads. PROG1224 Object Oriented Software Development Lab 5 Assignment O The total number of each employee type The total number of all employees active and inactive The employee(s) with the most seniority; and the least seniority; display each name, employee type, and pay The employee with the highest pay; Display name, employee type, and pay The employee type with the highest amount of pay; Display Type and total pay The average pay of all employees A unique result to your solution labelled appropriately 5. Add a custom event to the employee classes that triggers based on a unique business rule that you determine. State your event assumption/business rule with the event code you write. The Publishing code should be in the Employee Library with the base Employee class or a derived type. The Subscribing code is in the UWP client.

Step by Step Solution

3.54 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

This lab assignment requires the creation of a U WP solution that references an Employee Class Libra... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing

Authors: Frederick Crane, Roger A. Kerin, Steven W. Hartley, William Rudelius

10th Canadian edition

1259268802, 978-1259268809

More Books

Students also viewed these Accounting questions

Question

Define emotions and list the major emotional dimensions?

Answered: 1 week ago