I have an About box where I've successfully implemented a custom paint event.
The structure of it is simple:
protected void PaintClient(Object sender, PaintEventArgs e)
{
// Assorted graphics code goes here
}
Following examples I've seen elsewhere I added the following as the last line:
e.Dispose();
But this caused the program to crash. Why is that? Is it not necessary to
dispose of this object after using it to draw assorted graphics?
--
Robert W.
Vancouver, BC
www.mwtech.com