Пример #1
0
        //---------------------------------------------------------
        private void m_lnkAddChampSupplementaires_LinkClicked(object sender, EventArgs e)
        {
            CTrapFieldSupplementaire field = new CTrapFieldSupplementaire();

            if (CFormEditTrapFieldSupplementaire.EditeField(field))
            {
                m_handler.AddFieldSupplementaire(field);
                FillListeFieldsSupplementaires();
            }
        }
Пример #2
0
 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();
             }
         }
     }
 }