예제 #1
0
 protected static void OnProtectedStaticEvent(EventArgsTest e)
 {
     if (ProtectedStaticEvent != null)
     {
         ProtectedStaticEvent(null, e);
     }
 }
예제 #2
0
 public static void OnPublicStaticEvent(EventArgsTest e)
 {
     if (PublicStaticEvent != null)
     {
         PublicStaticEvent(null, e);
     }
 }
예제 #3
0
 public void OnProtectedEvent(EventArgsTest e)
 {
     if (ProtectedEvent != null)
     {
         ProtectedEvent(this, e);
     }
 }
예제 #4
0
 public void OnPublicEvent(EventArgsTest e)
 {
     if (PublicEvent != null)
     {
         PublicEvent(this, e);
     }
 }
예제 #5
0
 public static void StaticHandler(object sender, EventArgsTest e)
 {
     s_value = e.value;
 }
예제 #6
0
 public void GenericHandler(object sender, EventArgsTest e)
 {
     value = e.value;
 }