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); }
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); }