Esempio n. 1
0
        public static void RaiseEvent(string eventID, object sender)
        {
            // Create event info
            EventData eventData = EventData.Alloate();

            eventData.EventID = eventID;
            eventData.Sender  = sender;

            // Send it
            RaiseEvent(eventData);

            EventData.Release(eventData);
        }