private void btnGetCar_Click(object sender, EventArgs e) { int id = int.Parse(tbxId.Text); CarClient.CarService.Car car = _client.GetCar(id); tbxId.Text = car.Id.ToString(); tbxVendor.Text = car.Vendor; tbxModel.Text = car.Model; tbxYear.Text = car.Year.ToString(); }
public System.Threading.Tasks.Task SetCarAsync(CarClient.CarService.Car c) { return(base.Channel.SetCarAsync(c)); }
public void SetCar(CarClient.CarService.Car c) { base.Channel.SetCar(c); }