private void txtLoanDeduction_TextChanged(object sender, EventArgs e) { if (txtLoanDeduction.Text == "") { txtLoanDeduction.Text = "0"; txtLoanDeduction.SelectAll(); } ControlValidation.CheckNumericValueOnly1(txtLoanDeduction); }
private void txtSpcIncentive_TextChanged(object sender, EventArgs e) { if (txtSpcIncentive.Text == "") { txtSpcIncentive.Text = "0"; txtSpcIncentive.SelectAll(); } ControlValidation.CheckNumericValueOnly1(txtSpcIncentive); }
private void txtESICPer_TextChanged(object sender, EventArgs e) { if (txtpfPer.Text == "") { txtpfPer.Text = "0"; txtpfPer.SelectAll(); } if (ControlValidation.CheckNumericValueOnly1(txtpfPer)) { calculateDA(); } }
private void txtda_TextChanged(object sender, EventArgs e) { // ControlValidation.CheckNumericValueOnly1(txtda ); //calculateDA(); if (txtda.Text == "") { txtda.Text = "0"; txtda.SelectAll(); } if (ControlValidation.CheckNumericValueOnly1(txtda)) { calculateDA(); } }
private void txtEmpName_Leave(object sender, EventArgs e) { ControlValidation.checkEmptyTextBox(txtEmpName); txtEmpName.Text = myTextInfo.ToTitleCase(txtEmpName.Text); }
private void txtDesignation_TextChanged(object sender, EventArgs e) { ControlValidation.checkEmptyTextBox(txtDesignation); }
private void txtAllowedEL_TextChanged(object sender, EventArgs e) { ControlValidation.CheckNumericValueOnly1(txtAllowedEL); }
private void txtcontactno_Validating(object sender, CancelEventArgs e) { ControlValidation.CheckMobileNumber(txtcontactno, e); }
private void txtFatherName_Validating(object sender, CancelEventArgs e) { ControlValidation.CheckalphasOnly(txtFatherName, e); txtFatherName.Text = myTextInfo.ToTitleCase(txtFatherName.Text); }
private void txtEmpName_Validating(object sender, CancelEventArgs e) { ControlValidation.checkEmptyTextBox(txtEmpName); }
private void Txtrollno_Validating(object sender, CancelEventArgs e) { ControlValidation.CheckNumericValueOnly(txtrollno, e); }