What is "sender"?

Hello. I'm working on a project and I would need some quick help.
I have a button and from how I understood it, the object "sender" can be used in various ways.
My question is: what is "System::Object^ sender" and how can it be used? Any examples?

Thank you in advance!
it's the thing that actually sends the event to be handled elsewhere.

http://msdn.microsoft.com/en-us/library/aa645739(v=vs.71).aspx

I take it you know this is C++/CLI stuff?
Yes I do. I am working in C++ and creating a game where you have to click a pictureBox and I want to use the sender to match the click with something else.
sorry, i should have said:
"are you using C++ OR C++/CLI"?
Oh sorry. Yeah, C++/CLI
Topic archived. No new replies allowed.