Hi!
I'am about to make my code a little bit modular. I had a form that handled user logins. A form has a lot of public members and method, so it was hard to find the ones Iwrote to use. Thus I looked for any opportunity to hide the members. I found a thread here, where it was written, that this kind of thinking is wrong, because I should use the most simple class that has the functionality I need. So I decided to write my own class, that handles the form for me. What I want is to initialize this class with some input parameters, and then the class handles everything.
I made the class, and also a form in the same namespace - it works. But i found that when typing in the editor the namespace both the form's class and my own class is accessible. For further simplicity and reusability I don't want the form's class to be accessible outside this namespace.
How can I make this? Or am I missing something in the way of thinking about OO?
Thanks for any answer or opinion!
Bence