Esempio n. 1
0
        protected virtual void OnRaiseCustomEvent( woijiluEventArgs e )
        {
            EventHandler<woijiluEventArgs> handler = RaiseCustomEvent;

            if (handler != null) {
                e.Message += String.Format( " at {0}", DateTime.Now.ToString() );
                handler( this, e );
            }
        }
Esempio n. 2
0
        protected virtual void OnRaiseCustomEvent(woijiluEventArgs e)
        {
            EventHandler <woijiluEventArgs> handler = RaiseCustomEvent;

            if (handler != null)
            {
                e.Message += String.Format(" at {0}", DateTime.Now.ToString());
                handler(this, e);
            }
        }
Esempio n. 3
0
 void HandleCustomEvent(object sender, woijiluEventArgs e)
 {
     Console.WriteLine(id + " received this message: {0}", e.Message);
 }
Esempio n. 4
0
 void HandleCustomEvent( object sender, woijiluEventArgs e )
 {
     Console.WriteLine( id + " received this message: {0}", e.Message );
 }