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);
 }
Exemple #4
0
 /// <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);
 }
Exemple #6
0
 private void tbLbsBackpack_KeyDown(object sender, KeyEventArgs e)
 {
     CCFBGlobal.checkForIntOnKeyPress(e);
 }