
11/11/2008, 10:43
|
| | Fecha de Ingreso: junio-2003 Ubicación: Asturias
Mensajes: 2.429
Antigüedad: 21 años, 9 meses Puntos: 7 | |
Respuesta: Timer en hilo Intenta probando asi:
Código:
this.lblTiempoTranscurido.Invoke( (MethodInvoker)delegate
{
TimeSpan _TimeSpan = _Stopwatch.Elapsed;
this.lblTiempoTranscurido.Text = String.Format("{0:00}:{1:00}:{2:00}.{3:000}", _TimeSpan.Hours, _TimeSpan.Minutes, _TimeSpan.Seconds, _TimeSpan.Milliseconds);
});
Saludos.
__________________ Charlie. |