50 likes | 119 Views
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
E N D
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 • Sentence-style capitalization. Capitalize the first letter of each word instead of a blank space Continue
Label and Textbox Controls • Labels: Displaying information or output. • Textbox: Read in input data Continue
What Happens After Debug • After a successful Debug run, VB .Net creates an executable (exe) file in the Bin folder of the Project.