[b][red]This message was edited by wvbotha at 2006-5-3 11:32:28[/red][/b][hr]
This Form is MDI Form.i wont to add simple msgbox before exit from the program, it ll ask "Are You Sure You Wont to Quit?"i did that in form disposed event as follows. but even i click "no" program exit.can somebody help me?????????? But This work in vb6.0 with the unload event.
Private Sub Main_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Disposed
Dim aa As String
aa = MsgBox("Are You Sure You Wont to Quit?",MsgBoxStyle.YesNo)
If aa = vbYes Then