コード例 #1
0
 public UCEmployes()
 {
     InitializeComponent();
     ListPersonne              = DAL.GetPersonnes();
     lb_Empl.ItemsSource       = ListPersonne;
     lb_Empl.DisplayMemberPath = "NomPrenom";
     lb_Empl.SelectionChanged += Lb_Empl_SelectionChanged;
     lb_Empl.SelectedValuePath = "EmployeeId";
 }
コード例 #2
0
ファイル: UCTrombi.xaml.cs プロジェクト: vichy60/exercices
 public UCTrombi()
 {
     InitializeComponent();
     ListPersonne = DAL.GetPersonnes();
     foreach (var pers in ListPersonne)
     {
         lb_Photos.Items.Add(pers.Photo);
     }
 }