Пример #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;
 }