1 / 5

Tutorial 4

Tutorial 4. Designing the Inventory Application. Naming Controls. Instead of using generic names created by VB .Net, use unique and informative names E.g. TextBox1 vs. txtSalesAmount The txt prefix indicates it is a TextBox control “SalesAmount” tells it is something about sales amount

Download Presentation

Tutorial 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial 4 Designing the Inventory Application.

  2. Naming Controls • Instead of using generic names created by VB .Net, use unique and informative names • E.g. TextBox1 vs. txtSalesAmount • The txt prefix indicates it is a TextBox control • “SalesAmount” tells it is something about sales amount • Sentence-style capitalization. Capitalize the first letter of each word instead of a blank space Continue 

  3. Suggested Prefixes for Controls

  4. Label and Textbox Controls • Labels: Displaying information or output. • Textbox: Read in input data Continue 

  5. What Happens After Debug • After a successful Debug run, VB .Net creates an executable (exe) file in the Bin folder of the Project.

More Related