[.NET] 關閉動態(run time)產生的表單的問題
看板Visual_Basic作者kgjojo (Ahh..Fresh Meat!)時間16年前 (2009/06/18 19:34)推噓0(0推 0噓 0→)留言0則, 0人參與討論串1/2 (看更多)
請輸入專案類型(網站專案或者應用程式專案):VB2008
大家好~~想請教一個問題,就是我在Form1按下一個button後,
會產生一個新表單(myForm),語法大約如下
Dim myForm As New Form
With myForm
中間設定一些新表單的屬性
End With
Dim myButton As New Button
With myButton
.Parent = myForm
其他屬性
End With
請教各位,該怎麼設計才能在按myButton的時候,關閉myForm呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.240.42.159
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章