Пример #1
0
        public void Save()
        {
            string        Result = "";
            ComfirmWindow com    = new ComfirmWindow();

            com.OnSelectionBoxClosed += (objects, result) =>
            {
                RefreshUI(RefreshedTypes.ShowProgressBar);
                System.Collections.ObjectModel.ObservableCollection <T_HR_SALARYITEM> lists = new System.Collections.ObjectModel.ObservableCollection <T_HR_SALARYITEM>();
                foreach (var ent in SalaryItemList)
                {
                    lists.Add(ent);
                }
                client.FormulaTemplateAddAsync(lists);
            };
            com.SelectionBox(Utility.GetResourceStr("SALARYITEM"), Utility.GetResourceStr("SALARYITEMDESC"), ComfirmWindow.confirmation, Result);
        }