private void LBX_GererUniteMesure_KeyUp(object sender, KeyEventArgs e) { switch (e.KeyCode) { case Keys.Delete: Fermer(); break; case Keys.Add: BTN_AjouterUnite.PerformClick(); break; case Keys.Subtract: BTN_Effacer_Valeur.PerformClick(); break; case Keys.ControlKey: BTN_Modify.PerformClick(); break; case Keys.F1: BTN_Help.PerformClick(); break; case Keys.Escape: Fermer(); break; } }
private void LBX_GererUniteMesure_MouseDoubleClick(object sender, MouseEventArgs e) { BTN_AjouterUnite.PerformClick(); }