use project variables throughout solution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

currently i have a solution with 8 projects.

In the Client project there is a form called ListSer i would like to use in
my Rpts project. Client is the startup project, so can't reference to it.
Is there a way to use the ListSer form in my Rpts project?

Is there a way to create global variables for the Solution? would that work?
 
Typically you want to use a Public Shared (VB.NET) or public static (C#)
property/method.

The class is instaniated at program start up and always exists. As
long as one project contained a reference to the class with these
properties/methods, you could see them like a global variable
in Visual Basic 6.0.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp
 
Back
Top