I\'ve created a custom control, overridden it\'s paint event. When I try to dispose of the graphics I create they just disappear from the screen. Don\'t I need to use dispos
You should be disposing any controls within your custom control that implement the IDisposable
interface. Ensure that your custom control implements this interface as well (add an implementation of the Dispose()
method) so that you dispose of the controls within it properly (calling their Dispose()
methods).