Hello everyone,
My real name is Jon Edwards and I'm a senior developer at a company that is adopting C# and .Net as the new development language and platform.
I've been hacking around with C# for many months now and now that the prototyping (ie "working" code) is done I need to come back and refactor or more likely completely re-write everything.
My question has to do with best practices involving solutions and projects. The application I will develop will have a primary screen, a number of user controls and at least two types of (very complicated) child windows. There will also be helper classes, classes to handle image resources, string translations and a remote-access "proxy" classes to talk to a legacy platform.
What should I be thinking about when deciding what warrants its own project? Is it considered acceptable to keep a 5 to 10 form classes in the same project? What about non-form classes like my image manager, etc?
And a quick follow-up question: what is the proper technique to get a form to invoke a form from another project? The FAQ mentions sharing - do I simply share the .cs between projects in my solution?
Jon
My real name is Jon Edwards and I'm a senior developer at a company that is adopting C# and .Net as the new development language and platform.
I've been hacking around with C# for many months now and now that the prototyping (ie "working" code) is done I need to come back and refactor or more likely completely re-write everything.
My question has to do with best practices involving solutions and projects. The application I will develop will have a primary screen, a number of user controls and at least two types of (very complicated) child windows. There will also be helper classes, classes to handle image resources, string translations and a remote-access "proxy" classes to talk to a legacy platform.
What should I be thinking about when deciding what warrants its own project? Is it considered acceptable to keep a 5 to 10 form classes in the same project? What about non-form classes like my image manager, etc?
And a quick follow-up question: what is the proper technique to get a form to invoke a form from another project? The FAQ mentions sharing - do I simply share the .cs between projects in my solution?
Jon