Пример #1
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     this.Dispatcher.Invoke(
         new Action <Gear>((gear) =>
     {
         textBlock_currentGear.Text = gear.ToString();
     }));
 }
Пример #2
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     Model.CarInfo.CurrentGear = args.GetGear();
 }
Пример #3
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     Model.CarInfo.CurrentGear = args.GetGear();
 }
Пример #4
0
 void CarComunicator_evGearPositionReceived(object sender, GearPositionReceivedEventArgs args)
 {
     this.Dispatcher.Invoke(
         new Action<Gear>((gear) =>
         {
             textBlock_currentGear.Text = gear.ToString();
         }));
 }