public void OnPayment() { if (OrderInfo.Payment != null) { OrderInfo.Payment(this, new System.EventArgs()); } }
public static void OnPayment(OrderInfo order) { if (OrderInfo.Payment != null) { OrderInfo.Payment(order, new System.EventArgs()); } }