Exemplo n.º 1
0
 //可以定义在外部的事件函数
 public virtual void OnBreak(CallHandlerEventArgs args)
 {
     if (Break != null)
     {
         Break(this, args);
     }
 }
Exemplo n.º 2
0
        void _Break(object sender, CallHandlerEventArgs e)
        {
            IHandler handler = e.Handler;

            //为第二个调用做修改

            currentType = PurchaseType.Mail;
        }
Exemplo n.º 3
0
        void _Break(object sender, CallHandlerEventArgs e)
        {
            IHandler handler = e.Handler;

            //为第二个调用做修改

            currentType = PurchaseType.Mail;
        }
Exemplo n.º 4
0
 //可以定义在外部的事件函数
 public virtual void OnBreak(CallHandlerEventArgs args)
 {
     if (Break != null)
         Break(this, args);
 }