
Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
Thank you
Does this also apply to brushes from a named color as in:
graphics.fillPoloygon(Brushes.Black, .....
Adam
> * =?Utf-8?B?YWRhbUB0d3Yub3Jn?= <adamtwvorg@discussions.microsoft.com> scripsit:
> > If i create a Brush object I believe it is good practice to explicitly
[quoted text clipped - 4 lines]
>
> That's correct.
Herfried K. Wagner [MVP] - 03 Sep 2004 13:16 GMT
* =?Utf-8?B?YWRhbUB0d3Yub3Jn?= <adamtwvorg@discussions.microsoft.com> scripsit:
> Does this also apply to brushes from a named color as in:
>
> graphics.fillPoloygon(Brushes.Black, .....
Yes. You don't need to/should not dispose them.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/