Tutorial 4
-
Upload
julian-murphy -
Category
Documents
-
view
14 -
download
0
description
Transcript of 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 Sentence-style capitalization. Capitalize the
first letter of each word instead of a blank space
Continue
Suggested Prefixes for ControlsControl Prefix Form Frm
Button btn ComboBox cbo CheckBox chk
Label lbl ListBox lst
MainMenu mnu RadioButton rdb PictureBox pic
TextBox txt
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.