Exemplo n.º 1
0
 private void m_gestionnaireEditionRelationSysCoorFormatNum_MAJ_Champs(object sender, CObjetDonneeResultEventArgs args)
 {
     if (args.Objet != null)
     {
         CResultAErreur result = m_lnkEditionRelationSysCoorFormatNum.FillObjetFromDialog(args.Objet);
         if (!result)
         {
             args.Result = result;
             return;
         }
     }
 }
        //------------------------------------------------------------------------
        public CResultAErreur MAJ_Champs()
        {
            CResultAErreur result = m_extLinkField.FillObjetFromDialog(Comportement);

            if (!result)
            {
                return(result);
            }
            if (m_cmbTypeElements.SelectedValue is Type && m_cmbTypeElements.SelectedValue != typeof(DBNull))
            {
                Comportement.TypeCible = (Type)m_cmbTypeElements.SelectedValue;
            }
            result = m_panelEvenements.MAJ_Champs();
            return(result);
        }