/// <summary> /// Called when [web service call start delegate]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The e.</param> private void OnWebServiceCallStartDelegate(object sender, OnWebServiceCallStartEventArg e) { if (!string.IsNullOrEmpty(e.Message)) { loadingControl.MessageToShow = e.Message; } }
/// <summary> /// Called when [web service call start]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The e.</param> private void OnWebServiceCallStart(object sender, OnWebServiceCallStartEventArg e) { if (OnWebServiceCallStartDelegate != null) { OnWebServiceCallStartDelegate(sender, e); } }
/// <summary> /// Called when [web service call start delegate]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The e.</param> private void OnWebServiceCallStartDelegate(object sender, OnWebServiceCallStartEventArg e) { if (OnWebServiceCallStart != null) { _reservationWorker.ReportProgress(1, new OnWebServiceCallStartEventArg { Message = e.Message }); } }
private void OnWebServiceCallStartDelegate(object sender, OnWebServiceCallStartEventArg e) { _paymentWorker.ReportProgress(1, e); }