Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Book - Simple Windows Csharp
Message
From
06/02/2003 23:07:29
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Book - Simple Windows Csharp
Miscellaneous
Thread ID:
00750411
Message ID:
00750411
Views:
60
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


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.
Next
Reply
Map
View

Click here to load this message in the networking platform