I want to after clicking on button2,after that if i click on button1 then msg is not displayed
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("sonia")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
RemoveHandler Button2.Click, AddressOf MYEVENTHandler
End Sub
Private Sub MYEVENTHandler(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
End Class