private void TextBox_TypeMesure_KeyUp(object sender, KeyEventArgs e) { switch (e.KeyCode) { case Keys.Escape: BTN_Quitter.PerformClick(); break; case Keys.Enter: BTN_Confirmer_Retrait.PerformClick(); break; } }
private void LBX_Quitter_Click(object sender, EventArgs e) { BTN_Quitter.PerformClick(); }