Visual Basic _ GreenCar

Based on the classes developed in the exercises of chapter 4, develop a GreenCar that uses Car as a parent.

a. GreenCar will suppress the parent's GasLow event so that objects based on GreenCar will not be able to respond to the GasLow as is Instead, when GasLow fires, GreenCar will raise its own GasLow - you may use a different name - but only if the gas is at 2 or less gallons. We will do more with GreenCar once we cover the next chapter.

b. On the client side, divide the form into two areas, on for Car and another for GreenCar. Make sure each area has the needed controls to enter each car's data, with two sets of buttons to Drive, and Pump Gas. However, since both sets of Drive and Pump Gas buttons will do same action; handle these events in one handler per button. For example handle Car and GreenCar's Drive click events in one handler, and do the same for the Pump Gas buttons. This will require you check which button was clicked so that you know which object to work on.


I have Car file which i worked on previous chapter.....anyone help?

Skills: Visual Basic

See more: visual b, data visual, car drive, check parent, work visual, example visual basic, visual basic work needed, car data file, data needed car, visual basic form, event develop, file name handle, visual basic help, click button handle, data enter side, handler, car check, freebluez, suppress, form handler file

About the Employer:
( 25 reviews ) LA, United States

Project ID: #1254397

Awarded to:


Hi, kindly check your inbox for my inquiries. Thanks.

$30 USD in 0 days
(31 Reviews)

2 freelancers are bidding on average $103 for this job


Being a software engineer, I can get your project doen with perfect outcome to your full satisfaction.

$175 USD in 4 days
(0 Reviews)