//------------------------------------------------------------------- private void snmpFieldToolStripMenuItem_Click(object sender, EventArgs e) { CChampEntiteFromQuery champ = new CChampEntiteFromQuery(); if (CFormEditChampEntiteFromQuery.EditeChamp(champ, m_typeEntite)) { m_typeEntite.AddChamp(champ); FillListeChamps(); } }
//------------------------------------------------------------------- private void m_wndListeChamps_DoubleClick(object sender, EventArgs e) { if (m_wndListeChamps.SelectedItems.Count == 1) { CChampEntiteFromQuery champ = m_wndListeChamps.SelectedItems[0] as CChampEntiteFromQuery; if (champ != null) { if (CFormEditChampEntiteFromQuery.EditeChamp(champ, m_typeEntite)) { FillListeChamps(); } } } }