Tutorial 4
-
Upload
julian-murphy -
Category
Documents
-
view
14 -
download
0
description
Transcript of Tutorial 4
![Page 1: Tutorial 4](https://reader035.fdocuments.in/reader035/viewer/2022071718/56812f90550346895d950d99/html5/thumbnails/1.jpg)
Tutorial 4
Designing the Inventory Application.
![Page 2: Tutorial 4](https://reader035.fdocuments.in/reader035/viewer/2022071718/56812f90550346895d950d99/html5/thumbnails/2.jpg)
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
![Page 3: Tutorial 4](https://reader035.fdocuments.in/reader035/viewer/2022071718/56812f90550346895d950d99/html5/thumbnails/3.jpg)
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
![Page 4: Tutorial 4](https://reader035.fdocuments.in/reader035/viewer/2022071718/56812f90550346895d950d99/html5/thumbnails/4.jpg)
Label and Textbox Controls
Labels: Displaying information or output. Textbox: Read in input data
Continue
![Page 5: Tutorial 4](https://reader035.fdocuments.in/reader035/viewer/2022071718/56812f90550346895d950d99/html5/thumbnails/5.jpg)
What Happens After Debug
After a successful Debug run, VB .Net creates an executable (exe) file in the Bin folder of the Project.