this.tmrSQLConnection.Enabled = true; this.tmrSQLConnection.Start(); lResult = MyTestValues.TestServer(this.txtSQLUserID.Text.Trim(),this.txtSQLPassword.Text.Trim(),this.txtServerName.Text.Trim()); this.tmrSQLConnection.Stop(); this.tmrSQLConnection.Enabled = false; private void tmrSQLConnection_Tick(object sender, System.EventArgs e) { int TimeValue = 0; TimeValue = (this.tmrSQLConnection.Interval/1000); this.lblStatus.Text = "Time Remaining (" + TimeValue.ToString() + ")"; this.lblStatus.Update(); }