${iServer6_SetLayerStatusEventArgs_Title}
${iServer6_SetLayerStatusEventArgs_Description}
private void setLayersStatus_ProcessCompleted(object sender , SetLayerEventArgs e) { if (e.Result.IsSucceed) { tempLayerID = e.Result.NewResourceID; layer.LayersID = e.Result.NewResourceID; layer.Refresh(); } }
private void OnProcessCompleted(SetLayerEventArgs args) { if (ProcessCompleted != null) { ProcessCompleted(this, args); } }
private void SetLayerStatusRequest_Complated(object sender, RequestEventArgs e) { if (e.Result != null) { SetLayerResult result = SetLayerResult.FromJson(e.Result); result.NewResourceID = resourceID.ToString(); lastResult = result; SetLayerEventArgs args = new SetLayerEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); } }
void setLayerStyleService_ProcessCompleted(object sender, SetLayerEventArgs e) { themeLayer.LayersID = e.Result.NewResourceID; }