public AjoutPlanete(Planete _planete)
 {
     AddOrModify = "Ajouter";
     OnAddNew    = new DelegateCommande(OnAddAction, CanAdd);           //Commande du bouton Ajouter et Modifier
     OnCancel    = new DelegateCommande(OnCancelCommand, CanCancel);    //Commande du bouton Annuler
     LoadCommand = new DelegateCommande(OnLoadCommand, CanLoadCommand); //Commande du bouton parcourir
     Planete     = _planete;
 }
        public ListPlanete()
        {
            Univers = PlaneteMaker.AllPlaneteEntiteToPlanete(PlaneteDAO.GetAllPlanete());

            TextRecherche    = "Voyager...";
            OnAddCommande    = new DelegateCommande(OnAddAction, CanExecuteAdd);
            OnEditCommande   = new DelegateCommande(OnEditCommand, CanEditCommand);
            OnDeleteCommande = new DelegateCommande(OnDeleteCommand, CanDeleteCommand);


            OnImportCommande = new DelegateCommande(ImportAction, CanImport);
            OnExportCommande = new DelegateCommande(ExportAction, CanExport);

            ClickOnSearch = new DelegateCommande(OnSearchAction, CanSearch);
        }
 public InfoBD()
 {
     ClickYes = new DelegateCommande(OnYesAction, CanYes);
     ClickNo  = new DelegateCommande(OnNoAction, CanNo);
 }