private void button3_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         FrmRechercheClient recherche = new FrmRechercheClient();
         recherche.Closed += (s, es) =>
         {
             txtReference.Text = string.IsNullOrEmpty(recherche.CustomerRef) ? string.Empty : recherche.CustomerRef;
         };
         recherche.Show();
     }
     catch (Exception ex)
     {
         Message.Show(ex, Galatee.Silverlight.Resources.Langue.errorTitle);
     }
 }
 private void button3_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         FrmRechercheClient recherche = new FrmRechercheClient();
         recherche.Closed += (s, es) =>
         {
             try
             {
                 txtReference.Text  = string.IsNullOrEmpty(recherche.CustomerRef) ? string.Empty : recherche.CustomerRef;
                 txtClientName.Text = string.IsNullOrEmpty(recherche.CustomerName) ? string.Empty : recherche.CustomerName;
             }
             catch (Exception ex)
             {
                 Message.ShowError(ex, "Erreur");
             }
         };
         recherche.Show();
     }
     catch (Exception ex)
     {
         Message.ShowError(ex, "Erreur");
     }
 }