討論串[問題] 移動button
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者xprodiot (翔痴)時間20年前 (2005/08/12 13:22), 編輯資訊
0
0
0
內容預覽:
在適當的時機,給予Button新的位置座標. button1.Location = new System.Drawing.Point(newX, newY);. 如果需要取回目前的位置座標一樣可透過 Location 來取得座標值. oldX = button1.Location.X;. oldY

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者jalem (egf)時間20年前 (2005/08/12 11:44), 編輯資訊
0
0
0
內容預覽:
在一個Form中 有一個Button. 如果要視情況需要 而改變Button的位置. 有沒有方法可以做到這件事呢?. 感謝回答..... --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 59.115.231.233.
首頁
上一頁
1
下一頁
尾頁