Ejemplo n.º 1
0
        //--------------------------------------------------------------------
        private void m_btnOk_Click(object sender, EventArgs e)
        {
            m_smartField.Libelle   = m_txtNomChamp.Text;
            m_smartField.Categorie = m_txtCategorie.Text;
            CResultAErreur result = m_smartField.CommitEdit();

            if (!result)
            {
                CFormAlerte.Afficher(result.Erreur);
                return;
            }
            DialogResult = DialogResult.OK;
            Close();
        }