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 setAccubaterryController(AccuBatteryController AccuBatteryController) { this.AccuBatteryController = AccuBatteryController; }