is there a way to find out which on invoked the method from within the method?
for example:
i have 3 event handlers
Expand|Select|Wrap|Line Numbers
- Grid1.MouseMove += new EventHandler(bla)
- Grid1.MouseDown += new EventHandler(bla)
- Grid1.MouseUp += new EventHandler(bla)
- private void bla(object sender,EventArgs e)
- {
- // what should I write here to find out if it was a mouse move , a mouse down
- // or a mouse up event.
- }