I have made a windows form application using Visual C# 2008. The form conntains a panel where im drawing different graphics objects like arcs, lines etc. But the problem is that when the window is restored after being minimized, the panel is refreshed i.e. every figure is erased. Can anyone suggest any solution please.