Ejemplo n.º 1
0
 /// <summary>
 /// 获取所有模块定义后事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void client_GetKPIPointListByBusinessCodeCompleted(object sender, GetKPIPointListByBusinessCodeCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         this.KPIPointList = e.Result;
         //SetLayout();
         fClient.GetFlowDefineByFlowCodeAsync(((FLOW_MODELFLOWRELATION_T)dtgProject.SelectedItem).FLOW_FLOWDEFINE_T.FLOWCODE);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 获取所有模块定义后事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void client_GetKPIPointListByBusinessCodeCompleted(object sender, GetKPIPointListByBusinessCodeCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); 
     }
     else
     {
         this.KPIPointList = e.Result;
         //SetLayout();
         fClient.GetFlowDefineByFlowCodeAsync(((FLOW_MODELFLOWRELATION_T)dtgProject.SelectedItem).FLOW_FLOWDEFINE_T.FLOWCODE);
     }
 }