${iServer2_Theme_RemoveThemesEventArgs_Title}

${iServer2_Theme_RemoveThemesEventArgs_Description}

Inheritance: SuperMap.Web.Service.ServiceEventArgs
        private void request_Completed(object sender, RequestEventArgs e)
        {
            JsonPrimitive jsonPrimitive = (JsonPrimitive)JsonObject.Parse(e.Result);
            RemoveThemesResult result = RemoveThemesResult.FromJson(jsonPrimitive);

            LastResult = result;
            RemoveThemesEventArgs args = new RemoveThemesEventArgs(result, e.Result, e.UserState);
            OnProcessCompleted(args);
        }
 //移除成功则获取服务器返回的新的key值,从而专题图图层状态变为空专题图,即只有底图
 private void removeService_ProcessCompleted(object sender, RemoveThemesEventArgs e)
 {
     themeLayer.LayersKey = e.Result.LayerKey;
 }
 private void OnProcessCompleted(RemoveThemesEventArgs args)
 {
     if (ProcessCompleted != null)
     {
         Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args });
     }
 }