private void FastTrackForm_KeyDown(object sender, KeyEventArgs e) { if (dgvFT.Focused == true) { CCFBGlobal.checkForIntOnKeyPress(e); } }
private void tbDonorID_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.Enter) { CCFBGlobal.checkForIntOnKeyPress(e); } else { checkForDonor(); } }
private void dgvFT_KeyDown(object sender, KeyEventArgs e) { CCFBGlobal.checkForIntOnKeyPress(e); }
/// <summary> /// Fires when the user presses a key while in a textbox /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tbYear_KeyDown(object sender, KeyEventArgs e) { //Make sure the key pressed was a value that is in correct format CCFBGlobal.checkForIntOnKeyPress(e); }
private void tbCommSigValidFor_KeyDown(object sender, KeyEventArgs e) { CCFBGlobal.checkForIntOnKeyPress(e); }
private void tbLbsBackpack_KeyDown(object sender, KeyEventArgs e) { CCFBGlobal.checkForIntOnKeyPress(e); }