for (i=1;i<10;i++) { int a=mycode(); // mycode is my function name, it will return the delay time System.Threading.Thread.Sleep(Delay_Time_cell); Application.DoEvents(); } int mycode() { ..... ..... ..... return; }
Thread.Sleep
for
for(int idelay=0; iDelay < 10000; iDelay++);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)