I am working on a project and am learning VB.NET at the same time. I decided to do a simple accounting system.
The first thing I did was to create a form that would load clients. Double click on a client and you could edit the client. Basic information for the client like name address etc. A client might be a particluar type eg company or private - difference would be a tax number.
I also have a form that shows all the accounts in the chart of accounts.
Each form has code behind it but I have completely separated all the code and moved it to a helper class. So all thats in the form code is the event handlers and a function call to the helper class.
So two classes for each form. The client is completely self contained. All I require out of this is a client number. I used LINQ to obtain all the clients.
MY QUESTIONS: I have been reading about patterns. Given I select a client and an account for a journal... is there a pattern that I might follow?
Is creating a helper class for each form a good way to go given that there is some reused code?