LabWork07 PIbd-21 Zaharchenko #8

Closed
shadowik wants to merge 6 commits from LabWork07 into LabWork06
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 3e9def9597 - Show all commits

View File

@ -56,5 +56,10 @@ namespace DoubleDeckerBus
{
return new DrawingObjectBus(data.CreateDrawningCar());
}
public DrawingBus getBus()
{
return _bus;
}
}
}

View File

@ -31,7 +31,7 @@ namespace DoubleDeckerBus
{
try
{
if (bus.getBus(bus.Get_bus()) == null)
if (bus.getBus() == null)
{
throw new NullReferenceException();
}