Esempio n. 1
0
 private void txtLoanDeduction_TextChanged(object sender, EventArgs e)
 {
     if (txtLoanDeduction.Text == "")
     {
         txtLoanDeduction.Text = "0";
         txtLoanDeduction.SelectAll();
     }
     ControlValidation.CheckNumericValueOnly1(txtLoanDeduction);
 }
Esempio n. 2
0
 private void txtSpcIncentive_TextChanged(object sender, EventArgs e)
 {
     if (txtSpcIncentive.Text == "")
     {
         txtSpcIncentive.Text = "0";
         txtSpcIncentive.SelectAll();
     }
     ControlValidation.CheckNumericValueOnly1(txtSpcIncentive);
 }
Esempio n. 3
0
 private void txtESICPer_TextChanged(object sender, EventArgs e)
 {
     if (txtpfPer.Text == "")
     {
         txtpfPer.Text = "0";
         txtpfPer.SelectAll();
     }
     if (ControlValidation.CheckNumericValueOnly1(txtpfPer))
     {
         calculateDA();
     }
 }
Esempio n. 4
0
 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();
     }
 }
Esempio n. 5
0
 private void txtEmpName_Leave(object sender, EventArgs e)
 {
     ControlValidation.checkEmptyTextBox(txtEmpName);
     txtEmpName.Text = myTextInfo.ToTitleCase(txtEmpName.Text);
 }
Esempio n. 6
0
 private void txtDesignation_TextChanged(object sender, EventArgs e)
 {
     ControlValidation.checkEmptyTextBox(txtDesignation);
 }
Esempio n. 7
0
 private void txtAllowedEL_TextChanged(object sender, EventArgs e)
 {
     ControlValidation.CheckNumericValueOnly1(txtAllowedEL);
 }
Esempio n. 8
0
 private void txtcontactno_Validating(object sender, CancelEventArgs e)
 {
     ControlValidation.CheckMobileNumber(txtcontactno, e);
 }
Esempio n. 9
0
 private void txtFatherName_Validating(object sender, CancelEventArgs e)
 {
     ControlValidation.CheckalphasOnly(txtFatherName, e);
     txtFatherName.Text = myTextInfo.ToTitleCase(txtFatherName.Text);
 }
Esempio n. 10
0
 private void txtEmpName_Validating(object sender, CancelEventArgs e)
 {
     ControlValidation.checkEmptyTextBox(txtEmpName);
 }
Esempio n. 11
0
 private void Txtrollno_Validating(object sender, CancelEventArgs e)
 {
     ControlValidation.CheckNumericValueOnly(txtrollno, e);
 }