title: Why does text drawn on a panel disappear?
body: <p>I'm trying to draw a text on a panel(The panel has a background picture).</p>
  
  <p>It works brilliant,but when I minimize and then maximize the application the text is gone.</p>
  
  <p>My code:</p>
  
  <pre><code>using (Graphics gfx = Panel1.CreateGraphics())
  {
      gfx.DrawString("a", new Font("Tahoma", 5), Brushes.White, new PointF(1, 1));
  }
  </code></pre>
  
  <p>How do I keep it static so it doesn't get lost?</p>