Hi,
You can create a static member variable and property in a class and make it
public, it will be accessible from all places using className.PropertyName
Now, IIRC a Pen consume unmanaged resources, that you should not keep a hold
on unless you really need it. IMO it would be better if you create it only
when needed and destroy it right after.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"AMP" <am******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hello,
I want to use a ready made class (ie a System.Drawing .Pen) and make it
available to my entire application, but I'm getting stupid.
How do I do this? Or point me in the right direction.
Thanks