//------------------------------------------------------------------------- protected override CResultAErreur MAJ_Champs() { CResultAErreur result = base.MAJ_Champs(); result = m_panelRecepteurFormulaires.MAJ_Champs(); return(result); }
public CResultAErreur MajChamps() { CResultAErreur result = CResultAErreur.True; if (m_bIsInit) { result = m_panelChamps.MAJ_Champs(); } if (result && m_bIsInit) { m_entiteEditee.ElementSupervise = m_selectElementSupervise.ElementSelectionne as IElementSupervise; } return(result); }
//--------------------------------------------------------------- public CResultAErreur MajChamps() { CResultAErreur result = CResultAErreur.True; foreach (Control ctrl in m_panelEntites.Controls) { CPanelChampsCustom panelChamps = ctrl as CPanelChampsCustom; if (panelChamps != null) { result = panelChamps.MAJ_Champs(); if (!result) { result.EmpileErreur(I.T("Erreur on entity @1|20312", panelChamps.ElementEdite.DescriptionElement)); return(result); } } CPanelEditeEntiteSnmp panelSlide = ctrl as CPanelEditeEntiteSnmp; if (panelSlide != null) { result = panelSlide.MajChamps(); if (!result) { result.EmpileErreur(I.T("Erreur on entity @1|20312", panelSlide.ElementEdite.DescriptionElement)); return(result); } } CPanelFormulaireSurElement panelFormulaire = ctrl as CPanelFormulaireSurElement; if (panelFormulaire != null) { result = panelFormulaire.AffecteValeursToElement(); if (!result) { result.EmpileErreur(I.T("Erreur on entity @1|20312", panelSlide.ElementEdite.DescriptionElement)); return(result); } } } return(result); }