${iServer6_SetLayerStatusEventArgs_Title}

${iServer6_SetLayerStatusEventArgs_Description}

Inheritance: SuperMap.Web.Service.ServiceEventArgs
コード例 #1
0
        private void setLayersStatus_ProcessCompleted(object sender , SetLayerEventArgs e)
        {
            if (e.Result.IsSucceed)
            {
                tempLayerID = e.Result.NewResourceID;
                layer.LayersID = e.Result.NewResourceID;
                layer.Refresh();

            }
        }
コード例 #2
0
 private void OnProcessCompleted(SetLayerEventArgs args)
 {
     if (ProcessCompleted != null)
     {
         ProcessCompleted(this, args);
     }
 }
コード例 #3
0
 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);
     }
 }
コード例 #4
0
 void setLayerStyleService_ProcessCompleted(object sender, SetLayerEventArgs e)
 {
     themeLayer.LayersID = e.Result.NewResourceID;
 }