Ejemplo n.º 1
0
 void client_DelRepayApplyMasterAndDetailCompleted(object sender, DelRepayApplyMasterAndDetailCompletedEventArgs e)
 {
     if (e.Result == true)
     {
         GetData();
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", ""));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED", ""));
     }
 }
Ejemplo n.º 2
0
 void client_DelRepayApplyMasterAndDetailCompleted(object sender, DelRepayApplyMasterAndDetailCompletedEventArgs e)
 {
     if (e.Result == true)
     {
         GetData();
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", ""));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED", ""));
     }
 }
Ejemplo n.º 3
0
        void client_DelRepayApplyMasterAndDetailCompleted(object sender, DelRepayApplyMasterAndDetailCompletedEventArgs e)
        {
            RefreshUI(RefreshedTypes.HideProgressBar);
            if (e.Result == true)
            {
                //GetData();
                //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", ""));
                // 删除成功
                if (Deleted != null)
                {
                    Deleted(this, null);
                }
                else
                {
                    try
                    {
                        HtmlPage.Window.Invoke("SLCloseCurrentPage");
                    }
                    catch (Exception ex)
                    {

                    }
                }
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED", ""));
            }
        }