private void main_Load(object sender, EventArgs e) { timer1.Interval = 10000; // 1 minute in milliseconds timer1.Enabled = true; // start timer }private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; // stop timer lib_bt.Enabled = false; }