예제 #1
0
 //-------------------------------------------------------------------------
 private void RotateDroitRestrictionSelectionnee()
 {
     if (m_restrictionAffichee == null)
     {
         return;
     }
     if (m_restrictionAffichee.CanModifyType())
     {
         m_restrictionAffichee.RestrictionUtilisateur = ERestriction.ReadOnly;
     }
     else if (m_restrictionAffichee.CanShowType())
     {
         m_restrictionAffichee.RestrictionUtilisateur = ERestriction.Hide;
     }
     else
     {
         m_restrictionAffichee.RestrictionUtilisateur = ERestriction.Aucune;
     }
     ShowRestriction(m_restrictionAffichee);
 }