//-------------------------------------------------------------- public static bool EditeUnite(CUniteInDb unite) { CFormEditeUniteInDb form = new CFormEditeUniteInDb(); form.m_unite = unite; bool bResult = false; if (form.ShowDialog() == DialogResult.OK) { bResult = true; CGestionnaireUnites.Refresh(); } form.Dispose(); return(bResult); }