public bool GoUp(int nIndex, string strNomControle) { if (nIndex - 1 >= 0) { CControlePrevisionOperation ctrl = GetControle(nIndex - 1); return(ctrl.FocusOn(strNomControle)); } return(false); }
public bool GoDown(int nIndex, string strNomControle) { if (nIndex + 1 < m_listeControlsUtiles.Count) { CControlePrevisionOperation ctrl = GetControle(nIndex + 1); return(ctrl.FocusOn(strNomControle)); } return(false); }