Exemplo n.º 1
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     this.Dispatcher.Invoke(
         new Action <Gear>((gear) =>
     {
         textBlock_currentGear.Text = gear.ToString();
     }));
 }
Exemplo n.º 2
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     Model.CarInfo.CurrentGear = args.GetGear();
 }
Exemplo n.º 3
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     Model.CarInfo.CurrentGear = args.GetGear();
 }
Exemplo n.º 4
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     this.Dispatcher.Invoke(
         new Action<Gear>((gear) =>
         {
             textBlock_currentGear.Text = gear.ToString();
         }));
 }