Exemplo n.º 1
0
        void clientSalary_CheckSalaryAuditStateCompleted(object sender, CheckSalaryAuditStateCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                if (!string.IsNullOrWhiteSpace(e.strMsg))
                {
                    ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), e.strMsg, Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
                    return;
                }

                if (strDelIDs.Count > 0)
                {
                    client.PensionDetailDeleteAsync(strDelIDs);
                }
            }
            else
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
            }
        }
Exemplo n.º 2
0
        void clientSalary_CheckSalaryAuditStateCompleted(object sender, CheckSalaryAuditStateCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                if (!string.IsNullOrWhiteSpace(e.strMsg))
                {
                    ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), e.strMsg, Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
                    return;
                }

                if (strDelIDs.Count > 0)
                {
                    client.PensionDetailDeleteAsync(strDelIDs);
                }
            }
            else
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
            }
        }