public void NewTime(string s) { if (this.lblTime.InvokeRequired) { NewTimeCallback d = new NewTimeCallback(NewTime); this.Invoke(d, new object[] { s }); } else { lblTime.Text = s; } lblTime.Text = ((int)(int.Parse(s) / 1000)).ToString(); }