private void txtTerms_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
 {
     Methods clsMethods = new Methods();
     e.Handled = clsMethods.AllNum(Convert.ToInt32(e.KeyChar));
 }
Example #2
0
		private void txtValidityDate_KeyPress(object sender, KeyPressEventArgs e)
		{
			Methods clsMethods = new Methods();
			e.Handled = clsMethods.AllNum(Convert.ToInt32(e.KeyChar));
		}