+ 1

How to invoke a method?

Hi! Can someone please explain what invoke means and how to invoke (sample). Thank you!

8th Mar 2018, 4:42 AM
Ge Ong
2 Answers
+ 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 :)
8th Mar 2018, 6:32 AM
Sylar
0
Thanks Sylar! :)
8th Mar 2018, 6:34 AM
Ge Ong