Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
(C#) Raise an Event
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01016081
Message ID:
01017229
Vues:
24
>That's ok with me, I have other ways to get the results I need. Interesting that I can create and fire my own events, but I can't fire someone else's. Maybe I shouldn't be trying to do that anyway.

yes microsoft has done something on their internal events that makes it difficult to fire them directly from code. I've always been meaning to look on what they are doing to handle this, but never got around.

You may also be able to do this using Reflection which gets around attributes and other tricks many times.

Personally I would think about using the single handler approach which makes 'firing' events trivial by just calling a method.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform