//------------------------------------------------------------------------------ private void CControleSelectFormEdition_Load(object sender, EventArgs e) { if (m_typeElement == null) { return; } m_listBox.Items.Clear(); m_listBox.Items.Add("(None)"); foreach (CReferenceTypeForm refTypeForm in CFormFinder.GetReferencesTypeToEdit(m_typeElement)) { m_listBox.Items.Add(refTypeForm); } m_listBox.SelectedItem = ReferenceFormEdition; }