Esempio n. 1
0
        private void xfmAllowance_Added(object sender, DIC_ALLOWANCE Item)
        {
            DIC_ALLOWANCE dICALLOWANCE = new DIC_ALLOWANCE();

            dICALLOWANCE.AddRepositoryGridLookupEdit(this.repAllowanceCode);
            dICALLOWANCE.AddRepositoryGridLookupEdit1(this.repAllowanceName);
        }
Esempio n. 2
0
        public void Init(Guid SalaryTableListID, string EmployeeCode)
        {
            this.barManager1.SetPopupContextMenu(this.gcList, this.ppMenu);
            DIC_ALLOWANCE dICALLOWANCE = new DIC_ALLOWANCE();

            dICALLOWANCE.AddRepositoryGridLookupEdit(this.repAllowanceCode);
            dICALLOWANCE.AddRepositoryGridLookupEdit1(this.repAllowanceName);
            this.repAllowanceCode.EditValueChanged  += new EventHandler(this.repAllowanceCode_EditValueChanged);
            this.repAllowanceCode.EditValueChanging += new ChangingEventHandler(this.repAllowanceCode_EditValueChanging);
            this.repAllowanceName.EditValueChanged  += new EventHandler(this.repAllowanceName_EditValueChanged);
            this.repAllowanceName.EditValueChanging += new ChangingEventHandler(this.repAllowanceName_EditValueChanging);
            this.repMoney.EditValueChanging         += new ChangingEventHandler(this.repMoney_EditValueChanging);
            this.repMoney.EditValueChanged          += new EventHandler(this.repMoney_EditValueChanged);
            HRM_SALARY_ALLOWANCE hRMSALARYALLOWANCE = new HRM_SALARY_ALLOWANCE();
            Guid salaryTableListID = SalaryTableListID;
            Guid guid = salaryTableListID;

            this.m_SalaryTableListID = salaryTableListID;
            string employeeCode = EmployeeCode;
            string str          = employeeCode;

            this.m_EmployeeCode    = employeeCode;
            this.gcList.DataSource = hRMSALARYALLOWANCE.GetListByEmployee(guid, str);
        }