Objectives: 1. Develop a UWP event-based application 2. Create a summary view based on user input...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
This lab assignment requires the creation of a U WP solution that references an Employee Class Libra... View the full answer
Related Book For
Marketing
ISBN: 978-1259268809
10th Canadian edition
Authors: Frederick Crane, Roger A. Kerin, Steven W. Hartley, William Rudelius
Posted Date:
Students also viewed these accounting questions
-
A common theme among managers who succeed repeatedly in program implementation is fostering open communication. Why is this so important?
-
Management by exception is a term often used in performance evaluation. Requirement 1. Describe management by exception and how it is used in the evaluation of cost, revenue, and profit centers.
-
The criticism is often heard that managers spend too much time working with their computers and smart phones. What else should they be doing?
-
1. Was 1MDB a fraudulent venture from the beginning? Why or why not? 2. How did the US Government become involved in the 1MDB saga? 3. What does the involvement of so many financial institutions in...
-
Ms. T. an unmarried individual, has the following income items: Schedule C net profit ..$31,900 NOL carry forward deduction . (9,190) Interest income .. 725 Ms. Ts self-employment tax was $4,507. She...
-
Consider the composite body shown. Determine (a) The value of x when h = L/2, (b) The ratio h/L for which x = L.
-
Compressibility factor for a given vapour or gas can be represented by (a) \(Z=1+B^{\prime} P+C^{\prime} P^{2}+D^{\prime} P^{3}+\cdots\) (b) \(Z=1+\frac{B}{V}+\frac{C}{V^{2}}+\frac{D}{V^{3}}+\cdots\)...
-
Vaga Optics produces medical lasers for use in hospitals. The accounts and their balances appear in the ledger of Vaga Optics on December 31 of the current year as follows: Preferred 2% Stock, $120...
-
As a general rule you should spend no more than of your budget on rent or a mortgage? How much equity does Shonda have in her home if she purchased it for 525,000 and owes 418,000 to the bank. Her...
-
The owner of a restaurant that serves Continentalstyle entrées has the business objective of learning more about the patterns of patron demand during the Fridayto-Sunday weekend time period....
-
Below is the code. The line is supposed to go in one direction and then another (zigzag).While I am able to get the asterisk's to go in one direction, I am unable to figure out what I did wrong to...
-
What is cost-plus pricing?
-
With regard to making decisions, what do you think are the main limitations of CVP analysis? Explain.
-
Backflush costing is comparable to cost accounting in a service firm. Discuss.
-
Why should the performance of variance analyses be based on flexible budgets rather than static budgets?
-
Budgets provide a framework for evaluating performance and improving learning. Do you agree? Explain.
-
John, an executive at Company X, uses his company expense account for his health club membership. This is an example of Question 5 options: whistleblowing insider trading abuse of official position...
-
Show that, given a maximum flow in a network with m edges, a minimum cut of N can be computed in O(m) time.
-
Listed here are two different firms. Which compensation plan would you recommend for each firm, and what reasons would you give for your recommendations? (a) A newly formed company that sells lawn...
-
The TDK tape company services 1,000 audio stores throughout the United States. Each store is called on 12 times a year, and the average sales call lasts 30 minutes. Assuming a salesperson works 40...
-
Suppose that you were launching a new service venture, perhaps a marketing consulting company that would cater to small and medium-sized Canadian companies. Determine your brand promise (what the...
-
The life \(T\) in hours of a vibration transducer is found to follow exponential distribution \[p_{T}(t)= \begin{cases}\lambda e^{-\lambda t}, & t \geq 0 \\ 0, & t <0\end{cases}\] where \(\lambda\)...
-
Fill in the Blank. If any parameter of a vibrating system is not known precisely, the resulting vibration is called ____________ vibration.
-
The probability distribution function, \(P(\widetilde{x})\), denotes a. \(P(x \leq \tilde{x})\) b. \(P(x>\widetilde{x})\) c. \(P(\tilde{x} \leq x \leq \tilde{x}+\Delta x)\)
Study smarter with the SolutionInn App