public void OnClick(ClickEventArgs args)
 {
     EventSubscription[] Subscriptions = SubscriptionsManager.GetSubscriptions(typeof(IApplicationEventsSink), "OnClick");
     foreach (EventSubscription sub in Subscriptions)
     {
         sub.DispatchEvent(args);
     }
 }
Exemple #2
0
 //[SecurityPermission(SecurityAction.LinkDemand)]
 public void OnClick(ClickEventArgs args)
 {
     Console.WriteLine(args.Value);
 }