Thread.Sleep : Thread Sleep : Thread C# Examples


C# Examples » Thread » Thread Sleep »

 

Thread.Sleep









    
using  System.Threading;
using  System.Windows.Forms;
      
class  ShowFormAndSleep
{
          public  static  void  Main()
          {
                    Form  form  =  new  Form();
      
                    form.Show();
      
                    Thread.Sleep(2500);
      
                    form.Text  =  "My  First  Form";
      
                    Thread.Sleep(2500);
          }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Thread
» Thread Sleep