Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Book - Simple Windows Csharp
Message
De
07/02/2003 08:02:01
 
 
À
07/02/2003 00:28:33
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00750411
Message ID:
00750514
Vues:
18
>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.
>

re one : CustomerOrdersForm.cs appears in the solution explorer - i.e. I *think* they are in the same project. Is there something else I should be looking for regarding that?

re two : MainAppForm has the same using statements as in Kevin's

both of the forms begin with

namespace HW.NetBook.Samples

I guess this is what I find confusing re namespaces. Are they like classlibs? It seems classes defined under the namespace statement become part of that namespace. They are then available in other forms etc. if you begin with a using statement referencing that namespace. But this would make it seem that both of these forms are defining classes which are part of the HW.NetBook.Samples namespace

I think there is a conceptual thing here re namespaces that is preventing me from spotting what I am boneheadedly doing wrong in the code (amazing how the critical debugging eye fails when you really don't know what you are looking for . I feel like I am proofreading Ukranian free-verse < g > )


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform