[.NET] 關閉動態(run time)產生的表單的問題

看板Visual_Basic作者 (Ahh..Fresh Meat!)時間16年前 (2009/06/18 19:34), 編輯推噓0(000)
留言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
文章代碼(AID): #1AEYPXi3 (Visual_Basic)
文章代碼(AID): #1AEYPXi3 (Visual_Basic)