private void DoCheckIfAppsAreRunningTimer() { var timer = new Timer { Interval = 1000 }; timer.Tick += (s, e) => { Nginx.SetStatusLabel(); MariaDB.SetStatusLabel(); PHP.SetStatusLabel(); }; timer.Start(); }