Pog da thread na MainWindow
DateType Timeticks