Horse Class Homework
Create a base Class Called Horses with the following properties
Name, Breed, Gender, Weight, Hands
Create a method in the horse class called CalculateValue
Value = Weight * 1.5
Create a derived class called RaceHourse. Add the following Properties
Mile_Time
Winnings
Create a function in the RaceHourse class called CalculateValue
Value = Weight*2 + Winnings
Create a derived class called WorkHourse. Add the following Property
Pull_Amount
In the Main form add the following instance of a Horse and display the information in the appropriate textboxes when Display Horse Information button is clicked
Name: Daisy, Breed: Pony, Gender: Female, Weight: 2000, Hands: 15
In the Main form add the following instance of a Race Horse and display the information in the appropriate textboxes when Display Race HorseInformation button is clicked
Name: Speedy, Breed: Thoroughbred, Gender: Male, Weight: 2100 Hands: 16, Mile Time: 2.75
Winni
Name, Breed, Gender, Weight, Hands
Create a method in the horse class called CalculateValue
Value = Weight * 1.5
Create a derived class called RaceHourse. Add the following Properties
Mile_Time
Winnings
Create a function in the RaceHourse class called CalculateValue
Value = Weight*2 + Winnings
Create a derived class called WorkHourse. Add the following Property
Pull_Amount
In the Main form add the following instance of a Horse and display the information in the appropriate textboxes when Display Horse Information button is clicked
Name: Daisy, Breed: Pony, Gender: Female, Weight: 2000, Hands: 15
In the Main form add the following instance of a Race Horse and display the information in the appropriate textboxes when Display Race HorseInformation button is clicked
Name: Speedy, Breed: Thoroughbred, Gender: Male, Weight: 2100 Hands: 16, Mile Time: 2.75
Winni