Exemplo n.º 1
0
 void organClient_GetPostAllCompleted(object sender, GetPostAllCompletedEventArgs e)
 {
     //this.OKButton.IsEnabled = true;
     //if (e.Error == null)
     //{
     //    if (e.Result != null)
     //    {
     //        App.Current.Resources.Add("SYS_PostInfo", e.Result.ToList());
     //        this.OKButton.IsEnabled = true;
     //        //if(IsFinished)
     //    }
     //}
 }
Exemplo n.º 2
0
 void client_GetPostAllCompleted(object sender, GetPostAllCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         if (e.Result != null)
         {
             allPositions = e.Result.ToList();
         }
         UICache.CreateCache("ORGTREESYSPostInfoALL", allPositions);
         BindPosition();
     }
 }
Exemplo n.º 3
0
 void organClient_GetPostAllCompleted(object sender, GetPostAllCompletedEventArgs e)
 {
     //this.OKButton.IsEnabled = true;
     //if (e.Error == null)
     //{
     //    if (e.Result != null)
     //    {
     //        App.Current.Resources.Add("SYS_PostInfo", e.Result.ToList());
     //        this.OKButton.IsEnabled = true;
     //        //if(IsFinished)
     //    }
     //}
 }
Exemplo n.º 4
0
 void client_GetPostAllCompleted(object sender, GetPostAllCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         if (e.Result != null)
         {
             allPositions = e.Result.ToList();
         }
         UICache.CreateCache("ORGTREESYSPostInfoALL", allPositions);
         BindPosition();
     }
 }