Winform知識點

來源:互聯網
上載者:User

標籤:

Winform表單常用的控制項
1、按鈕 Button 首碼:btn
2、文字框 TextBox 首碼:txt
3、選項按鈕 RadioButton 首碼:rdo
4、複選按鈕 CheckBox 首碼:ckb
5、菜單 MenuStrip 首碼:menu或msp
6、面板 Panel 首碼:pnl
7、下拉式清單方塊ComboBox 首碼:cbx
8、群組方塊 GroupBox 首碼:gbx
9、標籤 Label 首碼:lbl
10、選擇項列表ListBox 首碼:lbx
11、圖片框 PictureBox 首碼:pbx
12、選項卡 TabControl 首碼:tcl
13、富文字框RichTextBox 首碼:rtxt
14、工具列 ToolStrip 首碼:tool或tsp
15、樹 TreeView 首碼:tvw
16、狀態列 StatusStrip 首碼:status或ssp
17、時鐘控制項Timer 首碼:timer

18、ListView 首碼:lvw
19、DataGridView 首碼:dgv
20、表單命名首碼:Frm

常用快速鍵
1、屬性視窗 F4
2、運行程式不調試 ctrl + F5
3、運行程式調試 F5
4、由表單跳轉到查看代碼 F7
5、由查看代碼跳轉到表單 shift + F7
6、全螢幕顯示 shift + alt + Enter
7、匹配{} Ctrl + }
8、將匹配的{}和()之間的資料選中 Shift + Ctrl + }
9、切換到解決方案管理器 Ctrl + Alt + L
10、切換到工具箱 Ctrl + Alt + X
11、收縮所有節點 ctrl + m,o
12、開啟所有節點 ctrl + m,l
13、刪除游標所在的行 ctrl + l 或 shift + del
14、顯示括弧裡的類型 Ctrl + Shift + 空格
15、選中注釋的行資訊 ctrl + k,c
16、取消注釋的行資訊 ctrl + k,u
17、內容提示 ctrl + j

Winform知識點

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.