VB.NET學習筆記

VB2012經常使用的前綴

控件 前綴
Button(按鈕) btn
ComboBox(組合框) cbo
CheckBox(複選框) chk
Label(標籤) lbl
ListBox(列表框) lst
MainMenu(主菜單) mnu
RadioButton(單選按鈕) rdb
PictureBox(圖形框) pic
TextBox(文本框) txt

基本內容

  • MessageBox.Show方法用於顯示一個消息框,它能夠接受各類參數字符串

  • 長字符串可使用宏字符(&)來實現io

  • 代碼拆分多行可使用下劃線字符(_)table

相關文章
相關標籤/搜索