示例#1
0
        private void OnCount(ViewCounterEventArgs e)
        {
            EventHandler <ViewCounterEventArgs> handler = Count;

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
 protected void HandleEvent(object src, ViewCounterEventArgs args)
 {
     EventCollection.Add(EventSource.Page, string.Format("Control - Counter: {0}", args.Counter));
 }