Ejemplo n.º 1
0
        public void SetParametreAffichage(CParametreEditModulesParametrage parametre)
        {
            m_splitContainer.SplitterDistance = parametre.SplitterDistance;
            Orientation = parametre.Orientation;
            switch (Orientation)
            {
            case Orientation.Horizontal:
                m_btnOrientationH.Checked = true;
                break;

            case Orientation.Vertical:
                m_btnOrientationV.Checked = true;
                break;

            default:
                break;
            }
            CTreeViewNodeKeeper keeper = new CTreeViewNodeKeeper(m_ArbreModules);

            keeper.SelectionPath = parametre.SelectionPath;
            keeper.Apply(m_ArbreModules);
        }
Ejemplo n.º 2
0
 public void FillParametreAffichage(CParametreEditModulesParametrage parametre)
 {
     parametre.SplitterDistance = m_splitContainer.SplitterDistance;
     parametre.Orientation      = Orientation;
     parametre.SelectionPath    = new CTreeViewNodeKeeper(m_ArbreModules).SelectionPath;
 }