private void SelectEp() { var dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { SelectedCoupleEp = dlg.SelectedEp; } }
private void SelectEp(CardFillRecord selectedCFR) { EmployeeSelectDialog dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { selectedCFR.Employee = dlg.SelectedEp; } }
private void ShowEmployeeSelectDialog(Dormitory selectedRow) { EmployeeSelectDialog dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { selectedRow.Employee = dlg.SelectedEp; } }
private void SelectEp() { EmployeeSelectDialog dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { FilterEpName = dlg.SelectedEp.EmployeeBaseInfo.EmployName; FilterEpNo = dlg.SelectedEp.EmployeeNO; } }
private void AddEmployee() { EmployeeSelectDialog dlg = new EmployeeSelectDialog(true); dlg.AddTriggered += ep => { if (!SelectedEmployees.Contains(ep)) { SelectedEmployees.Add(ep); } }; dlg.ShowDialog(); }
private void ShowEpSelectDialog() { if (SelectedPlan == null) { return; } EmployeeSelectDialog dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { SelectedPlan.Employee = dlg.SelectedEp; } }
private void SelectEp() { EmployeeSelectDialog dlg = new EmployeeSelectDialog(); if (dlg.ShowDialog()) { Model = new EmployeePostAdjust(); Model.Employee = dlg.SelectedEp; Model.PrevDepartment = dlg.SelectedEp.Department; Model.PrevOperatingPost = dlg.SelectedEp.OperatingPost; Model.RankStatus = RankStatusEnum.Even; Model.AdjustDateTime = DateTime.Now.ToShortDateString(); } }