title: Error with Simultaneous use of Graphics Object in C#?
body: <p>I am creating a game with two objects on the same form which need to be redrawn separately every few seconds (for animation).  I have one on a separate thread.  Every now and then they produce an error saying that the graphics object is already in use.  The error appears less often because I constructed 2 graphics objects on the same form:</p>
  
  <pre><code>Graphics sprite1 = this.CreateGraphics();
  Graphics sprite2 = this.CreateGraphics();
  </code></pre>
  
  <p>I then pass these objects to the appropriate method.
  I am scared that this is possibly a very bad practice. Any help resolving this issue would be appreciated.  </p>