${IS6_GetMapStatusEventArgs_Title}
${IS6_GetMapStatusEventArgs_Description}
//获取服务器地图中图层名 private void mapStatusService_ProcessCompleted(object sender, GetMapStatusEventArgs e) { foreach (ServerLayer layer in e.Result.ServerLayers) { layerNames.Add(layer.Name); } }
private void getMapStatusService_ProcessCompleted(object sender, GetMapStatusEventArgs e) { AddLegendItems(e.Result.ServerLayers); }
private void request_Completed(object sender, RequestEventArgs e) { JsonObject jsonObject = (JsonObject)JsonObject.Parse(e.Result); GetMapStatusResult result = GetMapStatusResult.FromJson(jsonObject); LastResult = result; GetMapStatusEventArgs args = new GetMapStatusEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
private void OnProcessCompleted(GetMapStatusEventArgs args) { if (ProcessCompleted != null) { Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args }); } }