Timer MyTimer = new Timer(); MyTimer_Tick(object sender, EventArgs e) { MyTimer.Enabled = false; DoMyAction(); } void DoMyAction() { //do you actions here MyTimer.Enabled = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)