예제 #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);
        }
예제 #2
0
 public void setAccubaterryController(AccuBatteryController AccuBatteryController)
 {
     this.AccuBatteryController = AccuBatteryController;
 }