Global is kind of a dirty word in object oriented programming.
You should use a singleton pattern if you want the simplest solution. If
your application is likely to be large or complex I strongly recommend CAB
and the creation of a service that can be manages using the dependency
injection system it provides.
The dirty method, if you're really _really_ lazy and wish to be ridiculed by
all who know you, is a static class with static fields.
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.