Exemple #1
0
        /// <summary>
        /// Handles the BillCreated event of the CommerceCallback control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="BillCreatedEventArgs"/> instance containing the event data.</param>
        private void CommerceCallback_BillCreated(object sender, BillCreatedEventArgs e)
        {
            var handler = this.BillCreated;

            if (handler != null)
            {
                handler.Invoke(this, e);
            }
        }
Exemple #2
0
 /// <summary>
 /// Handles the BillCreated event of the Instance control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="BillCreatedEventArgs"/> instance containing the event data.</param>
 private void Instance_BillCreated(object sender, BillCreatedEventArgs e)
 {
     this.StatusText.text = "BillCreated, code is " + e.Code + ", order Id is:" + e.OrderInfo.OrderId;
 }