Stupic Class Module question

  • Thread starter Thread starter Old Man
  • Start date Start date
O

Old Man

I wanted to "modularlize" a project - and moved a couple of common routines
into a new class file.

after that the routines were not there.
i tried to:
1) put a uses in the form file
2) rename the class itself.

I made sure that tne namespaces matched.

i finally had to move the class back into the form file and voila, it
showed up again.

why would it drop out of site just because it was in a new file?
 
Old Man said:
I wanted to "modularlize" a project - and moved a couple of common
routines into a new class file.

after that the routines were not there.
i tried to:
1) put a uses in the form file
2) rename the class itself.

I made sure that tne namespaces matched.

i finally had to move the class back into the form file and voila, it
showed up again.

why would it drop out of site just because it was in a new file?

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
 
Back
Top