コード例 #1
0
 private void PagoValeDigitalViewModel2_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     switch (e.PropertyName)
     {
     case nameof(this.ClientId):
     {
         this.Vale = _proxy.FindValeDigitalByClient(this.ClientId.Value);
         if (this.Vale != null)
         {
             this.Search = null;
             if (!this.Vale.Distribuidor.Promocion)
             {
                 this.SelectedPromocion = this.Promocion.Promociones.FirstOrDefault();
             }
         }
     }
     break;
     }
 }