Exemplo n.º 1
0
        //---------------------------------------------------------
        private void m_lnkAddChamp_LinkClicked(object sender, EventArgs e)
        {
            CTrapField field = new CTrapField();

            if (CFormEditTrapField.EditeField(field))
            {
                m_handler.AddFieldFromTrap(field);
                FillListeTrapFields();
            }
        }
Exemplo n.º 2
0
 private void EditeChampTrap()
 {
     if (m_wndListeChamps.SelectedItems.Count == 1)
     {
         CTrapField field = m_wndListeChamps.SelectedItems[0] as CTrapField;
         if (field != null)
         {
             if (CFormEditTrapField.EditeField(field))
             {
                 FillListeTrapFields();
             }
         }
     }
 }