${IS6_ShowBusStopEventArgs_Title}

${IS6_ShowBusStopEventArgs_Description}

Inheritance: SuperMap.Web.Service.ServiceEventArgs
コード例 #1
0
        private void request_Completed(object sender, RequestEventArgs e)
        {
            JsonObject jsonArray = (JsonObject)JsonObject.Parse(e.Result);

            ShowBusStopResult result = ShowBusStopResult.FromJson(jsonArray);
            LastResult = result;
            ShowBusStopEventArgs args = new ShowBusStopEventArgs(result, e.Result, e.UserState);
            OnProcessCompleted(args);
        }
コード例 #2
0
 private void OnProcessCompleted(ShowBusStopEventArgs args)
 {
     if (ProcessCompleted != null)
     {
         Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args });
     }
 }