I've got a bit of a problem acceessing a class that I am using as a 'global'
placeholder of numerous static variables I'm using across the application.
Basically I need a place to store a reference to my MDIframe so I can access
it from anywhere.
I have a class called AppObj in a framework assembly. I inherited it in my
main application assembly and called it EPMApp. In my mainform (which is a
mdiframe) I am setting the EPMApp.MDIFrame to the form.
In a separate assembly where I want to open a new MDI child I am trying to
access the AppNameApp.MDIFrame but I cannot find a way to call it. I think
it is because it is in the main assembly. I keep getting the "The type or
namespace name 'EPMApp' could not be found (are you missing a using
directive or an assembly reference?)" compiler error.
I know I'm just doing something silly wrong but I'm not sure what it is. I
was able to move the inherited object into another assembly and then get
things to compile but there must be something wrong if I cannot reference
objects in my main assemble/exe.
could someone please fill in what I'm missing.
thanks
jack