//--------------------------------------------------------------- private void m_lnkAddTypeEntite_LinkClicked(object sender, EventArgs e) { CTypeEntiteSnmpPourSupervision typeEntite = new CTypeEntiteSnmpPourSupervision(); if (CFormEditTypeEntiteSnmp.EditeTypeEntite(typeEntite, m_baseHandlers)) { m_baseHandlers.AddTypeEntite(typeEntite); FillListeTypeEntites(); } }
//--------------------------------------------------------------- private void m_wndListeTypesEntites_DoubleClick(object sender, EventArgs e) { if (m_wndListeTypesEntites.SelectedItems.Count == 1) { CTypeEntiteSnmpPourSupervision typeEntite = m_wndListeTypesEntites.SelectedItems[0] as CTypeEntiteSnmpPourSupervision; if (typeEntite != null) { if (CFormEditTypeEntiteSnmp.EditeTypeEntite(typeEntite, m_baseHandlers)) { FillListeTypeEntites(); } } } }