If you write EventGetSum()that immediately calls the EventGetSum method.
If you write new EventHandler(EventGetSum), which creates a delegate, which (in turn) calls EventGetSum when it is called.
A call Control.Invokeinvokes this delegate from the user interface thread responsible for the control. This is necessary because you should not access user interface elements from arbitrary threads.
source
share