Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Microsoft Visual Studio 2017 C# Part 2 - Employee Class (20 points) In Visual Studio, create a new Windows Forms Application. Create a class named

Microsoft Visual Studio 2017 C#

image text in transcribed

Part 2 - Employee Class (20 points) In Visual Studio, create a new Windows Forms Application. Create a class named Employee (in its own file) that has the following properties: Name the Name property holds the employee's name. IdNumber the IdNumber property holds the employee's ID number. Department The Department property holds the name of the department in which the employee works. Position -the Position property holds the employee's job title. The class should have the following overloaded constructors: A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's name, employee's ID number, department, and position. A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's name and ID number. The Departmentand Position properties should be assigned an empty string ( "" ). A parameterless constructor that assigns empty strings ( "") to the Name, Department, and Position properties, and 0 to the IdNumber property. In your application, create three Employee objects to hold the following data: ID Number Department Position Name Susan Meyers 47899 Accounting Vice President Mark Jones 39119 IT Programmer Engineer Joy Rogers 81774 Manufacturing The application should store this data in the three objects and display the data for each employee on the screen. Requirements: Submit a single zip file containing your solution folder using the following format: username_module2activity2.zip Upload both zip files to Canvas and submit. Print Ready PDF Version: cpsc2713-m2-assignment.pdf D

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions