人生苦短,可是为什么无聊的时日那么长呢!
如果60岁退休,我还有10年。
闲说少说吧,上代码。。。
(环境:win7 64位,VS 2010)
Public Class HelloUser
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
MessageBox.Show("Hello, " & txtName.Text & "! Welcom to VB", "Hello User Message", MessageBoxButtons.YesNo, MessageBoxIcon.Warning)
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
Me.Close()
End Sub
End Class