作者kgjojo (Ahh..Fresh Meat!)
看板Visual_Basic
标题[.NET] 关闭动态(run time)产生的表单的问题
时间Thu Jun 18 19:34:56 2009
请输入专案类型(网站专案或者应用程式专案):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