|
關注:1
2013-05-23 12:21
求翻譯:我們使用選項卡的時候,感覺是不同的卡片之間在切換,但實際上程序是把所有的控件都放在四個PictureBox當中,當我們切換選項卡的時候,程序把當前的PictureBox移動到不可見的范圍,把選定的PictureBox移動到當前卡片上,看起來就像是換了一張選項卡一樣。所以我們編輯的時候,要把要編輯的PictureBox移動到當前位置上。通過窗體自帶的代碼,我們可以知道這一功能是靠改變PictureBox的left屬性實現的,當前位置的left屬性值為210,而移動后的值為-20000。我們在第一個PictureBox上添加一個frame控件,然后向其中添加Label控件和TextBox控件。窗體布局如圖:是什么意思?![]() ![]() 我們使用選項卡的時候,感覺是不同的卡片之間在切換,但實際上程序是把所有的控件都放在四個PictureBox當中,當我們切換選項卡的時候,程序把當前的PictureBox移動到不可見的范圍,把選定的PictureBox移動到當前卡片上,看起來就像是換了一張選項卡一樣。所以我們編輯的時候,要把要編輯的PictureBox移動到當前位置上。通過窗體自帶的代碼,我們可以知道這一功能是靠改變PictureBox的left屬性實現的,當前位置的left屬性值為210,而移動后的值為-20000。我們在第一個PictureBox上添加一個frame控件,然后向其中添加Label控件和TextBox控件。窗體布局如圖:
問題補充: |
|
2013-05-23 12:21:38
正在翻譯,請等待...
|
|
2013-05-23 12:23:18
We use the tab of the time, the feeling is different between cards in switching, but in fact is that all the controls are placed in four PictureBox, when we switch between tabs, and the program of the current PictureBox moved to the area is not visible, the selected PictureBox moved to the current c
|
|
2013-05-23 12:24:58
|
|
2013-05-23 12:26:38
When we use tabs, is switching between different cards, but the program was actually are placed in control of all four of the PictureBox when we when switching tabs, the program moved to the current PictureBox range that is not visible, move to the selected PictureBox on your current card, looks lik
|
|
2013-05-23 12:28:18
|
湖北省互聯網違法和不良信息舉報平臺 | 網上有害信息舉報專區 | 電信詐騙舉報專區 | 涉歷史虛無主義有害信息舉報專區 | 涉企侵權舉報專區