please help
-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub out of the above mentioned i think Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub is the handler and Handles MyBase.Load is an event Am i right?
Soniagupta1@yahoo.co.in Yahoo Messenger Id = soniagupta1
-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub out of the above mentioned i think Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub is the handler and Handles MyBase.Load is an event Am i right?
Soniagupta1@yahoo.co.in Yahoo Messenger Id = soniagupta1
Yes, I think you are right.
Parwej Ahamad g.parwez@gmail.com
-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub out of the above mentioned i think Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub is the handler and Handles MyBase.Load is an event Am i right?
Soniagupta1@yahoo.co.in Yahoo Messenger Id = soniagupta1
handles mybase.load is indeed the event this sub handles the event passes 2 parameters to the sub therefor you need the
Sonia Gupta wrote:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub
so you could call it the handler
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistaks.
-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub out of the above mentioned i think Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub is the handler and Handles MyBase.Load is an event Am i right?
Soniagupta1@yahoo.co.in Yahoo Messenger Id = soniagupta1
1 - buy a book, please 2 - learn how to format your questons, 'please help' is just painful.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
1 - buy a book, please 2 - learn how to format your questons, 'please help' is just painful.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
event is an event and handler is a routine or procedure which is automatically called when that event occurs. Handles MyBase.Load means we specify a handler for the Load Event Addhandler does the same thing both register a procedure with an event so both are equalent
Salman Sheikh