//---------------------------------------------------
        public void InsertBefore(int nIndex)
        {
            if (!CanAddNew())
            {
                return;
            }
            if (nIndex >= m_listeControlsUtiles.Count - 1)
            {
                return;
            }
            CControlePrevisionOperation ctrl = GetControle(nIndex);

            if (ctrl.TypeOperation == null)
            {
                return;
            }
            int nNiveau = ctrl.TypeOperation.Niveau;

            m_panelControles.SuspendDrawing();
            ctrl = GetNewControle(nIndex);
            ctrl.InitControle(null, nIndex, nNiveau, false);
            ReordonneeTout();
            m_panelControles.ResumeDrawing();
            m_panelControles.Visible = false;
            m_panelControles.Visible = true;
            ctrl.Focus();
        }
        //---------------------------------------------------
        public void InsertAfter(int nIndex)
        {
            if (!CanAddNew())
            {
                return;
            }
            CControlePrevisionOperation ctrl = GetControle(nIndex);

            if (ctrl.TypeOperation == null)
            {
                return;
            }
            int nNiveau = ctrl.TypeOperation.Niveau;

            m_panelControles.SuspendDrawing();
            ctrl = GetNewControle(nIndex + 1);
            ctrl.InitControle(null, nIndex + 1, nNiveau, false);
            ReordonneeTout();
            m_panelControles.ResumeDrawing();
            m_panelControles.Visible = false;
            m_panelControles.Visible = true;
            ctrl.Focus();
            RecalcSize();
        }