Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Book - Simple Windows Csharp
Message
De
07/02/2003 00:28:33
 
 
À
06/02/2003 23:07:29
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00750411
Message ID:
00750458
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform