Ejemplo n.º 1
0
 private void client_GetIssuanceHouseInfoListCompleted(object sender, GetIssuanceHouseInfoListCompletedEventArgs e)
 {
     try
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 houseInfoList = e.Result.ToList();
                 //originHouseInfoList = e.Result.ToList();
                 BindData(houseInfoList);
             }
         }
         else
         {
             //HtmlPage.Window.Alert(e.Error.ToString());
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         }
     }
     catch (Exception ex)
     {
         //HtmlPage.Window.Alert(ex.ToString());
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(ex.Message.ToString()));
     }
 }
Ejemplo n.º 2
0
        private void client_GetIssuanceHouseInfoListCompleted(object sender, GetIssuanceHouseInfoListCompletedEventArgs e)
        {
            try
            {
                if (e.Error == null)
                {
                    if (e.Result != null)
                    {
                        houseInfoList = e.Result.ToList();
                        //originHouseInfoList = e.Result.ToList();
                        BindData(houseInfoList);
                    }
                }
                else
                {
                    //HtmlPage.Window.Alert(e.Error.ToString());
                    Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
                }
            }
            catch (Exception ex)
            {
                //HtmlPage.Window.Alert(ex.ToString());
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(ex.Message.ToString()));
            }

        }