主题:请教高手
舞雪
[专家分:50] 发布于 2005-06-01 22:19:00
请教一下大家,Dialogresult属性怎么用啊?[em2]
回复列表 (共1个回复)
沙发
caicai1234 [专家分:10] 发布于 2005-06-03 20:42:00
Private Sub InitializeMyButton()
' Create and initialize a Button.
Dim button1 As New Button()
' Set the button to return a value of OK when clicked.
button1.DialogResult = DialogResult.OK
' Add the button to the form.
Controls.Add(button1)
End Sub 'InitializeMyButton
我来回复