Ejemplo n.º 1
0
        private void btn_search_Click(object sender, RoutedEventArgs e)
        {
            Car car = RestCarHandler.GetCar(CarSearchInput.Text);

            LicensePlateLabelResult.Content = car.LicensePlate;
            TypeLabelResult.Content         = car.Type;
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            restCarList = RestCarHandler.GetCars();
            soapCarList = SoapCarHandler.GetCars();

            RestCarListView.ItemsSource = restCarList;
            SoapCarListView.ItemsSource = soapCarList;
        }