Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It sounds like you are not creating distinct layers in your application. If your main form has 1,000 lines of code, you are probably putting business logic or even data access code in the form itself. You really need to separate out your layers (at least presentation layer, business logic layer, and data access layer). This will help you better follow good OO principles. In relation to VB.NET specifically, here are a few articles that might help:</p> <p><a href="http://www.asp.net/data-access/tutorials/creating-a-business-logic-layer-vb" rel="noreferrer">http://www.asp.net/data-access/tutorials/creating-a-business-logic-layer-vb</a></p> <p><a href="http://www.vbdotnetheaven.com/UploadFile/akrao/PracticesofCodingInVB11162005001109AM/PracticesofCodingInVB.aspx" rel="noreferrer">http://www.vbdotnetheaven.com/UploadFile/akrao/PracticesofCodingInVB11162005001109AM/PracticesofCodingInVB.aspx</a></p> <p><a href="http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx" rel="noreferrer">http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx</a></p> <p>These will help you with layers and how to implement them in VB.NET. The ASP.NET article will work fine because the actual ASP.NET is the Presentation Layer, which you would replace with Winforms.</p> <p>If you want to watch videos on OO design principles, here is a good site to do so (it isn't free but it is very cheap):</p> <p><a href="http://www.learnvisualstudio.net/content/series/Visual_Basic_201_Object_Oriented_Programming_and_Design_Patterns.aspx" rel="noreferrer">http://www.learnvisualstudio.net/content/series/Visual_Basic_201_Object_Oriented_Programming_and_Design_Patterns.aspx</a></p> <p>A great book for helping you understand OO design is <a href="http://headfirstlabs.com/books/hfooad/" rel="noreferrer">Head First Object-Oriented Analysis &amp; Design</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload