为什么按钮事件不响应
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim path As String = "c:\temp\MyTest.txt"
If File.Exists(path) Then
Label1.Text = "此文件已经存在!"
End If
End Sub
我已经事先把C盘放了temp文件夹和mytest.txt文件了。可是为什么BUTTON事件没响应呢?