I\'m trying to draw a text on a panel(The panel has a background picture).
It works brilliant,but when I minimize and then maximize the application the text is gone.
Just add a handler for the Paint event:
private void panel1_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawString("a", new Font("Tahoma", 5), Brushes.White, new PointF(1, 1)); }