반응형
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If MsgBox("choice?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
Label1.Text = "yes"
Else
Label1.Text = "no"
End If
End Sub
End Class
반응형