void client_GetSalarySolutionAssignViewByIDCompleted(object sender, GetSalarySolutionAssignViewByIDCompletedEventArgs e)
        {
            if (e.Error != null && !string.IsNullOrEmpty(e.Error.Message))
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
            }
            else
            {
                if (e.Result == null)
                {
                    ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTFOUND"),
                                                   Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
                    //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTFOUND"));
                    return;
                }
                SalarySolutionAssignView = e.Result;
                this.DataContext         = SalarySolutionAssignView.SalarySolutionAssign;
                //  salaryStander = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSTANDARD;
                archive.SALARYSOLUTIONID    = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSOLUTION.SALARYSOLUTIONID;
                archive.SALARYSOLUTIONNAME  = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSOLUTION.SALARYSOLUTIONNAME;
                cbxObjectType.SelectedIndex = SalarySolutionAssignView.SalarySolutionAssign.ASSIGNEDOBJECTTYPE != null?SalarySolutionAssignView.SalarySolutionAssign.ASSIGNEDOBJECTTYPE.ToInt32() : -1;

                BindAssignObjectLookup();
            }
        }
        void client_GetSalarySolutionAssignViewByIDCompleted(object sender, GetSalarySolutionAssignViewByIDCompletedEventArgs e)
        {
            if (e.Error != null && !string.IsNullOrEmpty(e.Error.Message))
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"),Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
            }
            else
            {
                if (e.Result == null)
                {
                    ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTFOUND"),
Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
                    //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTFOUND"));
                    return;
                }
                SalarySolutionAssignView = e.Result;
                this.DataContext = SalarySolutionAssignView.SalarySolutionAssign;
                //  salaryStander = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSTANDARD;
                archive.SALARYSOLUTIONID = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSOLUTION.SALARYSOLUTIONID;
                archive.SALARYSOLUTIONNAME = SalarySolutionAssignView.SalarySolutionAssign.T_HR_SALARYSOLUTION.SALARYSOLUTIONNAME;
                cbxObjectType.SelectedIndex =SalarySolutionAssignView.SalarySolutionAssign.ASSIGNEDOBJECTTYPE!=null?SalarySolutionAssignView.SalarySolutionAssign.ASSIGNEDOBJECTTYPE.ToInt32():-1;
                BindAssignObjectLookup();
               
            }
        }