Пример #1
0
        public void OpenRouteListChangeGiveoutExpenceDlg(ITdiTab master, int employeeId, decimal balance, string description)
        {
            var dlg = new CashExpenseDlg();

            if (dlg.FailInitialize)
            {
                return;
            }

            dlg.ConfigureForRouteListChangeGiveout(employeeId, balance, description);
            master.TabParent.AddTab(dlg, master);
        }
Пример #2
0
        public void OpenCashExpenseDlg(ITdiTab master, int employeeId, decimal balance, bool canChangeEmployee, ExpenseType expenseType)
        {
            var dlg = new CashExpenseDlg();

            if (dlg.FailInitialize)
            {
                return;
            }

            dlg.ConfigureForSalaryGiveout(employeeId, balance, canChangeEmployee, expenseType);
            master.TabParent.AddTab(dlg, master);
        }