title: Win form slow to draw controls when shifting tabpages
body: <p>I use winform C#, where I am trying to serializing data to XML when a tabpage has been choosen.
  When I shift to a tabpage like tabPageShowHobby, all the controls (textbox etc) on the winforms has not yet been drawn (slow drawing)</p>
  
  <p>I guess it is the serializing of data to XML that slows Down of Drawing the controls on the form. How can this problem be solved ? </p>
  
  <pre><code> private void tabControlMyHobbies_SelectedIndexChanged(object sender, EventArgs e)
   {
      if (tabControlShowMyHobbies.SelectedTab == tabPageShowHobby)
          writeDataToXml();
      else
      if (tabControlShowMyFood.SelectedTab == tabPageFood)
      {
          do something else...
      }
  }
  </code></pre>