Ejemplo n.º 1
0
        private void SelectEp(CardFillRecord selectedCFR)
        {
            EmployeeSelectDialog dlg = new EmployeeSelectDialog();

            if (dlg.ShowDialog())
            {
                selectedCFR.Employee = dlg.SelectedEp;
            }
        }
Ejemplo n.º 2
0
        private void SelectEp()
        {
            var dlg = new EmployeeSelectDialog();

            if (dlg.ShowDialog())
            {
                SelectedCoupleEp = 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();
        }
Ejemplo n.º 6
0
        private void ShowEpSelectDialog()
        {
            if (SelectedPlan == null)
            {
                return;
            }
            EmployeeSelectDialog dlg = new EmployeeSelectDialog();

            if (dlg.ShowDialog())
            {
                SelectedPlan.Employee = dlg.SelectedEp;
            }
        }
Ejemplo n.º 7
0
        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();
            }
        }
Ejemplo n.º 8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.w = ((HRManagerClient.EmployeeSelectDialog)(target));
     return;
     case 2:
     
     #line 67 "..\..\..\..\..\Content\EmployeeManagement\BaseInfoManagement\EmployeeSelectDialog.xaml"
     ((System.Windows.Controls.ListView)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }