public BackupProgressForm_CL(BackupForm_CL parent) { InitializeComponent(); _parent = parent; progressBar.Minimum = 0; progressBar.Maximum = 100; _timeCounter = new TimeSpan(); timer = new Timer(); timer.Tick += new EventHandler(timer_Tick); timer.Interval = 1000; // 1 second timer.Start(); labelTimeElapsed.Text = _timeCounter.ToString(); }