title: Webbrowser flicker issue
body: <p>i have a windows form application with a web browser control , simple when i reload any page on the web browser control the header of my application flickers , it is so strange because i am using that code to reduce the flickering as much as possible :</p>
  
  <pre><code>    public Form1()
      {
          InitializeComponent();
          //SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);
          this.SetStyle(ControlStyles.UserPaint, true);
          this.SetStyle(ControlStyles.DoubleBuffer, true);
          this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
          this.SetStyle(ControlStyles.UserPaint, true);
          this.SetStyle(ControlStyles.SupportsTransparentBackColor, false);
          this.SetStyle(ControlStyles.Opaque, false);
          this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
          this.SetStyle(ControlStyles.ResizeRedraw, true);
      }
  
  
  
  
      int originalExStyle = -1;
      bool enableFormLevelDoubleBuffering = true;
  
      protected override CreateParams CreateParams
      {
          get
          {
              if (originalExStyle == -1)
                  originalExStyle = base.CreateParams.ExStyle;
  
              CreateParams cp = base.CreateParams;
              if (enableFormLevelDoubleBuffering)
                  cp.ExStyle |= 0x02000000;   // WS_EX_COMPOSITED
              else
                  cp.ExStyle = originalExStyle;
  
              return cp;
          }
      }
      private void TurnOffFormLevelDoubleBuffering()
      {
          enableFormLevelDoubleBuffering = false;
      }
  
      private void Form1_Load(object sender, EventArgs e)
      {
          TurnOffFormLevelDoubleBuffering();
      }
  </code></pre>
  
  <p>** It flickers only when IE8 is installed , but if IE9 is installed then it does not flicker.</p>