title: C#, double buffer in WinForms?
body: <pre><code>        private void button3_Click(object sender, EventArgs e)
      {
  
          this.DoubleBuffered = true;
  
              for (int i = 0; i &lt; 350; i++)
              {
                  using (Graphics g = this.CreateGraphics() )
                  {
                      g.Clear(Color.CadetBlue);
                      g.DrawImage(Properties.Resources._256, 100, 100, i-150, i-150);
                  }
              }
      }
  </code></pre>
  
  <p>Yet thought I have the DoubleBuffered set to true, the image still flickers. Any ideas what am I doing wrong?
  Thanks!</p>