コード例 #1
0
        /// <summary>
        /// Method called on Async complete
        /// </summary>
        /// <param name="statusCode"></param>
        /// <param name="jobs"></param>
        /// <remarks></remarks>
        private void OnJobComplete(HttpStatusCode statusCode, PagedCollection <Job> jobs)
        {
            //Invoke the SetDataSource method on the UI thread
            var d = new SetJobsCallback(SetJobDataSource);

            Invoke(d, new object[] { jobs });
        }
コード例 #2
0
 /// <summary>
 /// Method called on Async complete
 /// </summary>
 /// <param name="statusCode"></param>
 /// <param name="jobs"></param>
 /// <remarks></remarks>
 private void OnJobComplete(HttpStatusCode statusCode, PagedCollection<Job> jobs)
 {
     //Invoke the SetDataSource method on the UI thread
     var d = new SetJobsCallback(SetJobDataSource);
     Invoke(d, new object[] {jobs});
 }