示例#1
0
        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();
        }
示例#2
0
 public System.Threading.Tasks.Task SetCarAsync(CarClient.CarService.Car c)
 {
     return(base.Channel.SetCarAsync(c));
 }
示例#3
0
 public void SetCar(CarClient.CarService.Car c)
 {
     base.Channel.SetCar(c);
 }