title: Automatically hide one form in C# after many second and show another form
body: <p>I need to hide current form after many second and then show any form</p>
  
  <p>I'm writing this code but it doesn't work.</p>
  
  <pre><code>namespace tempprj
  {
      public partial class ProfileFrm : Telerik.WinControls.UI.RadForm
      {
         public ProfileFrm()
         {
             InitializeComponent();
         }
  
         private void ProfileFrm_Load(object sender, EventArgs e)
         {
              Frm2 child = new Frm2();
              Thread.Sleep(3000);
              this.Hide();
              child.ShowDialog();
         }
     }
  </code></pre>
  
  <p>}</p>