Hi there,
Here's the little I know:
You can change your project's default namespace in Project->Properties->Application(tab)
Each form needs its own using statements. A form is just another class. Each form does not need its own namespace. When you add a new form to your project, you'll see that as a default it gets its own using statements above the namespace and all your code is within your project's default namespace.
c# Code:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace MyProgram { public partial class Form1 : Form { public Form1() { InitializeComponent(); } } }
I also think that this is a helpful definition of namespace: http://en.wikipedia.org/wiki/Namespa...puter_science)
I hope that little helps.![]()




Reply With Quote