battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeSearchRegisterLog in
Share
 

 vb.net form closing event made simple

Go down 
AuthorMessage
Admin
Admin
Admin
Admin

Posts : 132
Join date : 2011-08-01

vb.net form closing event made simple Empty
PostSubject: vb.net form closing event made simple   vb.net form closing event made simple EmptyMon Nov 21, 2011 11:25 pm

in the code :
Code:
Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
        MsgBox("form closed")
    End Sub 'Form1_Closing

replace msgbox("form closed") with the code to be run when the form closes.
do not put infinite while loops which will jam up the program

_________________
kurayami no kagi admin
Back to top Go down
http://yotamarker.forumotion.com
 
vb.net form closing event made simple
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: