Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IST 3 3 1 Lab: Calculate ( exactly ) a Dog s Age in Human Years The purpose of this lab. o Create a Dog
IST Lab: Calculate exactly a Dogs Age in Human Years The purpose of this lab. o Create a Dog class, using C# o Have a well designed window that is easy to understand. o Calculate the number human years a dog is This is a age chart at the web site, below: https:wwwakc.orgexpertadvicehealthhowtocalculatedogyearstohumanyears Requirements Calendar Control: A Date of Birth date. Pick a date when the dog was born. ReadOnly textBox showing the current date. Get this data from the computer. A Calculate button. a When clicked, do the calculation. A readonly display textbox. a This will hold the results of the calculation. Display the results as simply number of years. Validation: The current date must be more recent than the Birth Date entered. If not display an error message using MessageBox.Show Window Design Looking for This is a simple window design. The controls are proportional with the size of the window. Window has an appropriate title. The window cannot be resized. The window is a dialog box style of window check the window properties Implement a color scheme. Make items more colorful, but still appealing. For all, controls, set up the mouse hover event to show an explanation of what goes in that particular control. The Dog class Make the Dog class a separate C# file, than the main window. Add it to the project. The dog class shall have. a Class name Dog b At least class fields. c A get and set function for all fields. d Two constructor: a default no params the other with as many params as fields e A toString method. f A static member called DogsAgeinhumanYears g Determine The dogs age in human years. h Use the chart found on a website listed above i Since has many birthdays in a humans calendar year, you determine how old in the partial year we discussed this in class
IST
Lab: Calculate exactly a Dogs Age in Human Years
The purpose of this lab.
o Create a Dog class, using C#
o Have a well designed window that is easy to understand.
o Calculate the number human years a dog is
This is a age chart at the web site, below:
https:wwwakc.orgexpertadvicehealthhowtocalculatedogyearstohumanyears
Requirements
Calendar Control: A Date of Birth date. Pick a date when the dog was born.
ReadOnly textBox showing the current date. Get this data from the computer.
A Calculate button.
a When clicked, do the calculation.
A readonly display textbox.
a This will hold the results of the calculation. Display the results as simply
number of years.
Validation: The current date must be more recent than the Birth Date entered. If
not display an error message using MessageBox.Show
Window Design Looking for
This is a simple window design.
The controls are proportional with the size of the window.
Window has an appropriate title.
The window cannot be resized.
The window is a dialog box style of window check the window properties
Implement a color scheme. Make items more colorful, but still appealing.
For all, controls, set up the mouse hover event to show an explanation of what goes
in that particular control.
The Dog class
Make the Dog class a separate C# file, than the main window. Add it to the project.
The dog class shall have.
a Class name Dog
b At least class fields.
c A get and set function for all fields.
d Two constructor: a default no params the other with as many params as
fields
e A toString method.
f A static member called DogsAgeinhumanYears
g Determine The dogs age in human years.
h Use the chart found on a website listed above
i Since has many birthdays in a humans calendar year, you determine how old
in the partial year we discussed this in class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started