This commit is contained in:
Samuele E. Locatelli
2019-04-19 14:24:42 +02:00
parent 18dd4359d6
commit d71ae03889
+8 -4
View File
@@ -100,11 +100,15 @@ namespace TestClient
return;
}
synchronizationContext.Post(new SendOrPostCallback(o =>
try
{
lblClock.Text = timeNow.ToString("ddd dd.MM.yyyy HH:mm:ss");
}), "");
synchronizationContext.Post(new SendOrPostCallback(o =>
{
lblClock.Text = timeNow.ToString("ddd dd.MM.yyyy HH:mm:ss");
}), "");
}
catch
{ }
previousTime = timeNow;
}