private void RadBtnVoirLibres(object sender, EventArgs e) { ComboBoxFiltrage(null, null); Liste_synthèse.ClearSelection(); var test = Liste_synthèse.Rows.Count; Liste_synthèse.Rows[test - 1].Selected = true; FonctCacherPortsUtilisés(); FonctCompterLignes("ports libres"); }
private void BtnModifier(object sender, EventArgs e) { Liste_synthèse.EndEdit(); try { _adapter.Update(_résultats); } catch { MessageBox.Show(@"Modifications effectuées !"); } finally { MessageBox.Show(@"Modifications effectuées !"); } }