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...
-
The paper MRI Evaluation of the Contralateral Breast in Women with Recently Diagnosed Breast Cancer (New England Journal of Medicine [2007]: 12951303) describes a study of the use of MRI (Magnetic...
-
Dealtime Ltd is a company that has substantial investments in south-east Asia and carries out a significant volume of trading with the region. The company has substantial shareholdings in a number of...
-
What is the scope of the discovery?
-
Table 4-3 contains sample data for parts and for vendors who supply those parts. In discussing these data with users, we find that part numbers (but not descriptions) uniquely identify parts and that...
-
3. Complete the payroll register on the next page using the data below. (34 points) Complete the following payroll register for employees of Gray Company for the week ended March 15. Taxable earnings...
-
The second column in Table 13.1 shows the monthly return on the British FTSE 100 index from January 2015 through July 2017. The remaining columns show returns on the stocks of two firms?Executive...
-
The thin-walled pressure vessel has an elliptical cross section with the dimensions shown in the figure. Assuming that a > b and that the wall thickness t is constant, derive the expressions for the...
-
If the goods intended to be transferred to a number of purchasers have been set aside for them, but their proportions have not specifically been identified: a.property in the goods passes to them if...
-
Kilimanjaro Company produces joint products Burigit, Ipot and Tubol, and by-products Brownish and Yellowis which have a joint cost of P1,287,300. Cost are assigned to joint products by Approximated...
-
In a video store, a DVD that sells for $15 is marked, "10% off". What is the discount? What is the sale price of the DVD? Solution: The rate is 10%. The discount is: 0.10 x $15.00 = $1.50 The sale...
-
1) According to the article, what are advantages of Time Driven ABC compared to Rate Based ABC? 2) What are the general disadvantages of Time-Driven ABC? 3) Please give review the Time-Driven ABC...
-
What Florida statutes are related to the following in adolescent psychiatric clinical practice: - abuse and neglect reporting, assent and consent to treatment, boundary issues, confidentiality,...
-
Teams need both task - oriented and social - oriented roles to function effectively Distributing tasks based on individual strengths is crucial for success The pilot with the most aircraft - specific...
-
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...
-
Consider the MOSFET class-AB output stage in Figure 8.26. The parameters are: \(V_{D D}=10 \mathrm{~V}\) and \(R_{L}=100 \Omega\). For transistors \(M_{n}\) and \(M_{p}, V_{T N}=\) \(-V_{T P}=1...
-
An enhancement-mode MOSFET class-AB output stage is shown in Figure P8.29. The threshold voltage of each transistor is \(V_{T N}=-V_{T P}=1 \mathrm{~V}\) and the conduction parameters of the output...
-
For the inductively coupled amplifier in Figure 8.28(a), the parameters are: \(V_{C C}=15 \mathrm{~V}, R_{E}=0.1 \mathrm{k} \Omega\), and \(R_{L}=1 \mathrm{k} \Omega\). The transistor parameters are...
Study smarter with the SolutionInn App