T
TheSilverHammer
Maybe I am not using namespaces correctly, but in general, my project has one
namespace. The problem is that the IDE keeps fighting me with them, as in
it tries to 'help' by adding a bunch of namespace qualifies to things it
should not.
My big issue right now is databinding. My project namespace is
"AutoTerm", and I have a class AutoEmailMessage and the keeps messing up the
databinding source such:
this.autoEmailMessageBindingSource.DataSource =
typeof(AutoTerm.AutoEmailMessage);
it should be:
this.autoEmailMessageBindingSource.DataSource = typeof(AutoEmailMessage);
Because the designer.cs file for the form is in the same namespace. Any
time I change the form, "AutoTerm." is being added back in which messes
things up. I can't figure out how to tell it to stop doing that or how I am
supposed to correct the problem.
Other issues happen when I create sub folders, and design a new form, it
always prepends the form namespace with "AutoTerm.Subfoldername.Whatever" and
I have to edit those as well.
Is there any way to tell it to just assume it is always in the default
namespace?
namespace. The problem is that the IDE keeps fighting me with them, as in
it tries to 'help' by adding a bunch of namespace qualifies to things it
should not.
My big issue right now is databinding. My project namespace is
"AutoTerm", and I have a class AutoEmailMessage and the keeps messing up the
databinding source such:
this.autoEmailMessageBindingSource.DataSource =
typeof(AutoTerm.AutoEmailMessage);
it should be:
this.autoEmailMessageBindingSource.DataSource = typeof(AutoEmailMessage);
Because the designer.cs file for the form is in the same namespace. Any
time I change the form, "AutoTerm." is being added back in which messes
things up. I can't figure out how to tell it to stop doing that or how I am
supposed to correct the problem.
Other issues happen when I create sub folders, and design a new form, it
always prepends the form namespace with "AutoTerm.Subfoldername.Whatever" and
I have to edit those as well.
Is there any way to tell it to just assume it is always in the default
namespace?