Код: Выделить всё
public void Run()
{
while(true)
{
printMessageOnGui("Hey");
Thread.Sleep(2000);
// Do more work
}
}
Подробнее здесь: https://stackoverflow.com/questions/243 ... ontinue-it
Код: Выделить всё
public void Run()
{
while(true)
{
printMessageOnGui("Hey");
Thread.Sleep(2000);
// Do more work
}
}