private void setup(string someData)
{
Object.assignHandler((sender) => evHandler(sender,someData));
}
public void evHandler(Object sender, string someData)
{
// need someData here!!!
}
More Related Contents:
- How to remove all event handlers from an event
- Capture console exit C#
- How do I monitor clipboard changes in C#?
- Difference between events and delegates and its respective applications [closed]
- Checking for null before event dispatching… thread safe?
- Is there a downside to adding an anonymous empty delegate on event declaration?
- Listen to changes of dependency property
- Difference between wiring events with and without “new”
- AddEventHandler using reflection
- Using lambda expressions for event handlers
- I need a event to detect Internet connect/disconnect
- C# how to loop while mouse button is held down
- += new EventHandler(Method) vs += Method [duplicate]
- Cleanest Way to Invoke Cross-Thread Events
- Adding and Removing Anonymous Event Handler
- Blue screen when using Ping
- Passing data between WinForms forms [duplicate]
- Event handlers not thread safe? [duplicate]
- How to correctly unregister an event handler
- Parent Control Mouse Enter/Leave Events With Child Controls
- Removing event handlers
- Paste Event in a WPF TextBox
- += operator with Events
- Why events can’t be used in the same way in derived classes as in the base class in C#?
- In a C# event handler, why must the “sender” parameter be an object?
- How do I raise an event in a usercontrol and catch it in mainpage?
- Post Publish Events
- Detect when a form has been closed c#
- array of events in C#?
- C# event debounce