//--------------------------------------------------------- private void m_lnkAddChampSupplementaires_LinkClicked(object sender, EventArgs e) { CTrapFieldSupplementaire field = new CTrapFieldSupplementaire(); if (CFormEditTrapFieldSupplementaire.EditeField(field)) { m_handler.AddFieldSupplementaire(field); FillListeFieldsSupplementaires(); } }
private void EditeChampSupp() { if (m_wndListeChampsSupplementaires.SelectedItems.Count == 1) { CTrapFieldSupplementaire field = m_wndListeChampsSupplementaires.SelectedItems[0] as CTrapFieldSupplementaire; if (field != null) { if (CFormEditTrapFieldSupplementaire.EditeField(field)) { FillListeFieldsSupplementaires(); } } } }