//----------------------------------------------------
 void m_formulaire_AfterValideModification(object sender, sc2i.data.CObjetDonneeEventArgs args)
 {
     if (m_etapeEnCours != null)
     {
         CBlocWorkflowFormulaire bloc = m_etapeEnCours.TypeEtape.Bloc as CBlocWorkflowFormulaire;
         if (bloc != null && bloc.PromptForEndWhenAllConditionsAreOk)
         {
             CResultAErreur result = m_etapeEnCours.GetErreursManualEndEtape();
             if (result)
             {
                 if (CFormAlerte.Afficher(I.T("All prerequisite conditions to close Step \"@1\" are valid. Would you like to close this Step|20573", m_etapeEnCours.Libelle),
                                          EFormAlerteBoutons.OuiNon,
                                          EFormAlerteType.Question) == DialogResult.Yes)
                 {
                     EndEtape();
                 }
             }
         }
     }
 }