コード例 #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;
 }