protected virtual void OnPaymentFailed(PaymentFailedEventArgs e) { EventHandler <PaymentFailedEventArgs> handler = PaymentFailed; if (handler != null) { handler(this, e); } }
protected virtual void OnPaymentFailed(PaymentFailedEventArgs e) { PaymentFailedEventHandler handler = PaymentFailed; if (handler != null) { handler(this, e); } }
private void notify_PaymentFailed(object sender, PaymentFailedEventArgs e) { // 支付失败时的处理代码 }