delay(windows application form)
-
I want to know a question from you that i want to apply a timer between my code.ca you help me please. means that for example i have two lines of code let say. Method1(); Method2(); Now i wana to do that after 10 seconds the Method2 executes(not every 10 sec). Method1(); //timer of 10 sec// Method2(); Means that when Method1 then after 10 sec Method2 should be executed.. Please help me ,, i m very near to my destiny. with regards Ishtiaq Ahmed
-
I want to know a question from you that i want to apply a timer between my code.ca you help me please. means that for example i have two lines of code let say. Method1(); Method2(); Now i wana to do that after 10 seconds the Method2 executes(not every 10 sec). Method1(); //timer of 10 sec// Method2(); Means that when Method1 then after 10 sec Method2 should be executed.. Please help me ,, i m very near to my destiny. with regards Ishtiaq Ahmed
include the file System.Threading and use the statement Thread.Sleep(10000); //thats 10,000 milliseconds or 10 seconds - Nik Shardool Karnik Lead Software Engineer Compass Technologies, Inc. http://www.compasstec.com