every seconds c# Windows forms app .net framework code example Example: winforms timer c# Timer timer = new Timer();