+ 1
How to invoke a method?
Hi! Can someone please explain what invoke means and how to invoke (sample). Thank you!
2 Respostas
+ 1
Invoke term is same as calling but call if something occur in a specific time. Invoke is used in event handling, in which you assign some functions to an event.
Eg. MouseClick event is an event , and you assign showCursor function to that event. Like this:
MouseClick += showCursor
And when User click a mouse, then MouseClick event is raised and then invoke showCursor function immediately.
That's simple and poor explanation. For good information, search on google.
Hope it helps :)
0
Thanks Sylar! :)