Ver Mensaje Individual
  #8 (permalink)  
Antiguo 12/06/2009, 10:30
Avatar de Dradi7
Dradi7
 
Fecha de Ingreso: junio-2008
Ubicación: Peru - Lima
Mensajes: 1.518
Antigüedad: 15 años, 11 meses
Puntos: 220
Respuesta: Error al convertir en el textbox C#

si
y deberias
poner

this. textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this. textBox1_KeyPress);

el evento correcto debe ser

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
ClsUtil.SoloNumeros(textBox, e);
}
__________________
La clave de todo triunfador es eliminar todas sus excusas y sus limitaciones