Example #1
0
        private void RemplisCategories()
        {
            List <Categorie> lc = Categorie.ChargeToutIdent();

            txtCategorieOri.DisplayMember = "LibelleIdent";
            txtCategorieOri.ValueMember   = "Id";
            txtCategorieOri.DataSource    = lc;

            List <Categorie> lc2 = Categorie.ChargeToutIdent();

            txtCategorieDest.DisplayMember = "LibelleIdent";
            txtCategorieDest.ValueMember   = "Id";
            txtCategorieDest.DataSource    = lc2;
        }
Example #2
0
 private void RemplisCategories()
 {
     txtFiltreCategorie.DataSource    = Categorie.ChargeToutIdent();
     txtOperationCategorie.DataSource = Categorie.ChargeToutIdent();
 }