Marcia,
If it's in a different project than MainForm.cs, it will be compiled to a different assembly. In that case, you need to set a reference to it.
>Hi All.
>
>I am building a winforms apoplication using C# and the Strataframe framework.
>
>When I try to rebuild my solution I am getting this error:
>
>Error 1 The type or namespace name 'Advisors' could not be found (are you missing a using directive or an assembly reference?) F:\Trinity_new\Trinity\Forms\MainForm.cs 63 37 Trinity
>
>
>Advisors is a maintenance form in my solution and I can see it in the solution explorer.
>
>How do I resolve this error?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer