public MainWindow() { InitializeComponent(); AccuBatteryController accubatteryController = new AccuBatteryController(); PintuController Pintunya = new PintuController(); nextCar = new Car(); engineState.Visibility = Visibility.Hidden; var bc = new BrushConverter(); nextCar.setAccubaterryController(accubatteryController); nextCar.SetPintuController(Pintunya); }
public void SetPintuController(PintuController pintucontroller) { this.pintuContoller = pintucontroller; }