コード例 #1
0
ファイル: HouseHireAppForm.xaml.cs プロジェクト: jjg0519/OA
 void client_GetHireAppByHouseListIDCompleted(object sender, GetHireAppByHouseListIDCompletedEventArgs e)
 {
     try
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 HouseListInfo = e.Result.ToList()[0];
                 //hireApp.T_OA_HOUSELIST = HouseListInfo.houselistObj;
             }
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         }
     }
     catch (Exception ex)
     {
         RefreshUI(RefreshedTypes.ProgressBar);
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }
コード例 #2
0
ファイル: HouseHireAppForm.xaml.cs プロジェクト: JuRogn/OA
 void client_GetHireAppByHouseListIDCompleted(object sender, GetHireAppByHouseListIDCompletedEventArgs e)
 {
     try
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 HouseListInfo = e.Result.ToList()[0];
                 //hireApp.T_OA_HOUSELIST = HouseListInfo.houselistObj;
             }
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         }
     }
     catch (Exception ex)
     {
         RefreshUI(RefreshedTypes.ProgressBar);
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }