C# Class DMV_GUI.MotorVehicle

Show file Open project: CITA180Class/Motor-Vehicle-GUI-project Class Usage Examples

Protected Properties

Property Type Description
noOfSeats int
noOfWheels int

Public Methods

Method Description
MotorVehicle ( ) : System
MotorVehicle ( string VIN, string make, string model, int noOfWheels, int noOfSeats, System.DateTime dateOfProduction ) : System
SetVIN ( string VIN ) : bool
show ( ) : string

Method Details

MotorVehicle() public method

public MotorVehicle ( ) : System
return System

MotorVehicle() public method

public MotorVehicle ( string VIN, string make, string model, int noOfWheels, int noOfSeats, System.DateTime dateOfProduction ) : System
VIN string
make string
model string
noOfWheels int
noOfSeats int
dateOfProduction System.DateTime
return System

SetVIN() public method

public SetVIN ( string VIN ) : bool
VIN string
return bool

show() public method

public show ( ) : string
return string

Property Details

noOfSeats protected property

protected int noOfSeats
return int

noOfWheels protected property

protected int noOfWheels
return int