IDisposable NOT implemented by System.Drawing.Brush

  • Thread starter Thread starter Chris Theorin
  • Start date Start date
Correct. The Brush class does not wrap any GDI resources. It only holds
Color reference. There is nothing to dispose of. Consequently Dispose method
does precisely nothing. I think it is included so that in the future
existing code does not break.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top