Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Book - Simple Windows Csharp
Message
From
07/02/2003 00:28:33
 
 
To
06/02/2003 23:07:29
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00750411
Message ID:
00750458
Views:
25
Charles,

I haven't downloaded the sample, so I can't see exactly what you have, but I'd say there's two things that might be missing.

One, in the solution, you might not have a reference to the project that contains CustomerOrdersForm and

Two, in MainAppForm, it's possible that the "using NamespaceContainingTheForm" statement is missing.

I guess maybe I should (might) get around to downloading the sample ....

~~Bonnie


>Having a problem in CustomerOrdersForm not being recognized when it is called in the MainAppForm. Getting the error Type or Namespace CustomerOrdersForm is not found. I definitely have a CustomerOrdersForm.cs showing in the solutions explorer and I have compared the code in it with Kevin's sample code using CompareIT and can't find a difference.
>
>Is there something else I have to do to hook it up? I'm still a little fuzzy on how namespaces work, but this code and the code in the CustomerOrdersForm.cs are in HW.NetBook.Samples
>
>
>(code in MainAppForm that is throwing the error)
>
>
>private void CustomerOrdersBar_Click(object sender, System.EventArgs e)
>		{
>			/// Instantiate the form, set its MdiParent and show the form
>			CustomerOrdersForm OrdersForm = new CustomerOrdersForm();
>			OrdersForm.MdiParent = this;
>			OrdersForm.Show();
>		}
>
>
>TIA
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform