Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void SetPintuController(PintuController pintucontroller)
 {
     this.pintuContoller = pintucontroller;
 }