Esempio n. 1
0
        public AbsenceRegisterView()
        {
            InitializeComponent();

            absenceControl       = new AbsenceControl();
            employeeControl      = new EmployeeControl();
            justificationControl = new JustificationControl();
            absenceViewControl   = new AbsenceViewControl();

            DataContext = absenceViewControl;

            fillCBEmployee();
            fillCBJustification();
        }
Esempio n. 2
0
        public NewAbsenceModal(Employee employee)
        {
            InitializeComponent();

            DataContext = new AbsenceViewControl();

            absenceControl       = new AbsenceControl();
            employeeControl      = new EmployeeControl();
            justificationControl = new JustificationControl();

            this.employee = employee;

            fillCBEmployee();
            fillCBJustification();
        }