public EmployeeCreate() { _businessHelper = DI.GetService <IBusinessHelper>(); InitializeComponent(); _employeeService = DI.GetService <IEmployeeService>(); EmployeeListFill(); this.Closed += OnClosed; }
public TaskEdit(int taskId) { _businessHelper = DI.GetService <IBusinessHelper>(); _taskId = taskId; InitializeComponent(); _taskService = DI.GetService <ITaskService>(); _employeeService = DI.GetService <IEmployeeService>(); LoadData(taskId); this.Closed += OnClosed; }
public EditProject() { _businessHelper = DI.GetService <IBusinessHelper>(); InitializeComponent(); _projectService = DI.GetService <IProjectService>(); ProjectListFill(_projectService.GetList().Data); TxtSearch.GotFocus += RemoveText; TxtSearch.LostFocus += AddText; this.Closed += OnClosed; }
public EmployeeEdit() { _businessHelper = DI.GetService <IBusinessHelper>(); InitializeComponent(); _employeeService = DI.GetService <IEmployeeService>(); EmployeeListFill(_employeeService.GetList().Data); TxtSearch.GotFocus += RemoveText; TxtSearch.LostFocus += AddText; this.Closed += OnClosed; }
public TaskCreate() { _taskService = DI.GetService <ITaskService>(); _businessHelper = DI.GetService <IBusinessHelper>(); _employeeService = DI.GetService <IEmployeeService>(); InitializeComponent(); createTask = new Entities.Task(); _taskStateNames = TaskStateBaseNames.ToDo; selectedEmployees = new List <Employee>(); LoadData(); this.Closed += OnClosed; estDateTime.Value = _businessHelper.AvgTaskEstimated(Session.CurrentProject.Id); }
static AppHelper() { _businessHelper = DI.GetService <IBusinessHelper>(); }
public CreateProject() { _businessHelper = DI.GetService <IBusinessHelper>(); _projectService = DI.GetService <IProjectService>(); InitializeComponent(); }