private System.Timers.Timer aTimer = new System.Timers.Timer(60) { AutoReset = false }; protected void Timer2_Tick(object sender, EventArgs e) { aTimer = new System.Timers.Timer(60); aTimer.Interval = 60; double counter = aTimer.Interval; counter++; if (counter >= 60) { lib_bt.Enabled = false; MessageBox.Show("Time Up!"); }}