//-------------------------------------- private CResultAErreur MajChamps() { m_champEdite.Description = m_txtDescription.Text; m_champEdite.FormuleIndex = m_txtFormuleIndex.Formule; CChampCustom champ = m_txtSelectChampCustom.ElementSelectionne as CChampCustom; if (champ != null) { m_champToCustom.IdChampCustom = champ.Id; } else { m_champToCustom.IdChampCustom = null; } m_champEdite.NoUpdateFromSnmp = m_chkNoUpdate.Checked; m_champEdite.IsReadOnly = m_chkNoWriteSNMP.Checked; return(m_champEdite.VerifieDonnees()); }
//-------------------------------------- private CResultAErreur MajChamps() { m_champEdite.Description = m_txtDescription.Text; m_champEdite.FormuleIndex = m_txtFormuleIndex.Formule; return(m_champEdite.VerifieDonnees()); }